<steveeJ>
Sonarpulse: great! I'll follow the PR. it would also be great if we could improve the situation with static libraries for cross toolchains and mixed environments ([ cross native ] x [ static dynamic ])
<pikajude>
sometimes i wonder why i use HEAD versions of software
<remexre>
I'm getting an error when running `nix-channel --update' after reinstalling Nix on Ubuntu
<remexre>
error: creating a garbage collector root (/export/scratch/ringo025/nix/var/nix/profiles/per-user/ringo025/channels-1-link) in the Nix store is forbidden (are you running nix-build inside the store?)
<remexre>
cannot unpack the channels at /home/ugrad00/ringo025/.local/bin/nix-channel line 172.
spietz has joined #nixos
toppler` has joined #nixos
markus1189 has joined #nixos
toppler has quit [(Ping timeout: 248 seconds)]
markus1199 has quit [(Ping timeout: 255 seconds)]
pikajude` has joined #nixos
<pikajude`>
so why exactly does nix say "error: setting uid: Operation not permitted" when trying to build anything
<pikajude`>
how has this somehow gotten worse
<danbst[m]>
pikajude`: probably pronlems with nix daemon?
pikajude` has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 255 seconds)]
<dhess>
stupid question time: is <nixpkgs> (or anything of the form <nixpkgs/pkgs/...>) always impure? i.e. does it always look for NIX_PATH ?
thc202 has quit [(Ping timeout: 268 seconds)]
<dhess>
or does it just reference a path relative to however you've defined "nixpkgs" ?
spietz has quit [(Ping timeout: 248 seconds)]
spietz has joined #nixos
zetok has quit [(Ping timeout: 264 seconds)]
hamishmack has joined #nixos
zetok has joined #nixos
<disasm>
can device for boot.loader.grub be a UUID?
<gchristensen>
IIRC yeah
<gchristensen>
if not directly you could maybe use like /dev/disk/by-uuid/2D03-B634
<disasm>
gchristensen: I forgot to change the name router when I first copied your nixops config and after changing it now it always says resource ‘router’ is obsolete :) any idea how to tell nixops to just drop router?
<gchristensen>
disasm: one of the options is like --delete or something
<gchristensen>
disasm: I usually use NIX_PATH, and I usually set it in the NIX_SHELL
<gchristensen>
... nix-shell :)
<gchristensen>
... dhess ^
<dhess>
gchristensen: it appears that you *need* to have NIX_PATH set to get NixOps to work... if I don't I'm getting an error from NixOps in eval-machine-info.nix. Is that correct?
<dhess>
ergh, looks like it's not really possible to set nixpkgs from the network definition level in NixOps yet. Maybe I'll just stick with my nixpkgs git submodule :(
Acou_Bass has quit [(Ping timeout: 248 seconds)]
<dhess>
These NixOps top-level/machine configuration files really confuse me
<dhess>
but I'm confused by that comment. How is it relevant to the pinning issue?
<dhess>
Only that it allows the NixOps derivation itself to be built from a pinned Nixpkgs?
<dhess>
oh I guess so. Appears to have been in response to domenkozar's example about building NixOps specifically, not using pinned Nixpkgs with NixOps at deployment time.
* dhess
cries
<gchristensen>
:(
Arcaelyx has joined #nixos
ryantrinkle has joined #nixos
<ryantrinkle>
how can I diagnose why something would be impossible to delete with nix-store --delete, while nix-store -q --roots returns nothing?
<ryantrinkle>
i tried nix-store --option gc-keep-derivations false --option gc-keep-outputs false --delete, but that also didn't help
hamishmack has joined #nixos
<gchristensen>
ryantrinkle: something in /proc might be referring to it
<ryantrinkle>
gchristensen: huh, any idea how i can check for that?
<ryantrinkle>
fwiw, i do get the error message "cannot delete path ... since it is still alive"
<gchristensen>
cat /proc/*/{pwd,cwd,environ} | grep yourthing ... there are others but I'm not sure grep is useful there
<dhess>
"Have you tried turning it off and on again?"
<ryantrinkle>
there's a ton of stuff in there, so i don't quite know how i could track it back to figure out which one is actually a root of this particular thing
<ryantrinkle>
dhess: ?
<dhess>
ryantrinkle: sorry, it's an IT Crowd reference.
<ryantrinkle>
haha
<dhess>
however in this case possibly actually useful, if infact it is something in /proc that's holding on to it.
<ryantrinkle>
haha yeah, that's a fair point
<ryantrinkle>
though i must say, i'll probably give up rather than rebooting :P
<dhess>
and how funny would it be if it actually worked? :D
<ryantrinkle>
it might!
<ryantrinkle>
but we'll never know
<ryantrinkle>
lol
<gchristensen>
ryantrinkle: is it really important you actually get it gone?
<ryantrinkle>
nah
<ryantrinkle>
but i've hit this *many* times
<gchristensen>
also, I think it is so cool nix is smart enough to check running processes
ennui has quit [(Ping timeout: 268 seconds)]
<ryantrinkle>
in fact, i'm not sure i've ever successfully used nix-store --delete
<ryantrinkle>
yes, it is definitely awesome
<gchristensen>
I don't think I've ever used nix-store --delete :)
<ryantrinkle>
well, the only time i ever use it is when i suspect something is impure and i'm trying to debug it
<ryantrinkle>
yup, sure enough "got additional root" ... that thing that's keeping the other alive
<fearlessKim[m]>
How can I get nixops to use my overlay ? or is that a bad idea and I should use some import stuff
<dhess>
how *does* nix-collect-garbage find random roots in the filesystem, anyway?
<dhess>
fearlessKim[m]: I got that working recently. Hold on
python476 has quit [(Ping timeout: 255 seconds)]
<gchristensen>
every root gets a symlink in /nix/var/nix/gcroots/, which it checks dhess
<dhess>
gchristensen: ahh ok, that makes sense, since everything goes through nix-build or whatever eventually
axel_parolta has joined #nixos
<gchristensen>
yeah
MP2E has joined #nixos
<dhess>
fearlessKim[m]: ok in my case it's a little bit configuration-specific, but the concept is basically portable.
<fearlessKim[m]>
dhess: I am all ears, or rather eyes
<dhess>
fearlessKim[m]: in a nutshell, if you just define "nixpkgs.overlays = [ (import ./overlays/this.nix) (import ./overlays/that.nix) ]" and make sure that's visible in the machine definition, it will work just like it does in your local environment.
filterfish has joined #nixos
<dhess>
I use a function/macro to define all of my machines at the network level, so I only need to use that in one place and then all the machines see the overlays automatically.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFycN
<fearlessKim[m]>
dhess: do you add this to your machine.nix ?
<dhess>
fearlessKim[m]: yes, like I said, I have a function called "mkMachine" and one of the things it does is define nixpkgs.overlays
<dhess>
and then it just imports all of the Nix files in my overlays/ subdirectory
<fearlessKim[m]>
ok thanks
<dhess>
I should automate that so that it sees them automatically and I don't have to remember to import them myself.
<dhess>
overlays are *so nice*
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<axel_parolta>
Does anyone have expecience with nvidia propriatary driver? My graphic card has issue with the nouveau driver (video glitches), so I installed the nvidia proprietary driver. Since then I have an issue with the size of the icons and the menus.. It look like the size of the screen is not detected or something like that. Anyone has an idea on how to fix that issue?
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
<MP2E>
hmm that's odd. Have you tried running nvidia-settings and changing the resolution from that program?
<MP2E>
using the proprietary driver, in this case
<axel_parolta>
MP2E: I tried, but to be honest, I didn't know where to put to generated configuration file
<MP2E>
ah right..
hamishmack has quit [(Quit: hamishmack)]
acarrico has quit [(Ping timeout: 255 seconds)]
<axel_parolta>
MP2E: I might be wrong, but my understanding is that I should save the configuration file somewhere at tell my nix configuration to somehow override the other configuration. That's the part I have no clue how to do. I am still new to nixos and there are still some little things like that one that I'm clueless about
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFyC0
<MP2E>
axel_parolta: yep exactly, actually I am currently using grep/my text editor to find the option! This may be listed in the manual too, not sure
<MP2E>
but i've got a copy of nixpkgs on hand anyway
<axel_parolta>
MP2E: thanks :D
<MP2E>
so it looks like that would be "services.xserver.config" and you'd want to set that in your /etc/nixos/configuration.nix (system-level configuration file)
<MP2E>
services.xserver.config = ''
<MP2E>
*contents of X11 file go here*
<MP2E>
'';
<MP2E>
would look like that ^
<axel_parolta>
MP2E: Let me try that really quick. I hope this will work. With the nouveau driver the sublime text editor lag when I scroll down :P
<MP2E>
after that you'll have to run 'sudo nixos-rebuild switch' and also restart your graphical environment, or just reboot
<MP2E>
hopefully should do the trick, if it's just a matter of incorrect defaults being detected
hellrazor has joined #nixos
hamishmack has joined #nixos
axel_parolta has quit [(Remote host closed the connection)]
axel_parolta has joined #nixos
aaronc[m] has joined #nixos
axel_parolta has quit [(Remote host closed the connection)]
axel_parolta has joined #nixos
<axel_parolta>
MP2E: Didn't worked :(
<axel_parolta>
So I first copied the whole generated file, then xfce wasn't able to start because it couldn't find xinit
<axel_parolta>
So I removed some part of the config to only keep the part related to the display
<MP2E>
hmm :< not sure then..
<axel_parolta>
It's clearly the size of the display that is not properly detected. In the xfce display menu its detected as a 7inches display :S
<axel_parolta>
I'm using a 32inches display..
myrl has joined #nixos
<myrl>
How do I find the /nix/store path of a <nixpkgs> pkg?
<myrl>
`nix-env -q` doesn't seem to output anything
<copumpkin>
nix-build '<nixpkgs>' -A package-attr-path
<myrl>
copumpkin: That makes a result symlink in the PWD though, right?
<copumpkin>
pass in --no-out-link
<myrl>
copumpkin: Thanks.
<copumpkin>
np :)
axel_parolta has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFyWr
<NixOS_GitHub>
[nixpkgs] jeaye opened pull request #31763: RFC: Harden ssh config defaults and remove old host key support (master...harden-ssh-config) https://git.io/vFy8N
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFyR4
<NixOS_GitHub>
nixpkgs/staging d99a2fc Orivej Desh: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
srdqty has joined #nixos
RayNbow`TU has joined #nixos
srdqty has quit [(Client Quit)]
romanandreg has joined #nixos
<romanandreg>
is there a way to read the documentation from a packagePath
<romanandreg>
?
aw has quit [(Remote host closed the connection)]
spacefrogg has quit [(Remote host closed the connection)]
<romanandreg>
say, I want to read the documentation for the package `writeScriptBin`
<romanandreg>
is there a way to get the whole source on my shell? (without having to go to github to read the source code?
aw has joined #nixos
aw has quit [(Remote host closed the connection)]
srdqty has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
p4cman has joined #nixos
fusion809 has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
<fusion809>
Hi folks in a NixOS 17.09 VM I ran: sudo nix-channel --update && sudo nix-env --upgrade and I got the error: `error: syntax error, unexpected $end, at /nix/store/hjag2invv11g2fhqv1hyzlvx2j0f17z5-env-manifest.nix:1:1`. Is that to be expected (like a known bug). A DuckDuckGo search for that exact string returns no results so I guess not
srdqty has quit [(Quit: WeeChat 1.9.1)]
slack1256 has quit [(Remote host closed the connection)]
<romanandreg>
where can I find the docunmentation for writeScript, is not even trivial to find it out on the nixos/nixpkgs repo
<orivej>
romanandreg: currently this is not possible for functions, but it is possible for derivations: you may install nixUnstable and try "nix edit nixpkgs.hello"
<orivej>
fusion809: I have not seen this
<romanandreg>
orivej: awesome, thanks for letting me know... do you know where I can find info of writeScript and how to use it?
<romanandreg>
the write* family of functions actually
<orivej>
download nixpkgs and grep for "writeScript ="
<orivej>
...to see the definition, and grep for "writeScript" to see the examples :)
<romanandreg>
orijev: thanks, I'll take a look
spietz has quit [(Ping timeout: 268 seconds)]
rogue_koder has quit [(Quit: Konversation terminated!)]
<hyper_ch>
last time I used audacity it worked fine
endformationage has quit [(Quit: WeeChat 1.9.1)]
leat has quit [(Quit: WeeChat 1.9.1)]
stanibanani has joined #nixos
ylwghst has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis opened pull request #31765: czmq: Fix build with gcc-7 (master...czmq-gcc7) https://git.io/vFyzc
NixOS_GitHub has left #nixos []
fusion809 has quit [(Remote host closed the connection)]
ma27 has joined #nixos
bennofs has joined #nixos
universalpackage has joined #nixos
<universalpackage>
i think my connection is stable now
stanibanani has quit [(Ping timeout: 240 seconds)]
ma27 has quit [(Ping timeout: 240 seconds)]
adamt has joined #nixos
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej opened pull request #31766: doc: improve rustPlatform example (master...rust-doc) https://git.io/vFygD
NixOS_GitHub has left #nixos []
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
ambro718 has joined #nixos
root____1 has joined #nixos
<root____1>
Hi, my configuration.nix and hardware-configuration.nix files do not contain networking.networkmanager yet I get an error when I try to install my system with nixos-install. It says use --show-trace to trace it, I added that option and it still gives the same output saying that I should use --show-trace to show where the problem line is.
<clever>
root____1: what is the error?
<root____1>
One mo I'm installing wgetpaste so I can paste it
<adamt>
(you have to set services.networkmanager.enable = true to get it to do that)
<clever>
adamt: yeah, kde works differently, it will detect if NM is on, and auto-install plasma-nm
<adamt>
I was considering making a PR for adding a comment about network-manager in the generated configuration.nix file, since it's kinda weird that it mentions wpa_supplicant today, but not NM. Thoughts?
ssmike has joined #nixos
asuryawanshi has joined #nixos
civodul has joined #nixos
remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
universalpackage has quit [(Remote host closed the connection)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
root____1 has quit [(Ping timeout: 258 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
asuryawanshi has joined #nixos
v0lZy has joined #nixos
<v0lZy>
hi
universalpackage has quit [(Quit: Konversation terminated!)]
universalpackage has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
asuryawa_ has joined #nixos
v0lZy1 has joined #nixos
v0lZy has quit [(Ping timeout: 248 seconds)]
v0lZy1 is now known as v0lZy
datakurre has quit [(Remote host closed the connection)]
datakurre has joined #nixos
<v0lZy>
Very new to nixos... installed it a month ago into a VM and left it that way... now getting back to it and trying to install asterisk
p4cman has joined #nixos
asuryawa_ has quit [(Remote host closed the connection)]
<v0lZy>
i added asterisk to environment.systemPackages and i got it installed
<v0lZy>
but im assuming this doesnt add any users or such?
asuryawanshi has joined #nixos
<fearlessKim[m]>
it s frustrating that fetchgitLocal doesn 't work.
<adisbladis>
v0lZy: You probably want to look at the asterisk module
<fearlessKim[m]>
adamt_: this might be a good idea, along with a sentence how to configure wifi via wpz_supplicant; I installed on a laptop with just wifi, had not enabled network manager so on reboot I had neither wpa or nm and that could have been annoying
<v0lZy>
adisbladis: where does one get this module? does it come after the package is installed, must i install it manually or create the file myself?
<adisbladis>
v0lZy: Adding something to systemPackages only sets up some environment things, it doesnt make it run on startup, does not create users etc etc
remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<v0lZy>
adisbladis: yeah, i imagine thats what it does. users i assume i have to add myself, and enable the system is also something i have to do myself... i was thinking that i have to write systemd unit files for it etc... but i guess thats handled by modules?
sibi_ has joined #nixos
periklis has joined #nixos
<MoreTea>
Did anyone see the announcement of buildkit?
<v0lZy>
adisbladis: i see this is in my /nix/store/..../nixos/nixos/modules/services/networking/asterisk.nix file
<v0lZy>
so I guess it comes when i install the pacakge
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
goibhniu has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
<v0lZy>
but if i do cat /etc/passwd i dont see an asterisk user ...
universalpackage has joined #nixos
<v0lZy>
I'm assuming i have to include this asterisk.nix module into my configuration.nix?
<v0lZy>
and then run nixos-rebuild switch?
<v0lZy>
i added services.asterisk.enable = true; to configuration.nix and did nixos-rebuild switch and indeed it now created the user
<v0lZy>
and i can start the service
Cheng has joined #nixos
<MoreTea>
v0lZy: one thing you should realize is that for NixOS, your entire system configuration is just one "package"
<MoreTea>
That's why we can atomically switch between versions of NixOS. We switch _one_ symlink (which is atomic), and everything is updated.
<MoreTea>
(it's /run/current-system)
universalpackage has quit [(Remote host closed the connection)]
<MoreTea>
If you change the system configuration, it will build your entire OS again from source, but will use (remote) caches when possible.
<MoreTea>
So if you edit the /etc/nixos/configuration.nix, nothing will happen, until you run nixos-rebuild, which will trigger a new build of your machine, and also switch, update your bootloader, etc.
<MoreTea>
v0lZy: does that make sense?
MP2E has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<Cheng>
How can I get fetchgitLocal working? It keeps failing at "cd ${srcStr}", reporting no such file or directory
thc202 has joined #nixos
katyucha has joined #nixos
<fearlessKim[m]>
Cheng: fetchgitLocal doesn't work, it doesn't have permissions to access your folder
hellrazor has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
<Cheng>
fearlessKim[m]: How can I get the permissions for it then? I tried disabling nix sandbox, but got no luck
<Cheng>
Or does it just won't work for any case?
<fearlessKim[m]>
Cheng: It's brokenm I don't think you should use it. I might have a fix though using GIT_DIR so I can try a PR
periklis has quit [(Ping timeout: 240 seconds)]
<Cheng>
fearlessKim[m]: Well, thanks. I see there's a related open issue. Your PR could be helpful :)
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
katyucha has quit [(Ping timeout: 248 seconds)]
<joko>
Good morning, all! I've built a nixos channel, but it appears not to be working... When doing nix-channel --update, 1) the URL appears to have double quotes, e.g. "http://blabla/channel//nixexprs.tar.xz" and 2) I get "error: undefined variable ‘white’ at (string):3:18" "cannot unpack the channels at /run/current-system/sw/bin/nix-channel line 172."
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
zzamboni has joined #nixos
davidak has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
whald has quit [(Remote host closed the connection)]
jfroche has joined #nixos
Arcaelyx has quit [(Ping timeout: 250 seconds)]
<jfroche>
Hello, I am trying to understand the channels update mechanism/workflow (not the release process) and the links with ci/hydra. Anyone knows where to find such information ?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<universalpackage>
how do i compile patchelf for -m32
<clever>
universalpackage: nix-build '<nixpkgs>' -A patchelf --argstr system i686-linux
Arcaelyx has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<universalpackage>
why doesnt patchelf work when compiled?
<universalpackage>
stat: No such file or directory
ssmike has quit [(Ping timeout: 248 seconds)]
mekeor has joined #nixos
<Cheng>
universalpackage: /bin/bash doesn't exist. Maybe you mean /bin/sh ?
Tucky has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
Tucky has quit [(Client Quit)]
universalpackage has joined #nixos
Tucky has joined #nixos
<joko>
jfroche: unfortunately, it's largely undocumented, so shot a more specific question and I might know the answer
<joko>
or someone else here
<srhb>
If I bond two network devices as bond0 and set up ip4 for network.interfaces.bond0, the device doesn't come up on its own. It seems like I have to up the individually bonded devices. How do I configure that without giving the individual devices ips?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<universalpackage>
how do i compile patchelf0.9/tests
<universalpackage>
tests]$ make
<universalpackage>
make: Nothing to be done for 'all'.
<universalpackage>
yet no binary executables exist in tests
mandrews has joined #nixos
<jfroche>
joko: when do we refer https://nixos.org/channels/nixos-unstable to a new nixos revision in unstable branch ? which tests needs to be green for that to happen ?
<universalpackage>
tests]$ ./plain-run.sh
<universalpackage>
./plain-run.sh: line 2: ./main: No such file or directory
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vFyMa
<NixOS_GitHub>
nixpkgs/master 9e44d34 Peter Hoeg: tvheadend: 4.2.1 -> 4.2.4
NixOS_GitHub has left #nixos []
<Cheng>
universalpackage: "make test" in directory "patchelf0.9"?
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
marusich has quit [(Quit: Leaving)]
mandrews has quit [(Ping timeout: 260 seconds)]
<ocharles>
What is the policy for adding things to the current release branch?
fusion809 has joined #nixos
<ocharles>
The prometheus NixOS module lacks an option I need
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ocharles pushed 2 new commits to master: https://git.io/vFyyE
<NixOS_GitHub>
nixpkgs/master f0334c0 Oliver Charles: nixos/prometheus: add scrape_configs.honor_labels
<NixOS_GitHub>
nixpkgs/master acb7f43 Oliver Charles: nixos/prometheus: add external_labels option
NixOS_GitHub has left #nixos []
<ocharles>
In particular, it's the honor_labels commit that I'd like to cherry-pick into release-17.09 ^
Phlogistique has quit [(Ping timeout: 240 seconds)]
<LnL>
almost none of that looks like it belongs in nixpkgs, what are you referring to exaclty?
mahalel_ has quit [(Ping timeout: 250 seconds)]
mahalel_ has joined #nixos
<universalpackage>
does anyone have a pre-compiled version of patchelf
<universalpackage>
that would work on non-NixOS unix systems
<gspia>
Hi! haskellPackages.gi-gdkx11 doesn't install with nix-env cmd on unstable. It starts compiling but cannot find a GI repo. Are there dependencies that have to be installed separately / anything else to make it to find GI repo?
<universalpackage>
this is correct right?
<universalpackage>
if (!printInterpreter && !printRPath && !printSoname && !printNeeded)
<fusion809>
Hi, how does one get GRUB2 to install to disk as x86_64-efi? I have this config (/etc/nixos/configuration.nix) file -- https://pastebin.com/0ekAQmvf. I've tried to enable all the EFI options for boot as I can. What am I missing as whenever I try to install GRUB uses i386-pc target
<fusion809>
I had my EFI partition mounted to /boot/efi on my root partition for NixOS. So /mnt/boot/efi where the root partition is mounted on /dev/sda4 in the NixOS live session.
<Drakonis[m]>
uh
<Drakonis[m]>
oh its you, i have seen your blog
<joko>
fusion809: I think you have to delete "boot.loader.efi.efiSysMountPoint" and set boot.loader.grub.device to "nodev"
<Drakonis[m]>
it installs as x86_64-efi by default
<Drakonis[m]>
i just followed the guide when i installed
<Drakonis[m]>
it didn't throw any curveballs
<steveeJ>
is there something like 'self' in a dictionary when I need 'rec' functionality but want to avoid ambiguities?
<fusion809>
joko: thanks. The i386-pc install that the nixos-install does fails as I don't have a BIOS boot partition, which with a EFI set up you don't use.
<joko>
fusion809: ah, no, it's not fine i386-pc is for BIOS-based
<fusion809>
Ya. So how do I fix that? nixos-install is doing that, not me.
<Drakonis[m]>
you're using the wrong thing
<Drakonis[m]>
apparently you don't use grub
<joko>
fusion809: are you also setting boot.loader.efi.canTouchEfiVariables to true?
<Drakonis[m]>
you use systemd's boot system
<Drakonis[m]>
Instead of boot.loader.grub.device, you must set boot.loader.systemd-boot.enable to true. nixos-generate-config should do this automatically for new configurations when booted in UEFI mode.
<fusion809>
Doesn't seem to be in my config file
<Drakonis[m]>
it doesn't produce an flashy grub config
<Drakonis[m]>
but it works
<fusion809>
GRUB2 works fine with EFI for my Arch and Gentoo systems. I prefer GRUB2 if my preferences count for anything
<Drakonis[m]>
hoo boy, arch and gentoo
<steveeJ>
I can just use the name of the dictionary within the dictionary, that works too, but something more nameless would still be nice
<joko>
To be fair, I also use systemd-boot, but I don't dual boot, NixOS for lifeeeee
<fusion809>
So can I skip the whole nixos-install package installs somehow and get straight to the bootloader set up? I know I could run grub-install manually but whenever I do that from a chroot into NixOS it fails
<fusion809>
by "installs" I mean how it installs all those packages. Those packages are already installed for me
<Drakonis[m]>
no you can't
<Drakonis[m]>
or do nixos-rebuild
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFyQI
<NixOS_GitHub>
nixpkgs/master 898090f Bruno Bieth: i3status-rust: init at 0.9.0.2017-11-09
<joko>
fusion809: perhaps the closest you could get to installing the bootloader again in nixos would be nixos-rebuild switch --install-bootloader inside the chroot
<Drakonis[m]>
he already rebooted
<joko>
lol
<Drakonis[m]>
rude awakening i tell you
Wizek has joined #nixos
<jfroche>
joko: thank you !
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<pstn>
@tgunb I checked and it's pretty bitrotten, but I can work on it again and bring it into the tree if you like.
<ocharles>
urgh, you have got to be kidding me
<ocharles>
I broke the build because an options description contains a <
<ocharles>
how are we not escaping that!?
fusion809 has joined #nixos
<v0lZy>
adisbladis: what are the NIXOS best practices for something like asterisk where you have a dialplan etc
<v0lZy>
is the idea to like echo stuff verbatim into asterisk files or?
universalpackage has quit [(Remote host closed the connection)]
<ocharles>
bleugh, I see - sometimes you actually want to put <literal> in there
universalpackage has joined #nixos
kier has quit [(Ping timeout: 248 seconds)]
Phlogistique has joined #nixos
<adisbladis>
v0lZy: Sorry cant rembember much about asterisk. Haven
<adisbladis>
Havent touched it for a long long time
<Drakonis[m]>
so, someone let me know the benefits of typing nix
<v0lZy>
maybe im not phrasing my question well
<v0lZy>
adisbladis: asterisk has a thing called a dialplan; a dialplan is basically a script
<Drakonis[m]>
since it is used only as a packaging language
<v0lZy>
adisbladis: its a ruleset that one writes, and as you add clients and accommodate their requests, that ruleset changes a lot
<v0lZy>
adisbladis: a dialplan is to asterisk what configuration.conf is to nixos
<v0lZy>
adisbladis: in that sense, if i want a deterministic setup, what is the best approach? A dialplan can be many lines of text long, and it has its own syntax and language etc ... its basically code
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
<Drakonis[m]>
fusion809: success?
<v0lZy>
adisbladis: in that sense, how does one best maintain the deterministic feature of being able to restore a system to a state with a snapshot of a dialplan ... does nixos offer anything like an include_verbatim(/path/to/target/file) { whatever the stuff with line breaks etc you want to include }
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFy5u
<v0lZy>
so that i can write this into my configuration.conf file and have it write over asterisk files to get an exact config?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vFy5w
<NixOS_GitHub>
nixpkgs/master 5604007 Oliver Charles: nixos/prometheus: Correct documentation for external_labels...
NixOS_GitHub has left #nixos []
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ocharles pushed 1 new commit to release-17.09: https://git.io/vFy51
<NixOS_GitHub>
nixpkgs/release-17.09 b2af4e9 Oliver Charles: nixos/prometheus: Correct documentation for external_labels...
NixOS_GitHub has left #nixos []
<NickHu>
Is there a way to get hydra build daemon to stop emailing me?
<NickHu>
One of my packages keeps going to and fro from builds successfully to build failed because people are messing around with the go packages/hydra runs out of memory every other run
kier has joined #nixos
<fusion809>
Well it almost set up GRUB correctly this time. Now the problem is that it was expecting the EFI partition on /boot not /boot/efi
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
toppler` is now known as toppler
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
<Drakonis[m]>
technically it doesn't matte
<Drakonis[m]>
matter
<Drakonis[m]>
it is a matter of organization
<fusion809>
Well nixos-install finished in record time, it must have seen everything else was set up fine and dandy.
<fusion809>
Goodbye I gotta boot into my new NixOS installation
fusion809 has quit [(Remote host closed the connection)]
<Drakonis[m]>
wow uh
<Drakonis[m]>
ok then
iyzsong has joined #nixos
thblt has joined #nixos
universalpackage has quit [(Remote host closed the connection)]
universalpackage has joined #nixos
thblt has quit [(Remote host closed the connection)]
fusion809 has joined #nixos
<icetan>
I got a big problem, was messing about with nixops trying to build it and run the tests
<icetan>
after I followed the README I got this error "No user exists for uid 1000"
hamishmack has quit [(Quit: hamishmack)]
universalpackage has quit [(Quit: Konversation terminated!)]
<icetan>
now when I try to run git any where I get the same error
Guest52155 has joined #nixos
<icetan>
and kakoune just segfaults
<icetan>
I'm not on nixos just running nix on arch
<icetan>
I depend on my nix configs for work and right now I'm at a loss
roberth has quit [(Ping timeout: 248 seconds)]
<Drakonis[m]>
oh right
<Drakonis[m]>
are you using ryzen
<icetan>
no, what is that_
<icetan>
s/_/?
<Yaniel>
the latest AMD CPU family, launched in summer
<Drakonis[m]>
there's a bug on ryzen that segfaults when compiling
<Drakonis[m]>
anyways
<icetan>
aha, kakoune compiles fine, but segfaults on start
<Drakonis[m]>
why are you installing git off nix
<icetan>
it is unstable but I've used it "in production" for some time now
<Drakonis[m]>
i know what kakoune is
<Drakonis[m]>
use an older build
universalpackage has joined #nixos
<icetan>
laziness, easier just to have my dev environment as a nix expression
<Drakonis[m]>
hoo bo
<Drakonis[m]>
boy
<Drakonis[m]>
laziness...
<icetan>
haven't had any trouble since I ran the nixops tests
<Drakonis[m]>
and yet here you are, having trouble
<icetan>
event tried removing /nix and re-installing
<icetan>
Drakonis: hmmm, so you are saying don't use nix?
mekeor has quit [(Ping timeout: 258 seconds)]
<Drakonis[m]>
i didn't say that
universalpackage has quit [(Client Quit)]
universalpackage has joined #nixos
<fusion809>
Hi, I selected the required hardware options to get Broadcom wireless support, well actually nixos-generate-config did that automatically for me, and while modprobe -a wl runs without a problem no option to connect to the WiFi comes up with GNOME. Guessing I'm missing a program to manage the networks. I tried to run nmtui at the command-line and it suggested installing nixos.networkmanager, which I did but running nmtui fails
<fusion809>
at the networkmanager daemon isn't running
<fusion809>
No option in the top bar, usually an option appears up there under Fedora at least.
<icetan>
Drakonis: so just not for dev environment then?
<fusion809>
No option to connect to the WiFi^
<goibhniu>
fusion809: you need to enable the networkmanager module: networking.networkmanager.enable = true;
<fusion809>
Tried that but it conflicted with the wireless option
simukis has joined #nixos
<fusion809>
I had to manually disable networking.networkmanager.enable (i.e. set it to false) in order for nixos-install to run properly as GNOME's nix files include a line like networking.networkmanager.enable = true
joe1 has joined #nixos
<goibhniu>
ah, I see, networking.wireless.enable seems to enable wpa_supplicant instead
universalpackage has quit [(Remote host closed the connection)]
<goibhniu>
that's confusing (IIUC)
universalpackage has joined #nixos
<samae>
fusion809: you have to choose whether you use networkmanager or wpa_supplicant
<goibhniu>
so, this should work: networking.wireless.enable = false; networking.networkmanager.enable = true;
<samae>
fusion809: what goibhniu said ^^^^
<fusion809>
and networkmanager is compatible with WiFi is it?
<goibhniu>
yep
<fusion809>
Ah, that wireless option is a little confusing, but thanks.
<adisbladis>
fusion809: Yes. Actually networkmanager is also using wpa-supplicant.
<Drakonis[m]>
fusion809: do not assume nixos is like fedora
<goibhniu>
very confusing indeed
<fusion809>
Most distributions with GNOME have wireless connection in the topbar.
<Drakonis[m]>
do not assume you can just do things manuall on it either
<fusion809>
not just Fedora.
<Drakonis[m]>
manually
<Drakonis[m]>
this isn't most distributions with gnome
<samae>
it says you cannot have both at the same time AND that networkmanager can handle wi-fi
universalpackage has quit [(Client Quit)]
thblt has joined #nixos
<fusion809>
Thanks
<Drakonis[m]>
it also breaks in ways most distros don't
<hyper_ch>
# enable = true; # Enables wireless. Disable when using network manager -> from my config
<fusion809>
I tried GuixSD and frankly it's even more challenging for a newbie than NixOS. GNU Guile is a more difficult language for me at least to get my head around than Nix.
<fusion809>
Gotta go and reboot into my newly configured system
fusion809 has quit [(Remote host closed the connection)]
<Drakonis[m]>
someone tell him that there's no need for this
<goibhniu>
they may well need to restart gnome at least
fusion809 has joined #nixos
<Drakonis[m]>
nixos-rebuild switch is cool.
mahalel_ has quit [(Ping timeout: 240 seconds)]
<Drakonis[m]>
now then
mahalel_ has joined #nixos
<Drakonis[m]>
iceTanner: the main argument folks give me in favor of using nix is for dev environments
fusion809 has quit [(Remote host closed the connection)]
<Drakonis[m]>
but vOv
<icetan>
Drakonis: ok, so what is your suggestion
<Drakonis[m]>
isn't nixops suposed to be a nix package?
<Drakonis[m]>
and doesn't it require nixos?
<Drakonis[m]>
it specifies requiring nixos
amfl has quit [(Read error: Connection reset by peer)]
<icetan>
Drakonis: it is a nix package, but I've run in to problems when using it with virtualbox on arch
<Drakonis[m]>
why not kvm/qemu
<icetan>
so was trying to figure out why the strange behavior
<icetan>
Drakonis: qemu through libvirt is only supported on nixos
amfl has joined #nixos
RayNbow`TU has joined #nixos
<icetan>
I've run hydra with virtualbox on arch before using nixops, but on this computer I'm having trouble
<icetan>
it's probably my virtualbox setup, but that's not really my main problem right now
<Drakonis[m]>
what is your main problem? are you installing broken software?
ma27 has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
ma27 has quit [(Client Quit)]
Cheng has quit [(Remote host closed the connection)]
ma27 has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<icetan>
Drakonis: my problem is that nix isn't installing packages that work any more
ma27 has quit [(Client Quit)]
<icetan>
system git works fine, but not the one installed through nix, same with kakoune
<gchristensen>
Drakonis[m]: please don't be a jerk to our users
<gchristensen>
(re: "hoo boy laziness.... and yet here you are, having trouble")
<gchristensen>
icetan: have you tried verifying your store?
<icetan>
hi, gchristensen :D
<icetan>
thanks
<icetan>
yes, I have
<icetan>
and even removed it completely
<gchristensen>
wt
<Drakonis[m]>
the joke is that he said he had no trouble since he ran nixops tests despite having issues with nixops trying to run more tests
<gchristensen>
icetan: can you run nix-shell -p nix-info --run "nix-info -m" and gist the output?
<icetan>
sure can
<Drakonis[m]>
its just bad attempts at making jokes
<gchristensen>
Drakonis[m]: ok :)
ma27 has joined #nixos
<Drakonis[m]>
you did run the binaries with nix-shell, right?
<EffSquared>
Any ideas or pointers, how to solve this problem the nix way?
<icetan>
gchristensen: yeah, it's super weird, it must be something outside /nix that got changed, it compiles my derivations but some don't work properly
<Drakonis[m]>
the nix way, where have i heard this one before :v
<Drakonis[m]>
oh wait, python and arch
<Drakonis[m]>
usually it involves jumping through hoops!
astsmtl has quit [(Ping timeout: 248 seconds)]
<gchristensen>
icetan: how did you verify your store? and, can you run git and paste the output?
katyucha has joined #nixos
<icetan>
gchristensen: `nix-store --verify`
<EffSquared>
Drakonis: I am sure I can figure out a way to read my password from some random file from within my nix expression...
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<icetan>
just outputs "Reading the Nix store..." and "checking path existence..."
<icetan>
nothing more
<EffSquared>
Drakonis: I just would prefer to use any of the builtin mechanisms.
deepfire has joined #nixos
<EffSquared>
I also tried to prefetch my package with "nix-prefetch-url . -A custompkgs.my-package-name.src" but it just complains about the length of my sha256 hash.
<EffSquared>
nix-prefetch-git doe not support -A yet, it seems.
<ertes-w>
i know this is a problematic question due to the way nix works, but is there a way to see reverse dependencies of a package in nixpkgs?
<orivej>
ertes-w: yes, after it is built
<ertes-w>
orivej: *reverse* dependencies, i.e. a list of all packages that depend on it
<orivej>
ertes-w: well, you might ask nix-store for built reverse dependencies, or nix-env for available reverse dependencies
<gchristensen>
icetan: also try nix-store --verify --check-contents
<ertes-w>
how do i do that?
<icetan>
gchristensen: ah, ok
<ertes-w>
nix-env -q doesn't seem to have anything about reverse deps
<gchristensen>
nix-store should
<orivej>
ertes-w: see maintainers/scripts/rebuild-amount.sh in nixpkgs
<gchristensen>
reverse dependencies are a critical part of nix, to check if something can be GCd
<gchristensen>
icetan: wat
<ertes-w>
i mean in nixpkgs, not necessarily installed on my system
<icetan>
gchristensen: sorry?
<gchristensen>
icetan: that segfault
asuryawanshi has quit [(Remote host closed the connection)]
<gchristensen>
icetan: to be sure, if you open a new terminal, does it work ok?
fragamus has joined #nixos
<orivej>
ertes-w: rebuild-amount is not affected by the installed packages. to use it with a given package expression, you will have to change the package in some way first, changing its name attribute is enough
asuryawanshi has joined #nixos
thblt has quit [(Ping timeout: 248 seconds)]
<ertes-w>
orivej: doesn't that mean that i have to build all of nixpkgs?
<icetan>
gchristensen: the check-content flag output some missing hashes and fixed that, but no errors
<icetan>
gchristensen: most other stuff is running fine, like tmux
<icetan>
gchristensen: I've only noticed git and kakoune behaving strangely
<orivej>
ertes-w: no, only their build files (.drv) will be computed, but they will not even be written to disk
<Drakonis[m]>
can i at least joke about how arch breaks in new and fascinating ways?
<icetan>
Dezgeg: yes! that looks relevant
<gchristensen>
ertes-w: what are you trying to do?
<icetan>
the strace ends with some references to nss
<Drakonis[m]>
fedora already fixed that
<ertes-w>
ah, i see
<EffSquared>
Drakonis: Sure, joke away?
<gchristensen>
Drakonis[m]: probably not great
<gchristensen>
ouch!
<ertes-w>
gchristensen: not myself, but a friend of mine would like to figure out the reverse dependencies of a package, so he can get rid of them
<gchristensen>
get them out of nixpkgs?
mekeor has joined #nixos
<Drakonis[m]>
i'm surprised this wasn't dealt with
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fusion809 has joined #nixos
<gchristensen>
looks like it is fixed in master
<gchristensen>
Dezgeg: can you share your full /etc/os-release with me?
<fusion809>
Does anyone know how to dual or triple boot NixOS with other distros? The nixos-install installer didn't recognize my other Linux installations, even though I added the 'os-prober' package to the list of additional packages to be installed in my configuration.nix file. I have also tried running `grub-mkconfig -o /boot/grub/grub.cfg` with my EFI partition mounted on /boot and while that allowed me to boot my other distros I
<icetan>
gchristensen: worked if i followed the workaround in the issue, by changing compat to files in /etc/nsswitch.conf
<icetan>
not sure if this has other implications
<Drakonis[m]>
they didn't even warn that the glibc 2.26 update would break anything
fusion809 has quit [(Remote host closed the connection)]
<gchristensen>
we made the update
<Drakonis[m]>
well yeah
<Drakonis[m]>
different principles hough
<Drakonis[m]>
though
<Drakonis[m]>
a fair bit more proactive
<joko>
I still can't find why my new nixos channel returns "error: undefined variable ‘white’ at (string):3:18" on update. It presumably fails on nix-env --profile '$profile' -f '<nix/unpack-channel.nix>' -i -E $exprs --quiet (Line 172 of nix-channel)
<NixOS_GitHub>
[nixpkgs] grahamc pushed 3 new commits to master: https://git.io/vFSJu
<NixOS_GitHub>
nixpkgs/master 3f4eb16 Andreas Rammhold: vagrant: 2.0.0 -> 2.0.1...
<NixOS_GitHub>
nixpkgs/master e427e84 Andreas Rammhold: vagrant: removed custom rake gem
<NixOS_GitHub>
nixpkgs/master 5af8c93 Graham Christensen: Merge pull request #31768 from andir/fix-vagrant-vbox52...
NixOS_GitHub has left #nixos []
katyucha has quit [(Ping timeout: 255 seconds)]
anton__ has quit [(Remote host closed the connection)]
anton__ has joined #nixos
zzamboni has joined #nixos
rotaerk has quit [(Ping timeout: 240 seconds)]
joe1 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] flokli opened pull request #31769: msmtp: install docs and examples (master...msmtp-examples) https://git.io/vFSUi
NixOS_GitHub has left #nixos []
Mateon3 has joined #nixos
<icetan>
gchristensen: not sure how I update though
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
<icetan>
is it in master on git?
<icetan>
or on a channel
<gchristensen>
it is in staging, so git, but not yet master and definitely not yet a channnel
<icetan>
hehe ok, cool
<gchristensen>
it'll be a bit before it hits channels unfortunately
fragamus has joined #nixos
<icetan>
I'll use the workaround for now then, just need to get kakoune working so i can continue my job :)
<Dezgeg>
or you could use 17.09 as another workaround
<icetan>
thanks for the help!
ma27 has quit [(Ping timeout: 255 seconds)]
<icetan>
Dezgeg: yeah, might be better
<gchristensen>
omg 17.09 uses 2.25? I thought it updated too! I'm not stranded at work!
<Dezgeg>
yes it has 2.25 + patches
ma27 has joined #nixos
rotaerk has joined #nixos
<Yaniel>
meanwhile still no ff57 on unstable :P
zzamboni has quit [(Quit: Leaving.)]
<etu>
Yaniel: tbh I've been considering running on the master branch because of that delay :p
p4cman has quit [(Quit: Connection closed for inactivity)]
<gchristensen>
it is unsafe!
zzamboni has joined #nixos
<etu>
gchristensen: How so?
<Yaniel>
basically not testing
<Yaniel>
no*
<gchristensen>
literally no testing
<Yaniel>
you could install just FF from master, though
<etu>
Yeah, well. You can always roll back by a reboot.
<gchristensen>
not necessarily true with master
rotaerk has quit [(Ping timeout: 240 seconds)]
<flokli>
grahamc: so msmtp scripts into $out/scripts? taskwarrior for example has this in $out/share/doc/task/scripts, too…
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
the rollbacks assume the bootloader installation process doesn't ruin your bootloader, something we test for, but is untested if you use master directly
<etu>
gchristensen: If the generation of boot-entries fail or so?
<etu>
yeah, true...
sigmundv has joined #nixos
<etu>
Good point
<gchristensen>
flokli: I think you're putting them directly in to $out/share/doc/ and I'd like to see them in $out/share/doc/scripts
<etu>
gchristensen: I'm coming from archlinux and wanted rolling release, so I'm on nixos-unstable at the moment :)
<gchristensen>
that is O-OK!
<gchristensen>
that is A-OK!
zzamboni has quit [(Quit: Leaving.)]
<srhb>
Has anyone used nixpart and seen clearpart --all --initlabel --drives=somedevicename fail with "not enough free space on disks" ?
<srhb>
eg. --drives=sdb
<srhb>
nixpart0 technically.
zzamboni has joined #nixos
ssmike has quit [(Ping timeout: 264 seconds)]
<gchristensen>
flokli: make sense?
rotaerk has joined #nixos
p4cman has joined #nixos
<flokli>
gchristensen: a bit. so docs in general should go to $out/share/doc, not $out/share/doc/$pname ?
fragamus has joined #nixos
<gchristensen>
no, you're reading too much in to what I'm saying and I'm being too vague, I'm sorry
<gchristensen>
you're putting a bunch of script files in to "$out/share/doc/${pname}" and I think they should goo in to "$out/share/doc/${pname}/scripts"
<gchristensen>
just my $0.02
ssmike has joined #nixos
periklis has joined #nixos
asuryawanshi has quit [(Ping timeout: 258 seconds)]
<flokli>
gchristensen: ok, will update
<flokli>
no worries :-)
<gchristensen>
cool :) I'm sorry for being vague, with such specific change requests it was rude of me to not be more specific :$
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vFSLq
<NixOS_GitHub>
nixpkgs/master 5735aec Ollie Charles: wal-g: init at 0.1.2
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
<flokli>
gchristensen: updated :-)
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
ocharles: that commit breaks eval, can you patch it up?
<ocharles>
hm, worked here
<ocharles>
on it though
<gchristensen>
"error attribute asl20 missing"
<ocharles>
it's working here :|
<gchristensen>
ocharles: "nix-env --file . --query --available --json > /dev/null" should show the error
<adisbladis>
ocharles: Should be stdenv.lib.licenses.asl20
<ocharles>
ah yea, that does
<ocharles>
yep, that was the intention
<ocharles>
learning how to type on this Advantage2 is using all my cycles
<gchristensen>
ooh I hear that, it is a tough first week or two! worth the effort though!
<ocharles>
Are you on one?
<adisbladis>
There should really be a commit hook that we can tell people to use that does this kind of basic sanity checking
Boomerang has joined #nixos
<gchristensen>
ocharles: I have been for about 7 years now
<ocharles>
adisbladis: def
<ocharles>
awesome
<ocharles>
I got the new v2 cause I dig the blue home row
<gchristensen>
yeah I ... did too :) despite my v1 working just fine
<ocharles>
and my truly ergonomic started to die on me (l no longer reliably works)
<ocharles>
ha
<Boomerang>
Hello, I am getting a weird error after having setup multi-user nix on my machine: "error: the group 'nixbld' specified in 'build-users-group' does not exist", any idea how I should go about fixing it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ocharles pushed 1 new commit to master: https://git.io/vFSta
<NixOS_GitHub>
nixpkgs/master b075e79 Ollie Charles: wal-g: fix license so not to break evaluation
NixOS_GitHub has left #nixos []
<ocharles>
hopefully that fixes eval ^
<gchristensen>
w00t fwiw PRs get good tests now, if you want to send PRs just for the tests :)
<adisbladis>
ocharles: Does the trick :)
<ocharles>
does it use the status api to indicate failures directly on the pr?
<ocharles>
sweet. you're running a service that does this?
<gchristensen>
yeah
<ocharles>
nice
<gchristensen>
triggering builds are limited to a certain set of users for right now, but the eval checks are on every PR automatically
<ocharles>
really want hydra to learn how to do this too
<ocharles>
makes sense
<gchristensen>
indeed!
mekeor has quit [(Ping timeout: 250 seconds)]
qewzee has joined #nixos
davidak has quit [(Ping timeout: 268 seconds)]
knedlsepp has joined #nixos
<knedlsepp>
Hi! Does anybody know if it is possibly to reference an overlay from within an overlay? I know it is possible to parametrize the nixpkgs import via " import <nixpkgs> { overlays = [ overlay1 overlay2 ]; }".
<knedlsepp>
I would basically like my overlay.nix to reference a list of other overlays.
<gchristensen>
flokli: eh, as long as you've tested to know msmtp compiles I'd comment that and chalk up the "Merge failed" message from grahamcofborg as a bug.
<knedlsepp>
overlay.nix should contain something along the lines: "self: super: { import ./overlay1.nix; import ./overlay2.nix; }". but won't work when overlay1.nix and overlay2.nix also contain the "self: super: ..." structure
<steveeJ>
knedlsepp: I have no idea if this can work but you could try to pass self and super explicitly
kier has joined #nixos
<adisbladis>
gchristensen: ocharles: If there was a commit hook for nixpkgs what would be good to test?
<adisbladis>
I think the obvious thing is nixpkgs evaluation but what more?
<gchristensen>
adisbladis: check out all the commands run on PRs
<gchristensen>
(they're in the status check descriptions)
erictapen has quit [(Ping timeout: 250 seconds)]
ssmike has quit [(Ping timeout: 258 seconds)]
<flokli>
gchristensen: good to merge?
<gchristensen>
Ithink so, but I can't merge it at work
<joko>
Is it possible to set $Nix::Config::curlCaFlag somehow?
<steveeJ>
knedlsepp: more like ... import ./overlay1.nix { inherit self super; }
<knedlsepp>
steveej: Thx for the hint. I cannot quite get the syntax right, but this seems promising.
ma27 has quit [(Ping timeout: 240 seconds)]
<greymalkin>
I'm getting a nixops GCE error "The resource 'projects/<myproject>/regions/us-east4-b' was not found' when creating GCE target pool; any nixops-on-gce users have insight?
<steveeJ>
knedlsepp: you could also explicitly write "self: super: { (import ./overlay1.nix { self=self; super=super;}) ...". but I have no clue if this is supported
<steveeJ>
knedlsepp: 'inherit self;' is synonymous to 'self=self;'
<steveeJ>
knedlsepp: try removing the braces around the import statement
<greymalkin>
Why is builtins.readFile complaining about needing an absolute path? And can I get around that easily, since this is going into a git repo?
EffSquared has quit [(Quit: Thank you for nothing!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vFSZf
<steveeJ>
greymalkin: you can try ./. to get the absolute path
<greymalkin>
steveeJ: Thanks for the hint... it was that I had put it in quotes.
<knedlsepp>
steveej: Sadly none of the variants of parentheses I tried works.
<greymalkin>
knedlsepp: Are you sure you want 'self' and not 'super'?
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<knedlsepp>
greymalkin: I'm actually not really sure. The problem of the it being a function instead of a value however does seem to stem from overlay1 being a function of two arguments.
<knedlsepp>
(import ./overlay1.nix { inherit self;} {inherit super;}) seems to be a better fit, while still not great.
<steveeJ>
knedlsepp: it seems that what you're doing doesn't need to be that complicated. you simply want a definition of overlays written in nix, correct?
<greymalkin>
Uploading closure! \o/
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFSn9
<NixOS_GitHub>
nixpkgs/master 00056e7 Franz Pletz: nixos/tests/acme: update terms of service to fix test
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vFSnh
<NixOS_GitHub>
nixpkgs/master eb85761 Tuomas Tynkkynen: kernel: Fix out-of-tree modules on aarch64...
<sphalerite>
niksnut: I see you added binary cache support for sign-path, thanks!!
fusion809 has joined #nixos
balsoft has joined #nixos
<sphalerite>
Dezgeg: got the sound working. All it took was unmuting two of the bazillion channels alsamixer lists for the device
danharaj has joined #nixos
Neo-- has joined #nixos
<fusion809>
I've almost managed to get NixOS's GRUB bootloader to boot Arch properly (it used to boot NixOS when I selected Arch from the GRUB menu, I've since fixed that). The only problem now is that its initrd line is `initrd /boot/intel-ucode.img` instead of what it should be `initrd /boot/intel-ucode.img /boot/initramfs-linux.img` and the result is that Arch goes into kernel panic when I try to boot it. Is there a way to add that
<fusion809>
/boot/initramfs-linux.img to the initrd line without having to do so manually whenever I re-generate the GRUB config?
ssmike has joined #nixos
<fusion809>
I've found a patch I can apply to /etc/grub.d/10_linux, if NixOS had it, to fix this.
<sphalerite>
fusion809: there's also an option for loading microcode
Neo-- has joined #nixos
<steveeJ>
knedlsepp: I'm curious about your use-case for this setup
<fusion809>
That option (initrd.prepend) doesn't seem to be what I thought it seems to be more for the NixOS system not for any other systems in the GRUB menu. At least from what I can tell.
asuryawanshi has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<fusion809>
sphalerite: What's the relevance of microcode? Is it related to intel-ucode.img? I don't really know what microcode is.
ssmike has joined #nixos
<adisbladis>
fusion809: Microcode is for patching cpu bugs
<adisbladis>
fusion809: Think of it like firmware for the cpu
Neo-- has quit [(Ping timeout: 240 seconds)]
Neo--- has joined #nixos
<fusion809>
OK. How does this relate to my problem?
<fusion809>
Must admit I don't think it really relates to GRUB.
<fusion809>
sphalerite: If it's just ya mentioning something interesting I've got no problems with that, it's just I'm confused.
adamt has quit [(Ping timeout: 260 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
ssmike has quit [(Ping timeout: 240 seconds)]
<fusion809>
Can one manually edit /etc/fstab on NixOS or will it be overridden on boot up? I want to define some mounts with it but I'm wondering if like most of /etc it's generated on start up and changes are not saved.
<lll_>
I posted a fix for the konsole problem a week ago. I'm not experienced with dkpg stuff, so if an anyone could implement it I will deliver a nice picture of my cat lucy. Thank you, much appreciated :-) https://github.com/NixOS/nixpkgs/issues/29951
<hyper_ch>
adisbladis: tcaputi posted a patch for me to try with my zfs problem... unfortunately didn't work :(
danharaj has quit [(Ping timeout: 240 seconds)]
<lll_>
Sry I meant nix-pkg!
Neo--- has quit [(Ping timeout: 248 seconds)]
<hyper_ch>
joko: what are you trying to do?
fusion809 has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<joko>
hyper_ch: I am trying to lock the nixpkgs of some machines using this trick. So far it works great, I just want to make the Hydra job building their configuration completely independent of <nixpkgs>, so that I don't have to enter that as an input
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
Neo--- has joined #nixos
erictapen has joined #nixos
whald has quit [(Remote host closed the connection)]
<hyper_ch>
joko: ah ok
Neo---- has quit [(Ping timeout: 260 seconds)]
sigmundv has quit [(Ping timeout: 260 seconds)]
zzamboni has quit [(Quit: Leaving.)]
<adisbladis>
Mic92: So how do I add myself to the assembly?
<adisbladis>
I remember it wasn't so obvious previous years..
<hyper_ch>
adisbladis: you're going to 34c3?
Tucky has quit [(Quit: WeeChat 1.9.1)]
<sphalerite>
fusion809: because intel-ucode.img sounds like it would contain microcode
<sphalerite>
fusion809: you shouldn't need to do manual hacks to get your microcode loaded
zzamboni has joined #nixos
<hyper_ch>
adisbladis: enjoy
ma27 has quit [(Quit: WeeChat 1.9.1)]
ertes-w has quit [(Ping timeout: 250 seconds)]
ma27 has joined #nixos
balsoft has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub created doc-for-patch-31684 (+1 new commit): https://git.io/vFSu4
<NixOS_GitHub>
nixpkgs/doc-for-patch-31684 480acb7 Pascal Wittmann: Add references to the Wikipedia article of the patch command...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub opened pull request #31770: Add references to the Wikipedia article of the patch command (master...doc-for-patch-31684) https://git.io/vFSuz
NixOS_GitHub has left #nixos []
<adisbladis>
Mic92: Cool, thanks
<Dezgeg>
sphalerite: lol
ssmike has joined #nixos
zzamboni has quit [(Ping timeout: 250 seconds)]
coreteam has joined #nixos
coreteam has quit [(Max SendQ exceeded)]
coreteam has joined #nixos
fragamus has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<greymalkin>
That's a list of all the configuration options, which means a lot of visual parsing for the transition from service to service. I was looking for a flatter list somehow.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vFSw2
<NixOS_GitHub>
nixpkgs/master 3f36f16 Bjørn Forsman: nixos/pam: fix docs about path to u2f_keys file...
balsoft has quit [(Read error: Connection reset by peer)]
<greymalkin>
symphorien: That's the list I was trying to avoid; rather than services.acpid.enable; service.acpid.handlers... services.activemq.baseDir I was thinking there should be a way to extract just "services.acpid; services.activemq" etc.
thblt has joined #nixos
<greymalkin>
I was trying to figure out what I needed to `:l` in nix-repl that would allow a list to be generated by tab-completion, but no luck so far.
stefanc_diff has joined #nixos
<joko>
Is it possible to access nix files from a package directory?
<joko>
something like import (myPackage.outPath + /nix/myfun.nix)
<joko>
(I'm probably neither using outPath correctly, nor + )
jensens has quit [(Ping timeout: 248 seconds)]
Vorpal has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFSoc
<NixOS_GitHub>
nixpkgs/master 6623938 Orivej Desh: xml2: replace dead links
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFSM0
<NixOS_GitHub>
nixpkgs/staging 1161741 Orivej Desh: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
<gchristensen>
LnL: ^
<LnL>
heh :)
<LnL>
guess I'll send my stuff to staging then
<oleks>
Why could it be that when I lost go in my configuration.nix, I get Go 1.6 rather than 1.9 as advertised on https://nixos.org/nixos/packages.html ?
todder has quit [(Quit: is such a quitter...)]
todder has joined #nixos
leat has quit [(Ping timeout: 248 seconds)]
ma27 has quit [(Quit: WeeChat 1.9.1)]
<raving>
Im trying to get the schedutil frequency governor running on my system, but couldn't find a package / config option providing the kernel module. Does the nix kernel even set the appropriate kconfig option?
<Jackneillll>
how can i check if a pkg ver exists in stageing/testing? https://nixos.org/nixos/packages.html doesnt list it. im interested in qt 5.10.
<clever>
Jackneillll: clone nixpkgs master and then run "nix-repl ." and try to tab-complete qt
<Jackneillll>
i dont have nixos installed right now
<Jackneillll>
and i certainly wont if i dont know for sure qt 5.10 is available
<clever>
Jackneillll: i only see 5.9 on master and staging
<Jackneillll>
yeah me too
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vFSDP
<NixOS_GitHub>
nixpkgs/master f39c132 Charles Strahan: ycmd: 2017-03-27 -> 2017-11-05
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hansgert has quit [(Ping timeout: 260 seconds)]
Neo--- has quit [(Ping timeout: 240 seconds)]
hansgert has joined #nixos
remexre has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<hansgert>
Hi. When I connect to my two nixos servers via ssh, both are verry laggy and somtimes unresponsive. Two differnd systems on different hardware and connection is good. Thank you
<hyper_ch>
hansgert: is there a question coming?
Neo-- has joined #nixos
hansgert_ has joined #nixos
<hansgert_>
sorry I was kicked out
ssmike has quit [(Ping timeout: 240 seconds)]
ssmike has joined #nixos
ylwghst has joined #nixos
hansgert has quit [(Ping timeout: 260 seconds)]
<cransom>
i think 'connection is good' requires some proof.
<gchristensen>
:D
seville has joined #nixos
<infinisil>
hansgert_: So your question is how to get a better connection between your servers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vFS54
<hansgert_>
no, sorry. I am in a train right now. I have two mashines at home both are on differnt hardware same network. When i connect via vnc everything is well but not with ssh
<infinisil>
hansgert_: You mean your machine in the train to one at home?
<hansgert_>
have the same problem with a nixos on a was
<hansgert_>
aws
coreteam has quit [(Quit: Leaving)]
<hansgert_>
no, in the local network
<infinisil>
it's most likely not nixos' fault, what problem specifically are you having?
goibhniu has joined #nixos
ylwghst_ has joined #nixos
<lebel>
I know how to delete old generations for my nix-env user environment, but how one does the same for nixos generations at the system level?
<aminechikhaoui>
and I get many errors like this when I try to ssh which falls back to the ssh key password prompt
<aminechikhaoui>
Nov 17 20:30:24 nixos gpg-agent[1160]: scdaemon[1789]: pcsc_establish_context failed: no service (0x8010001d)
<aminechikhaoui>
Nov 17 20:29:44 nixos gpg-agent[1160]: Failed to lookup password for key s/A905EBA282DCF8027D118D9417CB9975789112AA with secret service: Cannot autolaunch D-Bus without X11 $DISPLAY
Neo--- has joined #nixos
<aminechikhaoui>
fpletz: maybe you have any idea about ^
<seville>
What's the correct way to get the installation path of a package? Currently using "nix-store --query -R `which bash` | tail -n 1", probably wrong usage..
<fpletz>
aminechikhaoui: are you also or haven been logged into a regular tty?
Neo-- has quit [(Ping timeout: 240 seconds)]
<fpletz>
there is some weird stuff happening to the systemd user session if your logged in both in X and a tty
phg has joined #nixos
<clever>
fpletz: i found that the gpg module in nixos is rather broken, if i ssh into the machine, that steals control of gpg, then it asks on the wrong tty when i try to make use of the agent
<aminechikhaoui>
fpletz: not that I'm aware of
<clever>
fpletz: it also tends to ask in a broken way on tty's, and displays a password prompt, but cant actually accept input, so i wind up running my password in bash!
<aminechikhaoui>
[root@nixos:~]# w 20:37:34 up 1 day, 8:54, 0 users, load average: 0.78, 0.92, 0.99
<aminechikhaoui>
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
<infinisil>
aminechikhaoui: I actually got this working once with some env var, hold on maybe I can find it again
<fpletz>
clever: not sure how to fix though, I'm only using it on a workstation in X with pinentry-gtk2
<clever>
fpletz: and i always run screen over ssh, and they cant seem to share
balsoft has left #nixos []
ssmike has joined #nixos
<clever>
fpletz: the most broken part, is that the X pinentry stops working the instant i make even 1 ssh session into the machine
<fpletz>
aminechikhaoui: what display manager are you using?
Neo--- has quit [(Ping timeout: 248 seconds)]
Neo---- has joined #nixos
<fpletz>
clever: ah, now I get it… makes sense in a way because a tty login will also trigger this kind of behaviour
<fpletz>
we probably have to display gpg-agent on non-X login
<fpletz>
s/display/disable/
<infinisil>
Ah here it is: `export GPG_TTY="$(tty)"` aminechikhaoui
<infinisil>
I'm pretty sure this made it work for me
p4cman has quit [(Quit: Connection closed for inactivity)]
<fpletz>
aminechikhaoui: you can try: gpg-connect-agent UPDATESTARTUPTTY /bye
<fpletz>
sometimes this fixes the issues
<Unode>
Hi guys, current github recommends 'nix-shell -p nix-info --run "nix-info -m"' but this fails with: "undefined variable ‘nix-info’ at ..." on my (non-nixos) system. Any recommendations?
<clever>
Unode: you may need to nix-channel --update first
<aminechikhaoui>
fpletz: infinisil thanks, I'll try both
Itkovian has joined #nixos
<Unode>
clever: thanks. Lets see how that goes. Been a while since the last channel update on this system.
<infinisil>
Oh nix-info has been backported to 17.09, nice!
<Unode>
tig
<Unode>
oops XD
Neo--- has joined #nixos
<woffs>
Unode: downloading 4GB? :-D
<Unode>
woffs: compiling actually. not running from /nix
<Unode>
Recently got a "kernel too old" when trying to run something from nixpkgs.
<Unode>
hope latest stable doesn't suffer the same
<romanandreg>
say I have a bunch of scripts in Python that use for CLI, and now I want to have them as a package in nix, is there any example of people doing this?
<romanandreg>
I want to use my scripts but they relied before on global packages to work (e.g. they execute git commands)
<romanandreg>
the link above allows me to create custom scripts that rely on packages from nix store without having those being part of any package (say on a dotfiles/bin)
joncfoo has joined #nixos
lebel has joined #nixos
joncfoo has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
joncfoo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFSp0
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Neo--- has quit [(Ping timeout: 248 seconds)]
Itkovian has joined #nixos
hamishmack has joined #nixos
pbeaucamp has joined #nixos
<pbeaucamp>
Hi, I hope nobody minds me asking a pretty entry-level question, but I can't get a certain package to install. I don't know if this is my error or if it's a bug. Basically I'm trying to install `haskellPackages.pandoc-citeproc` but it doesn't place the binary on my path.
remexre has joined #nixos
<pbeaucamp>
however I can find the binary just fine in /nix/store/i43z3m44gw0ksjkzqis279j7h7a3hjaz-pandoc-citeproc-0.10.5.1/bin/
python47` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<pbeaucamp>
I'm trying to install it using nix-shell -p haskellPackages.pandoc-citeproc
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vF9vO
<jeaye>
nix-shell -p doesn't install things globally. It just gives you a shell with that thing installed. Outside of that shell, you won't know about that package.
<pbeaucamp>
Yeah, I'm aware of that. I'm trying to get it running in nix-shell
<pbeaucamp>
My main goal is to pass it into `buildInputs` in default.nix for a package of mine
<pbeaucamp>
And I'm trying to debug it using nix-shell
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
<sphalerite>
That's weird, it should end up on the path if you do that
<sphalerite>
do you have any PATH hackery in your bashrc?
<pbeaucamp>
hm, I'm adding a few things to it, but nothing fancy
<pbeaucamp>
Interestingly enough, nix-env -f "<nixpkgs>" -iA haskellPackages.pandoc-citeproc works fine
<Unode>
actually forget that, nix-shell -p haskellPackages.pandoc-citeproc works fine here
<sphalerite>
Unode: and nix-shell -p uses all outputs of a package iirc
hamishmack has quit [(Quit: hamishmack)]
<Unode>
sphalerite: I recall having variable results. But might just be me fumbling it.
<pbeaucamp>
Hm, I begin to think that my nix-shell itself is broken
<pbeaucamp>
oh, nevermind I found a bug report that nix-shell doesn't work under WSL. Sorry for jumping in here, this is obviously not the fault of nix
<sphalerite>
mentioning that this is on WSL could have helped too x)
<pbeaucamp>
ha, I know. Sorry
<Unode>
WSL?
<pbeaucamp>
I experience next to no issues on my day-to-day usage that I kinda accepted it as working by now
<pbeaucamp>
Windows Subsytem for Linux
<Unode>
oh that thing
<pbeaucamp>
well, thank you guys anyway for being so helpful!
<NixOS_GitHub>
[nixpkgs] chris-martin opened pull request #31778: nixpkgs manual: how to make a patch file with git (master...pr/patch) https://git.io/vF9tN
NixOS_GitHub has left #nixos []
dywedir has joined #nixos
<LnL>
yeah, with the structured maintainers thing it could even ping the correct people
<gchristensen>
we can start simple and go from there :P
<sphalerite>
can anyone recommend a music player with a small dep closure? Particularly no X stuff
<gchristensen>
mpd?
<sphalerite>
gchristensen: has X deps, and particularly mesa
<gchristensen>
wat
<gchristensen>
_why_?
<sphalerite>
which is problematic because it depends on llvm which takes about 7 hours to build (and fails to build!) on my chromebook :p
<LnL>
there are also a bunch of packages that look at nixpkgs.config
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite>
right, the dependency is because mpd depends on SDL2 and SDL2 depends on mesa
<LnL>
wat
<MP2E>
ohh I see.
<MP2E>
hm
<LnL>
why does it depend on sdl?
<sphalerite>
ffmpeg
<symphorien>
did you try to override mesa with null ?
kp__ has joined #nixos
<samae>
Has anyone ever successfully installed NixOS through using a serial console?
<sphalerite>
symphorien: ffmpeg also won't be fun to build probably. I'll give it a shot without ffmpeg first, although I don't have high hopes for that
Itkovian has joined #nixos
<MP2E>
ffmpeg is a lot smaller than llvm, I think it'd be best to override the ffmpeg derivation being passed in to set sdlSupport to false
<MP2E>
not sure why sdlSupport is true by default, come to think of it... I wonder if any of our programs actually need it
<MP2E>
and if not, does anyone use ffplay?
mizu_no__ has joined #nixos
<sphalerite>
ooh, I could also try oggdec + aplay
<sphalerite>
kdenlive uses ffplay iirc
<symphorien>
also environment.noXlibs could switch alsaSupport in ffmpeg, then
<MP2E>
ah.. good to know. hm
<symphorien>
*sdlsupport
tgunb has joined #nixos
<tgunb>
@pstn: you there?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] robertodr opened pull request #31781: Update HDF5 and add option to compile Fortran2003 interface (master...hdf5-fortran-2003) https://git.io/vF9mN
NixOS_GitHub has left #nixos []
<pstn>
tgunb: Yeah
<tgunb>
can i have your openage nix expression?
<pstn>
I already answered you, I think. I still got the expression but it's pretty bit rotten. I'm going to work on it this weekend though and will be creating a merge request if it works out.
<eel>
context: trying to install nixos on a shared server in my home directory without root or admin priveleges
<tilpner>
Your link doesn't mention installing NixOS, only Nix
<eel>
sorry i meant nix
<eel>
that's all i want
<tilpner>
I have no experience with that, but anyone who does will probably need more information than "are incorrect", e.g. errors
mizu_no_oto has quit [(Client Quit)]
chreekat has joined #nixos
<joncfoo>
I have a shell.nix file that I'm editing and I want to check that it will work when run - is there a syntax checker/linter?
<eel>
tilpner well the CLI has changed. proot no longer just accepts a filename as an argument
<eel>
so it gives some error about "not a regular file"
<eel>
therefore i have no idea what combination of options and arguments are correct to emulate the old behavior
<amfl>
Hi guys - Just installed NixOS for the first time on my desktop. My logitech g700s worked fine in the livecd, but not when installed. Any quick ideas for a fix?
<amfl>
I would normally research more thoroughly before asking, but that is difficult without a mouse :)
MP2E has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 260 seconds)]
filterfish has quit [(Ping timeout: 268 seconds)]
filterfish has joined #nixos
<tilpner>
amfl - Does "nixos-option hardware.enableRedistributableFirmware" output "Value: true"?
<amfl>
tilpner: Yes
<tilpner>
amfl - The ISO imports all-hardware.nix, which adds a bunch of kernel modules and enabled redistributable firmware, but IIRC the generated config should have that too