<clever> nixos/modules/security/pam.nix: target = "pam.d/${pamService.name}";
newhoggy2 has quit [(Remote host closed the connection)]
<clever> in this case, its hidden under a function, that generates entries for environment.etc
newhoggy2 has joined #nixos
xadi has quit [(Client Quit)]
<clever> there must be something else setting security.pam.services.passwd
<eqyiel[m]> clever: thanks
christine_ has quit [(Ping timeout: 240 seconds)]
<eqyiel[m]> yeah, `grep -d recurse -i 'pam.services.passwd'` can't find anything
<clever> the tricky part, is that it can also be services = { passwd = {
<clever> with newlines inserted
<eqyiel[m]> oh, derp
<clever> i just did a grep for "passwd" in all nixos modules
<eqyiel[m]> so /etc/pam.d/passwd is the result of this https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/security/pam.nix#L230 evaluated with no arguments?
newhoggy2 has quit [(Ping timeout: 268 seconds)]
newhoggy2 has joined #nixos
<clever> looks like it
<clever> and you can add arguments by just setting security.pam.services.passwd.foo = "bar";
<eqyiel[m]> thanks!
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
Maxdamantus has joined #nixos
glines has joined #nixos
newhoggy2 has quit [(Ping timeout: 250 seconds)]
<mguentner> let's say a derivation A has a propagatedBuildInput and this derivation is used inside B. Is there a way to "invalidate" or ignore this inside B?
<clever> simplest thing i can think of, dont add A to buildInputs, put it on some other variable (and then somehow tell configure where to find it)
<clever> mguentner: the findInputs function will add something to $PATH, $NIX_CFLAGS, and also recursively check the propagated inputs
<mguentner> clever: ok. thx
<clever> mguentner: and line 286 is what does the recursing
<clever> so in theory, you could do preConfigure = "findInputs ${A} nativePkgs not-propagated-native-build-inputs";
<clever> this will tell it to search the wrong file for propagated inputs, so it wont find them
<clever> but it will still set everything else up normaly
newhoggy2 has joined #nixos
jmeredith has quit [(Quit: Connection closed for inactivity)]
<ben> does anyone use the evolution email client? it's not working for me and im curious whether its something on my machine.
<ben> most of it seems to work except the area where it is supposed to render emails
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
jsgrant has quit [(Quit: Konversation terminated!)]
eacameron has quit [(Ping timeout: 248 seconds)]
markus1199 has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/v1WNZ
<NixOS_GitHub> nixpkgs/master 67332d4 Franz Pletz: lib: fix typo
<NixOS_GitHub> nixpkgs/master e3d54be Franz Pletz: dhcpcd: 6.11.3 -> 6.11.5
<NixOS_GitHub> nixpkgs/master 2401f06 Franz Pletz: containers: disable dhcpcd on veth bridge interfaces
<gchristensen> fpletz: please see PMs :)
markus1189 has quit [(Ping timeout: 265 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #20770: services: IPFS: add test and more config parameters (master...more_ipfs) https://git.io/v1Lmn
<fpletz> gchristensen: sure, I'm just not always looking into irc when working, too many joined channels, too many hilights… ;)
<gchristensen> :)
<NixOS_GitHub> [nixpkgs] sternenseemann opened pull request #20888: nixos/pulseaudio: make daemon.conf configurable (master...pulse) https://git.io/v1WNF
JonReed has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
Fare has quit [(Remote host closed the connection)]
Fare has joined #nixos
jmiven has quit [(Quit: co'o)]
jmiven has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
newhoggy2 has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #20889: [Do not merge*] Restore stdenv debugging at the cost of more complexity (master...stdenv-debug) https://git.io/v1WAK
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #20278: shashlik: init at 0.9.3 (master...master) https://git.io/vXgdW
iyzsong has joined #nixos
kier has quit [(Remote host closed the connection)]
msd has joined #nixos
xadi has joined #nixos
newhoggy2 has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Remote host closed the connection)]
paroneayea has quit [(Read error: Connection reset by peer)]
paroneayea has joined #nixos
Fare has quit [(Quit: Leaving)]
eacameron has joined #nixos
zml has quit [(Ping timeout: 240 seconds)]
ebzzry has joined #nixos
msd has quit [()]
<sternenseemann> Is there a standard way to add certificates to the default ca-certificates-bundle?
<gchristensen> ok I'm feeling really dumb. How do I install hopenpgp-tools from Haskell?
<gchristensen> sternenseemann: I don't believe so
herzmeister has quit [(Quit: Leaving)]
ilja_kuklic has quit [(Ping timeout: 256 seconds)]
herzmeister has joined #nixos
mizu_no_oto has joined #nixos
zml has joined #nixos
mizu_no_oto has quit [(Client Quit)]
glines has quit [(Ping timeout: 260 seconds)]
xwvvvvwx has joined #nixos
jensens has quit [(Ping timeout: 250 seconds)]
herzmeister has quit [(Read error: Connection reset by peer)]
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
herzmeister has joined #nixos
derjohn_mobi has joined #nixos
<fpletz> sternenseemann: security.pki.certificates or security.pki.certificateFiles
alx741 has joined #nixos
<shachaf> Am I supposed to be able to install gcc and clang together?
<clever> shachaf: you usualy dont install compilers on nixos, you load up a shell that has it available
<clever> shachaf: like nix-shell -p gcc or nix-shell -p clang
alx741_ has quit [(Ping timeout: 260 seconds)]
<shachaf> I'm just using Nix, not NixOS.
<shachaf> But I guess the same applies?
<clever> yep
derjohn_mob has quit [(Ping timeout: 256 seconds)]
ebzzry has quit [(Ping timeout: 245 seconds)]
<shachaf> I see.
<shachaf> Can I also switch between multiple versions of the same package that way?
<clever> yep
<shachaf> I've yet to figure out how to do that.
<clever> nix-shell -p gcc44 vs nix-shell -p gcc5 as an example
<clever> and for clang, you have clang_33 clang_34 clang_35 clang_36 clang_37
<shachaf> nix-shell overwrites my trap foo EXIT handler. :-(
zml has quit [(Ping timeout: 240 seconds)]
<shachaf> I see. Can't trust my .bashrc anymore.
pikajude has quit [(K-Lined)]
simpson has quit [(K-Lined)]
Aexoden has quit [(K-Lined)]
pikajude has joined #nixos
<shachaf> Another question: Can multiple users use Nix on the same machine? It seems that it relies on a global /nix directory to work well.
<clever> yes
<clever> root will need to own all of /nix, and you need to export NIX_REMOTE=daemon
<clever> and run nix-daemon as root
<clever> it will keep everybody playing by the rules and manage writes to the store
<shachaf> I see.
simpson has joined #nixos
Aexoden has joined #nixos
glines has joined #nixos
<shachaf> Why is a global store required in the first place? Is it because of absolute /nix paths in binaries and maybe other things like that?
<clever> mostly the absolute paths, and to share things between users
<clever> caching purposes
<shachaf> Can I manage my own software using Nix but have it link to system libraries rather than putting everything in Nix?
<clever> the gcc in nix will avoid using /usr whenever possible
<shachaf> Well, say I want to compile my own software with system gcc.
<clever> ah
<clever> you can probably use that and just output to $out/bin/foo
<shachaf> Is that generally not supported -- it wants to manage the whole dependency tree as much as possible?
<clever> yeah
<clever> so it knows when something affecting the build has changed, and can rebuild it
<shachaf> Right, I can see why that's desirable, but I wasn't sure whether it was required.
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
Fare has joined #nixos
zagy1 has joined #nixos
<Fare> OK, so somehow I have to reload the modules for sound and wifi every time I reboot, sometimes when I resume. Is it a known bug?
zagy has quit [(Ping timeout: 258 seconds)]
<shachaf> I just uploaded a new package to Hackage. Is there a way I can install it in Nix easily?
<Fare> Also, does hibernate work on encrypted lvm?
<clever> shachaf: you need to wait until the hackage nix file gets regenerated, or manualy use something like cabal2nix
<shachaf> OK, I'll wait.
<clever> Fare: i know random crypto on swap doesnt work with hibernate
<shachaf> How often does it get regenerated?
<clever> not sure
<Fare> clever, is there any way to get crypto hibernate to work?
Shou has quit [(Ping timeout: 260 seconds)]
<clever> Fare: i havent tried luks yet, so i dont have any solid answers
<Fare> I might as well leave everything unencrypted, if swap is cleartext
<Fare> I'm using luks+lvm
<shachaf> Anyway, this isn't urgent.
<shachaf> Thanks for all the answers!
<clever> Fare: you can use normal (non-random) crypto on the swap (as in, you have a passphrase for swap)
<clever> Fare: the issue, is that the random crypto has a new key when you come out of hibernation, and now it cant read swap
Shou has joined #nixos
<Fare> can't I use lvm to share the passphrase with everything?
<clever> possibly
<Fare> I don't think I need "random crypto"
<clever> the random crypto on swap is more of a forward secrecy thing
<clever> so if soembody obtains your laptop, and extracts the passphrase from you, they can now extract a lot of data from the swap
<Fare> Actually, I need a harddisk and/or fs that uses new random salt every time it writes a sector
<Fare> but still the same master passphrase
<clever> i have recetly been messing with virtualbox
<clever> i currently have network booting enabled for nixos, so every virtualbox i turn on drops into a nixos shell
<clever> as if it had the iso
Sigma has quit [(Quit: ZNC - http://znc.in)]
<Fare> and my touchpad is not recognized as a touchpad by KDE and cannot be configured by it, and nixos sees any click as button 1... sigh.
<shachaf> Another question: I want to install vim and also some vim modules with nix.
<clever> shachaf: one sec
<shachaf> It looks like there's something called vim_configurable, but apparently it requires me to manage my vimrc in Nix?
<shachaf> I'd just like to use my regular .vimrc
Sigma has joined #nixos
<Rotaerk> what file is that, clever?
zml has joined #nixos
<shachaf> clever: That doesn't seem to address the issue.
<clever> Rotaerk: thats how i configure vim on nixos
<Rotaerk> new to nixos myself, didn't think a user's config files were managed through any nix features
<Rotaerk> thought it was just system level stuff
<clever> Rotaerk: this doesnt directly manage ~/.vimrc, is instead creates a build of vim with some defaults built into it
newhoggy2 has joined #nixos
<clever> so it works without a .vimrc file
<Rotaerk> oh, I see
<Rotaerk> but you CAN still use a .vimrc if you want
<clever> i suspect you can, havent tried though
<Rotaerk> is there an advantage to building it in like that?
<clever> you dont have to remember to install a ~/.vimrc when setting up a new machine
<clever> it just works, from the moment you installed nixos
<Rotaerk> k
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
goodwill has quit [(Ping timeout: 260 seconds)]
<Rotaerk> hmm do people ever manage their dot-files with nix?
<Rotaerk> for instance, build a repository containing dot-files, and then make a nix package that knows where to put them when it's installed
Sigma has quit [(Quit: ZNC - http://znc.in)]
<clever> there are some people working on that kind of thing
<gchristensen> clever: do you have good resources for using GPG correctly?
<clever> gchristensen: i dont use gpg much, and its a bit of an anoyance, because the main passphrase is managed by lastpass, and lastpass is only configured in chrome, and chrome takes an hour to load
<clever> i need to configure things better
<clever> made some bad choices, lol
<gchristensen> heh
<Rotaerk> hmm that's over a year old
<Rotaerk> wonder how it is now
Sigma has joined #nixos
Sigma has quit [(Remote host closed the connection)]
lverns has joined #nixos
Sigma has joined #nixos
Sigma has quit [(Remote host closed the connection)]
Sigma has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
<gchristensen> peti: is there a workaround for https://github.com/stbuehler/haskell-nettle/issues/8 ?
RchrdB has joined #nixos
<shachaf> Is python26 actually broken, or am I doing something wrong with nix-shell -p python26?
xwvvvvwx has quit [(Quit: leaving)]
johnsona` has joined #nixos
lverns has quit [(Quit: Konversation terminated!)]
Piece_Maker has joined #nixos
johnsonav has quit [(Ping timeout: 240 seconds)]
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Piece_Maker is now known as Acou_Bass
TimePath[m] has quit [(Read error: Connection reset by peer)]
flo[m] has quit [(Read error: Connection reset by peer)]
Yaniel has quit [(Read error: Connection reset by peer)]
Ralith has quit [(Read error: Connection reset by peer)]
mythmon- has quit [(Write error: Connection reset by peer)]
M-wkennington has quit [(Write error: Connection reset by peer)]
bendlas has quit [(Write error: Connection reset by peer)]
unlmtd[m] has quit [(Read error: Connection reset by peer)]
cornu has quit [(Read error: Connection reset by peer)]
Guest42721 has quit [(Read error: Connection reset by peer)]
baldo[m] has quit [(Write error: Connection reset by peer)]
SShrike has quit [(Write error: Connection reset by peer)]
musicmatze[m] has quit [(Write error: Connection reset by peer)]
Shell has quit [(Write error: Connection reset by peer)]
primeos[m] has quit [(Read error: Connection reset by peer)]
regnat[m] has quit [(Read error: Connection reset by peer)]
offlinehacker[m] has quit [(Read error: Connection reset by peer)]
jack[m] has quit [(Write error: Connection reset by peer)]
ntninja has quit [(Write error: Connection reset by peer)]
saintaquinas[m] has quit [(Write error: Connection reset by peer)]
davidar has quit [(Write error: Connection reset by peer)]
danielrf[m] has quit [(Read error: Connection reset by peer)]
Kiko[m] has quit [(Read error: Connection reset by peer)]
masia[m] has quit [(Read error: Connection reset by peer)]
M-roblabla has quit [(Read error: Connection reset by peer)]
org-rubo78[m] has quit [(Read error: Connection reset by peer)]
icetan has quit [(Read error: Connection reset by peer)]
bennofs has quit [(Read error: Connection reset by peer)]
Grill[m] has quit [(Write error: Connection reset by peer)]
M-manveru has quit [(Write error: Connection reset by peer)]
guanjian[m] has quit [(Write error: Connection reset by peer)]
bachp has quit [(Write error: Connection reset by peer)]
prose[m] has quit [(Write error: Connection reset by peer)]
MrAxilus[m] has quit [(Write error: Connection reset by peer)]
aspiwack[m] has quit [(Read error: Connection reset by peer)]
M-appservice_irc has quit [(Read error: Connection reset by peer)]
rycee[m] has quit [(Read error: Connection reset by peer)]
cinderfish[m] has quit [(Write error: Connection reset by peer)]
M-jackal has quit [(Read error: Connection reset by peer)]
jcl[m] has quit [(Read error: Connection reset by peer)]
M41px[m] has quit [(Write error: Connection reset by peer)]
nhooyr has quit [(Write error: Connection reset by peer)]
M-schneeflocke has quit [(Read error: Connection reset by peer)]
av[m] has quit [(Read error: Connection reset by peer)]
M-Shrike has quit [(Write error: Connection reset by peer)]
eqyiel[m] has quit [(Read error: Connection reset by peer)]
chexxor_web[m] has quit [(Write error: Connection reset by peer)]
regnt[m] has quit [(Write error: Connection reset by peer)]
newhoggy2 has joined #nixos
jgrasser has quit [(Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)]
jgrasser has joined #nixos
PragCyph1 has joined #nixos
eqyiel[m] has joined #nixos
<eqyiel[m]> is it necessary to use `super.pkgs` in `super.pkgs.lib.overrideDerivation` here? https://gist.github.com/binarin/380eda7b08a1c230abbc186887fc5823#file-configuration-nix-L3
<eqyiel[m]> I mean, if lib is in scope already - wouldn't it only matter if you were overriding lib?
newhoggy2 has quit [(Remote host closed the connection)]
<clever> eqyiel[m]: i would always use the lib passed into the module, simpler
<clever> eqyiel[m]: that lib is the final one, after all overrides
<eqyiel[m]> clever: ty
<NixOS_GitHub> [nixpkgs] yurrriq closed pull request #20663: hexRegistrySnapshot: d58a937 -> e88db1f (master...update-hex-registry-snapshot) https://git.io/v1vyl
PragCyphr has quit [(Ping timeout: 246 seconds)]
garbas has quit [(Quit: WeeChat 1.6)]
Fare has quit [(Ping timeout: 260 seconds)]
agjacome has quit [(Quit: leaving)]
mguentner has quit [(Quit: WeeChat 1.6)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
Fare has joined #nixos
<eacameron> clever: Canonized: https://github.com/3noch/nix-vbox-build-slave
sdothum has joined #nixos
<clever> eacameron: nice
hexagoxel has quit [(Ping timeout: 245 seconds)]
newhoggy2 has joined #nixos
mguentner has joined #nixos
hexagoxel has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
xadi has quit [(Quit: Leaving.)]
regnat[m] has joined #nixos
derjohn_mobi has quit [(Ping timeout: 244 seconds)]
mguentner2 has joined #nixos
Fare has quit [(Quit: Leaving)]
mguentner has quit [(Ping timeout: 250 seconds)]
derjohn_mobi has joined #nixos
mizu_no_oto has joined #nixos
SShrike has joined #nixos
masia[m] has joined #nixos
nhooyr has joined #nixos
bachp has joined #nixos
mythmon- has joined #nixos
jack[m] has joined #nixos
M-wkennington has joined #nixos
ntninja has joined #nixos
av[m] has joined #nixos
M-roblabla has joined #nixos
Shell has joined #nixos
aspiwack[m] has joined #nixos
Ralith has joined #nixos
TimePath[m] has joined #nixos
Grill[m] has joined #nixos
MrAxilus[m] has joined #nixos
Kiko[m] has joined #nixos
Guest72563 has joined #nixos
flo[m] has joined #nixos
org-rubo78[m] has joined #nixos
primeos[m] has joined #nixos
musicmatze[m] has joined #nixos
prose[m] has joined #nixos
chexxor_web[m] has joined #nixos
guanjian[m] has joined #nixos
bendlas has joined #nixos
davidar has joined #nixos
M-jackal has joined #nixos
M-Shrike has joined #nixos
unlmtd[m] has joined #nixos
M41px[m] has joined #nixos
bennofs has joined #nixos
cornu has joined #nixos
M-manveru has joined #nixos
saintaquinas[m] has joined #nixos
Yaniel has joined #nixos
jcl[m] has joined #nixos
offlinehacker[m] has joined #nixos
rycee[m] has joined #nixos
baldo[m] has joined #nixos
M-appservice_irc has joined #nixos
regnt[m] has joined #nixos
cinderfish[m] has joined #nixos
danielrf[m] has joined #nixos
M-schneeflocke has joined #nixos
icetan has joined #nixos
fiddlerwoaroof has quit [(Ping timeout: 256 seconds)]
kyren has quit [(Read error: Connection reset by peer)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
fiddlerwoaroof has joined #nixos
Shou has quit [(Ping timeout: 250 seconds)]
kyren has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
takle has joined #nixos
<clever> viric, Dezgeg: sucesses!, i manualy cross-compiles a kernel under nix-shell, and it boots just fine
<clever> Dezgeg: something must be wrong with the kernel in nixpkgs
takle has quit [(Ping timeout: 250 seconds)]
<eacameron> clever: Wow...that's amazing.
<eacameron> clever: Incredible.
<clever> there is a package for it in nixpkgs, but it must have something wrong with it
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<eacameron> clever: So you can just hop into a different arch?
<eacameron> clever: I have no idea how that's even possible.
<clever> gccCrossStageStatic is the derivation for a cross-compiler
<clever> this expression configures it to target arm
<clever> but you need an arm cpu or qemu to run the kernel
<eacameron> clever: Ah so this doesn't lat you run an arm kernel
<clever> yeah
<clever> [clever@amd-nixos:~]$ nix-shell -p qemu
<clever> [nix-shell:~]$ qemu-system-arm
<clever> but this does
Wizek has quit [(Ping timeout: 265 seconds)]
<c74d> If I want to add a program to pkgs.perlPackages that depends on some other Perl modules that will need to be added as well, should I file a PR for each, or just one PR?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
goodwill has joined #nixos
eacameron has quit [(Remote host closed the connection)]
glines has quit [(Ping timeout: 268 seconds)]
<Rotaerk> clever, wouldn't configuring an application like vim with stuff that normally goes into the .vimrc, but doing it in the nix package, have the disadvantage of creating a build per user where the only difference is their preferences?
<Rotaerk> just seems like a lot of duplication for the sake of one text file
<clever> Rotaerk: that build of vim is 5kb in size
<clever> and thats the filesystem rounding up
<Rotaerk> so you wouldn't approach it that way for something larger
<clever> its a 2 line bash script, exec /nix/store/33kvljzvmq0h9gw3x5ysa7qycb9kgvlp-vim_configurable-8.0.0005/bin/vim -u /nix/store/frha47l567ral1a7v5xc9c75x3g9wk8g-vimrc "$@"
<clever> so each user, gets their own 2 line bash script, and their own vimrc, but they all share the actual vim build
<Rotaerk> oh
<Rotaerk> I see; cool
<Rotaerk> btw, that file you pasted ... what references that? what's the entry point into that package
<clever> the one i pasted earlier is a nixos module
<clever> so i add it to the imports list of configuration.nix
<Rotaerk> hmm is there some way to make it user-specific
<clever> that configures some bash aliases to map vi -> vim, and to install vim system wide
<clever> you can extract part of it and put it into ~/.nixpkgs/config.nix
<clever> and then install it with nix-env
<Rotaerk> ah, k
<Rotaerk> thanks
<clever> Rotaerk: the plugin options in chrome/firefox work the same way, because compiling chrome takes forever
<Rotaerk> god, I can imagine
<jasom> so, nix-shell can't seem to find <nixpkgs> anymore; did something change? I'm getting a error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
edvorg has joined #nixos
<clever> jasom: what does echo $NIX_PATH say?
<jasom> /nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<clever> nixos?
<jasom> I'm running nixos, yes
<clever> ah that is the current path, i thought it had a nixpkgs entry
<clever> jasom: what does "ls /nix/var/nix/profiles/per-user/root/channels/nixos" say?
<jasom> no such file or directory
<clever> what about sudo nix-channel --list ?
Ralith_ has quit [(Ping timeout: 246 seconds)]
<c74d> If I want to add a program to pkgs.perlPackages that depends on some other Perl modules that will need to be added as well, should I file a PR for each, or just one PR?
<clever> and theres the problem
<clever> the channel name needs to be nixos
<clever> sudo nix-channel --add https://nixos.org/channels/nixos-16.09 nixos
<clever> sudo nix-channel --remove nixos-16.09
<jasom> clever: still no /nix/var/nix/profiles/per-user/root/channels/nixos
<clever> jasom: and sudo nix-channel --update
<jasom> clever: *duh*
goodwill has quit [(Ping timeout: 256 seconds)]
goodwill has joined #nixos
newhoggy2 has joined #nixos
sitedyno has quit [(Ping timeout: 244 seconds)]
Ralith_ has joined #nixos
sitedyno has joined #nixos
<Rotaerk> hmm the nix manual uses <nixpkgs> in a bunch of its examples, but doesn't explain what it ... is
<Rotaerk> one example puts it in: nix-env -f "<nixpkgs>"
<Rotaerk> but the man page says that -f expects a file path to a nix expression
<clever> Rotaerk: try evaluation <nixpkgs> inside nix-repl
dash has quit [(Ping timeout: 260 seconds)]
dash has joined #nixos
newhoggy2 has quit [(Ping timeout: 246 seconds)]
<Rotaerk> clever, okay, that evaluates to a path; don't see that kind of syntax, i.e. <blah>, documented anywhere
<Rotaerk> or is that the only one of its kind
<Rotaerk> ahh, thanks
<Rotaerk> NIX_PATH=nixpkgs=/home/eelco/Dev/nixpkgs-branch:/etc/nixos
<Rotaerk> wonder how you add other things besides nixpkgs to it... doesn't specify the separator
<clever> its :
<clever> and you can use -I on the commandline to append things
<clever> [root@router:/tftproot/try2]# nix-build netboot_rpi3.nix -o result --show-trace -I nixpkgs=/tftproot/try2/nixpkgs/ -Q
edvorg has quit [(Read error: Connection reset by peer)]
<clever> this is something i was doing recently, where i wanted to force which nixpkgs to use
<clever> i rarely touch NIX_PATH directly
<Rotaerk> well it NIX_PATH contains an assignment to nixpkgs, and you can assign multiple things to nixpkgs by separating them with :
<Rotaerk> but it doesn't say how to assign *to* more than one thing within NIX_PATH
<clever> i think duplicate nixpkgs= entries override eachother
<clever> so it doesnt make sense to have 2 nixpkgs= entries within $NIX_PATH
<Rotaerk> e.g. NIX_PATH=nixpkgs=foo:bar:baz&somethingelse=blah;huh
<Rotaerk> and then <somethingelse>
<Rotaerk> s/blah;huh/blah:huh/
<clever> that tells it to find <nixpkgs> in foo, and to also search for things in bar, the & will either get parsed by your shell, or, its part of the directory "baz&someting" but thats before an = token
<clever> so its a bit confusing as to what that would do in such an example
<Rotaerk> no no, the & was a made-up separator, since it doesn't seem to specify one in the doc
<clever> the separator is just :
<clever> NIX_PATH
<clever> A colon-separated list of directories used to look up Nix
<Rotaerk> so NIX_PATH=nixpkgs=foo:bar:somethingelse=baz:bim
<clever> heh, second word in the paragraph
<Rotaerk> so now, nixpkgs includes foo and bar, and somethingelse includes baz and bim
<clever> so if you try to resolve <nixpkgs> it will use foo
<clever> and if you try to resolve <somethingelse> it will use baz
<clever> in all <other> cases, it will look for bar/other, and bim/other
<clever> and return the first one it can find
<Rotaerk> hmm, it says that if I do: NIX_PATH=nixpkgs=/foo:/bar, it will search both /foo and/bar, when you specify <nixpkgs>
<Rotaerk> but you seem to be indicating that nixpkgs is *just* /foo, and then /bar is for "other" things
<clever> yeah, when you fo nixpkgs=/foo, it will strip the nixpkgs off, and then look in /foo
<clever> and in this exact case, there is nothing left, so it uses /foo directly
<clever> [clever@amd-nixos:/tmp]$ NIX_PATH=nixpkgs=foo:bar:baz nix-instantiate --find-file nixpkgs/z
<clever> error: file ‘nixpkgs/z’ was not found in the Nix search path (add it using $NIX_PATH or -I)
<clever> and you can also specify which file under nixpkgs you want, the above only works if foo/z exists
<Rotaerk> hmm
<clever> or bar/nixpkgs/z
<clever> it did find a nixpkgs (via nixpkgs=foo), but that lacked a z, so it tried the next entry in the search path, bar
<clever> and since bar lacks a nixpkgs=, it looked in bar/nixpkgs
<clever> its similar to how #include <stdio.h> looks in /usr/include because of -I/usr/include
jacob_ has joined #nixos
<clever> but you can also rename top-level things its looking for, so your nixpkgs dir doesnt have to be called nixpkgs
jacob_ is now known as Guest80171
<clever> -I nixpkgs=/home/clever/random-checkout/
<Rotaerk> hmm still confused about how this works exactly, but I do see my nixos NIX_PATH has two identifiers in it
<Rotaerk> nixpkgs and nixos-config
<Rotaerk> but when I have foo=a:b, <foo> evaluates to a only, not a:b
fiddlerwoaroof has quit [(Ping timeout: 258 seconds)]
<clever> when you load the nixos expressions via nixos-rebuild, it will try to import <nixos-config> to find your configuration.nix
<clever> yeah, : is the seperator, b is a second thing to search in
<clever> not connected to the foo=a entry
tinkyholloway has quit [(Ping timeout: 260 seconds)]
<Rotaerk> oh, so when you do foo=, it's not assigning the entire colon-separated list to foo
tinkyholloway has joined #nixos
<clever> yeah
<clever> your only assigning a single entry
<Rotaerk> k
fiddlerwoaroof has joined #nixos
<Rotaerk> yea that explains why there's no second separator, then :P
newhoggy2 has joined #nixos
<Rotaerk> well I was always aware there was a : separator, but I thought it was a list of lists and that the : separated the elements of the inner lists
<Rotaerk> err was responding to history, sorry
fiddlerwoaroof has quit [(Ping timeout: 250 seconds)]
systemfault has quit [(Quit: Bye!)]
fiddlerwoaroof has joined #nixos
newhoggy2 has quit [(Ping timeout: 260 seconds)]
RchrdB has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] 8573 opened pull request #20891: perlPackages.Swim: init at 0.1.44 (master...8573/pkg/add/perlPackages/Swim/1) https://git.io/v1lUN
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to release-16.09: https://git.io/v1lTB
<NixOS_GitHub> nixpkgs/release-16.09 a6f741d Andreas Herrmann: matplotlib: Fix TkAgg...
<NixOS_GitHub> nixpkgs/release-16.09 6a9f087 Frederik Rietdijk: Merge pull request #20775 from aherrmann/pr_matplotlib_tkagg_stable...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v1lTE
<NixOS_GitHub> nixpkgs/master ffdf7ec Maximilian Güntner: cpp-ipfs-api: init at 2016-11-09...
<NixOS_GitHub> nixpkgs/master ab39c29 Frederik Rietdijk: Merge pull request #20879 from mguentner/cpp_ipfs_api...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v1lTu
<NixOS_GitHub> nixpkgs/master 629b979 romildo: adapta-backgrounds: init at 0.4.0.6
<NixOS_GitHub> nixpkgs/master 3c731f4 Frederik Rietdijk: Merge pull request #20877 from romildo/new.adapta-backgrounds...
RchrdB has joined #nixos
roconnor has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] rycee pushed 4 new commits to master: https://git.io/v1lTQ
<NixOS_GitHub> nixpkgs/master 64aabae Robert Helgesson: perl-CryptX: 0.041 -> 0.044
<NixOS_GitHub> nixpkgs/master 0dc4e70 Robert Helgesson: perl-Math-BigInt: 1.999801 -> 1.999802
<NixOS_GitHub> nixpkgs/master 7cdf160 Robert Helgesson: perl-Test2-Suite: 0.000052 -> 0.000061
Itkovian has joined #nixos
vcunat has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1lkw
<NixOS_GitHub> nixpkgs/master 33abc70 Vladimír Čunát: xorg-server variants: eradicate symlink to /var/tmp...
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-wip from 91f8ca4 to 98524d9: https://git.io/vzaOS
<NixOS_GitHub> nixpkgs/python-wip e951644 Frederik Rietdijk: pythonPackages: use fixed-point combinator
<NixOS_GitHub> nixpkgs/python-wip 98524d9 Frederik Rietdijk: Python interpreters: add pkgs attribute
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #20860: erlang_basho_R16: B03-1 -> B02-8 (master...correctBashoErlangVersion) https://git.io/v1cXm
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1lIf
<NixOS_GitHub> nixpkgs/master 84d737c Vladimír Čunát: clisp: remove Darwin from meta.platforms for now...
jsgrant has joined #nixos
<viric> clever: maybe the nixpkgs kernel is too old
<NixOS_GitHub> [nixpkgs] vcunat pushed 17 new commits to staging: https://git.io/v1lI8
<NixOS_GitHub> nixpkgs/staging 1960fb5 Vladimír Čunát: pciutils: 3.5.1 -> 3.5.2
<NixOS_GitHub> nixpkgs/staging 8f89fe6 Vladimír Čunát: harfbuzz: 1.3.2 -> 1.3.3
<NixOS_GitHub> nixpkgs/staging 3861886 Vladimír Čunát: libjpeg(-turbo): 1.5.0 -> 1.5.1
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v1lIa
<NixOS_GitHub> nixpkgs/master 374ac13 Frederik Rietdijk: Docs: fix Python docs
<viric> clever: feel free to update it
viric has quit [(Quit: reboot)]
roconnor has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1ltG
<NixOS_GitHub> nixpkgs/master d34ccd1 Vladimír Čunát: xf86-input-synaptics: 1.8.3 -> 1.9.0...
<vcunat> ah, now, I screwed up the commit
<Havvy> vcunat: Can you undo it in the reflog?
<vcunat> I pushed it publicly, as you can see above
<vcunat> it will be recorded in the history "forever"
<Havvy> Unpush it.
<vcunat> I pushed a revert.
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1ltB
<NixOS_GitHub> nixpkgs/master bf220b1 Vladimír Čunát: Revert "xf86-input-synaptics: 1.8.3 -> 1.9.0"...
<vcunat> Years ago I would've force-pushed back to HEAD^, if noticed this quickly, but that's disallowed in master nowadays.
<Havvy> Ah.
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1ltg
<NixOS_GitHub> nixpkgs/master 3b3daf4 Vladimír Čunát: xf86-input-synaptics: 1.8.3 -> 1.9.0...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1ltP
<NixOS_GitHub> nixpkgs/master 1b158bd Vladimír Čunát: xf86-input-*: update drivers not in common use
<MichaelRaskin> Fare: do you have the synaptics enabled?
<MichaelRaskin> Without it your touchpad is recognized as just a mouse…
latk has joined #nixos
FRidh has joined #nixos
<FRidh> is pkgs.overridePackages gone from unstable / master ?
<vcunat> FRidh: I do see it in there.
kampfschlaefer has joined #nixos
takle has joined #nixos
<FRidh> vcunat: I can't use it since e4cd45a30c92a19a240df835cdaf6da5f76ea9fc is merged
<vcunat> That's well possible. I only checked for existence of the identifier.
<vcunat> Best mention it on the PR.
JagaJaga has joined #nixos
<FRidh> vcunat: it seems the new overridePackages doesn't override the package set, but the top-level set
takle has quit [(Ping timeout: 258 seconds)]
<vcunat> I haven't gotten yet to read the PR at all, even though I was pinged on it long ago.
toogley has quit [(Quit: toogley)]
zagy1 has quit [(Quit: Leaving.)]
ilja_kuklic has joined #nixos
takle has joined #nixos
<ronny> hi
zimbatm[m] has joined #nixos
<zimbatm[m]> hi
<ronny> gm zimbatm[m]
<ronny> whats the propper way to install packages with parameters to the nix file changed
<ronny> as far as i can tell, normal override call isnt intended to do that
<zimbatm[m]> what do you mean by "with parameters to the nix file changed"?
<zimbatm[m]> are you changing the file itself?
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1lqX
<NixOS_GitHub> nixpkgs/master cb2c5f4 Vladimír Čunát: xf86-video-ati: 7.7.1 -> 7.8.0...
<ronny> zimbatm[m]: the default,nix of the package has parameters with defautl names, i want to change those, since they alter dependencies and configure options
<ronny> (as in the function callPackage invokes)
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #20858: lxcfs: init at 2.0.4 (master...lxcfs) https://git.io/v1cBD
<ronny> btw, is there an easy wat to ask nix, "what file was pkgs.foo" declared in?
<ronny> *way
<zimbatm[m]> the shortest path I know is to look in pkgs/top-level/all-packages.nix
<Dezgeg> pkgs.foo.meta.position should usually evaluate to something useful
<zimbatm[m]> regarding your first question, if you want to override a package's defaults on the whole nixpkgs level then you can use packageOverrides
<zimbatm[m]> otherwise if it's just A depending on B and you want to change B's defaults then you'll have to A.override { B = B.override { ... }}
<ronny> zimbatm[m]: i want to enble some extra plugins for claws_mail
<FRidh> ronny: create a a function with your choice of parameters and defaults that call the package you want to change the signature of. Then use overridePackages or packageOverrides to fit it into nixpkgs
<zimbatm[m]> are you installing the package using nix-env?
<FRidh> ronny: maybe builtins.functionArgs is useful to you
<ronny> zimbatm[m]: atm yes, but i want to delcare it for systemPackages after finishing experimenting
<ronny> FRidh: i dotn follow, i literally just want to call a package file with one parameter set to true (which defaults to false)
<zimbatm[m]> here you can see how the packageOverrides translate on the user level and then system level: https://nixos.org/wiki/Bluetooth
<FRidh> ronny: if you want to evaluate it with a different value, just use override. If you want to change the default value so future calls use that default value, create a function that calls the package but has the same parameters but with the adjusted defaults, and put this function call where the old call was using overridePackages
beginner has joined #nixos
<ronny> so bascially all i need is putting this into packageOverrides = pgks: { pkg = pkgs.pkg.override { fooValue = changed; } ; }; ?
xwvvvvwx has joined #nixos
<beginner> hey guys, I used i586-mingw32msvc-g++ on ubuntu. Anyone knows how i get mingw running on nix? is it maybe included in the package commoncpp2?
<NixOS_GitHub> [nixpkgs] dezgeg pushed 4 new commits to master: https://git.io/v1lmn
<NixOS_GitHub> nixpkgs/master 8e8742e c74d: perlPackages.ModuleBuildPluggable: init at 0.10...
<NixOS_GitHub> nixpkgs/master e12b2b8 c74d: perlPackages.ModuleBuildPluggablePPPort: init at 0.04...
<NixOS_GitHub> nixpkgs/master 524f7c0 c74d: perlPackages.HTMLEscape: init at 1.10...
newhoggy2 has joined #nixos
<ronny> FRidh: works fabulous, thanks
pikajude has quit [(Quit: Quit)]
pikajude has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #20893: Python: use fixed-point combinator, add pkgs to interpreter (master...fixed3) https://git.io/v1lm2
newhoggy2 has quit [(Remote host closed the connection)]
newhoggy2 has joined #nixos
thc202 has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #20894: Python: rewrite buildPythonPackage, support `flit` format (master...buildpythonpackage_flit) https://git.io/v1lm9
[0x4A6F] has quit [(Ping timeout: 250 seconds)]
[0x4A6F] has joined #nixos
wangoe has joined #nixos
ugjka is now known as UgJkA
<ronny> btw, whats needed to use netflix on firefox on nix?
newhoggy2 has quit [(Remote host closed the connection)]
modulistic has quit [(Remote host closed the connection)]
<sternenseemann> fpletz: thx
<ronny> hmm, why is librewrite not documented?
<ronny> eh redirect
cfricke has joined #nixos
<ronny> hmm
<ronny> whats wrong when i get a error: The option `packageOverrides' defined in `/etc/nixos/modules/convenience.nix' does not exist.
newhoggy2 has joined #nixos
f4 has quit [(Quit: Ухожу я от вас)]
wangoe has quit [(Quit: leaving)]
viric_ has joined #nixos
xwvvvvwx has quit [(Ping timeout: 260 seconds)]
xwvvvvwx has joined #nixos
evangeline has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
<ronny> hmm
<ronny> i figured i have to use nixos.config...
<ronny> however now im suddenly missing a different package :/
wangoe has joined #nixos
<ronny> nm, i had a dypo in a definition :/
wangoe has quit [(Client Quit)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
arjen-jo1 has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
vandenoever has joined #nixos
newhoggy2 has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
newhoggy2 has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
newhoggy2 has joined #nixos
<ronny> FRidh: what you do to the python infrastructure is simply fabulus :)
<NixOS_GitHub> [nixpkgs] vandenoever opened pull request #20895: rustfmt: 0.6.2 -> 0.6.3 (master...rustfmt) https://git.io/v1l3l
Wizek has joined #nixos
<vcunat> FRidh: cython tests seem broken now, probably after the update 41626234
newhoggy2 has quit [(Remote host closed the connection)]
<vcunat> maybe it's only broken on 32-bit
<vcunat> (and it fells that it's just because of bogus tests)
newhoggy2 has joined #nixos
iyzsong has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/v1l3P
<NixOS_GitHub> nixpkgs/master 16a0657 Vladimír Čunát: xf86-video-amdgpu: 1.1.2 -> 1.2.0...
<NixOS_GitHub> nixpkgs/master 8d86d16 Vladimír Čunát: xf86-video-vmware: 13.1.0 -> 13.2.1...
newhoggy2 has quit [(Remote host closed the connection)]
asymmetric has joined #nixos
<asymmetric> is anyone having a problem running blueman? i get "ImportError: No module named cairo"
<asymmetric> blueman-manager to be precise
Rotaerk has quit [(Ping timeout: 244 seconds)]
rardiol has joined #nixos
jgertm_ has joined #nixos
<xwvvvvwx> exit
xwvvvvwx has quit [(Quit: leaving)]
dgn has joined #nixos
iyzsong has joined #nixos
ixxie has joined #nixos
dgn has quit [(Ping timeout: 250 seconds)]
Itkovian has joined #nixos
jgertm_ has quit [(Ping timeout: 260 seconds)]
evangeline has joined #nixos
wangoe has joined #nixos
LuMint has joined #nixos
<FRidh> asymmetric: yep
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 5 new commits to master: https://git.io/v1lGr
<NixOS_GitHub> nixpkgs/master d281a93 Tomas Hlavaty: sbcl: 1.3.10 -> 1.3.11
<NixOS_GitHub> nixpkgs/master 13f82b0 Tomas Hlavaty: picolisp: 15.11 -> 16.6
<NixOS_GitHub> nixpkgs/master 194a2ae Tomas Hlavaty: sbcl: fix disabling threadSupport
rardiol has quit [(Ping timeout: 265 seconds)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v1lG1
<NixOS_GitHub> nixpkgs/master fd6dbd9 Frederik Rietdijk: blueman: add missing pycairo
<FRidh> asymmetric: ^
LuMint has left #nixos ["Leaving"]
jgertm_ has joined #nixos
<FRidh> vcunat: thanks for reporting, I'll check it out. I never test on 32 bit.
<FRidh> thanks ronny
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #20809: sbcl and picolisp updates and improvements (master...master) https://git.io/v1Ypp
zimbatm has quit [(Remote host closed the connection)]
zimbatm has joined #nixos
ilja_kuklic has quit [(Read error: Connection reset by peer)]
ilja_kuklic has joined #nixos
Fare has joined #nixos
jgertm_ has quit [(Ping timeout: 265 seconds)]
newhoggy2 has joined #nixos
xwvvvvwx has joined #nixos
sdothum has joined #nixos
<xwvvvvwx> Hey :)
<xwvvvvwx> So I just installed nixos on my macbook, and I can't seem to get the keyboard layout working right
<xwvvvvwx> I have the hid_apple options set as described here:
<xwvvvvwx> https://wiki.archlinux.org/index.php/Apple_Keyboard#.3C_and_.3E_have_changed_place_with_.5E_and_.C2.B0_.28or_.40_and_.23.2C_or_.60_and_.7E.29
<xwvvvvwx> and my config is here:
<xwvvvvwx> Do I need to do something else?
newhoggy2 has quit [(Ping timeout: 265 seconds)]
<xwvvvvwx> I don't see any difference between my config and the other macbook nix configs that I found online
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1lZp
<NixOS_GitHub> nixpkgs/master a1ae627 Vladimír Čunát: nixos GDM: fix #19896...
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v1lnf
<NixOS_GitHub> nixpkgs/master bb84c68 Jos van den Oever: rustfmt: 0.6.2 -> 0.6.3
arjen-jo1 has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v1lnT
<NixOS_GitHub> nixpkgs/master 63a5dd7 Franz Pletz: firefox-bin-beta: 49.0b1 -> 51.0b6
<NixOS_GitHub> nixpkgs/master c09e043 Franz Pletz: calibre: 2.70.0 -> 2.73.0...
<xwvvvvwx> q
xwvvvvwx has quit [(Quit: leaving)]
<LnL> just the layout or the entire keyboard?
xwvvvvwx has joined #nixos
<gchristensen> gone :(
<xwvvvvwx> back :)
<gchristensen> "LnL | just the layout or the entire keyboard?"
pstn has joined #nixos
<xwvvvvwx> I want to do two things:
<xwvvvvwx> 1. Make the top row act as function keys instead of media keys
jgertm_ has joined #nixos
<xwvvvvwx> 2. Switch the layout so that my backtick key (`) actually oututs a backtick
<xwvvvvwx> right now it prints '<'
<obadz> xwvvvvwx: that first thing is probably set in your bios
<gchristensen> macbooks don't really have bioses, unless it is very old
<xwvvvvwx> According to the arch wiki setting hid_apple fnmode to 2 should fix the first
<xwvvvvwx> as a kernal option
<xwvvvvwx> and setting hid_apple iso_layout to 0 should fix the second
<xwvvvvwx> I added these options in my nix config in the extraModProbeConfig section (https://github.com/xwvvvvwx/dotfiles/blob/master/configuration.nix#L37)
<obadz> boot.extraModprobeConfig = "options hid_apple fnmode=2"; # then ?
<xwvvvvwx> and then did nixos-rebuild switch && reboot
<xwvvvvwx> but the mappings are still wrong
<asymmetric> FRidh: great, thanks, i was taking a stab at it myself :)
<asymmetric> i couldn't find nativeBuildInputs documented anywhere
<asymmetric> what is the difference with buildInputs ?
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #20897: findlib: 1.6.1 → 1.7.1; ocamlbuild: 0.9.2 → 0.9.3 (master...findlib-1.7.1) https://git.io/v1lng
<NixOS_GitHub> [nixpkgs] asymmetric opened pull request #20898: blueman: use "with" expression for variable (master...patch-1) https://git.io/v1ln2
<asymmetric> FRidh: instead of passing pythonPackages as an argument to derivations, wouldn't it be more explicit to pass the individual packages?
Shou has joined #nixos
jgertm_ has quit [(Ping timeout: 244 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<vcunat> it would be harder to override to different python version
<vcunat> now you just exchange pythonPackages
<vcunat> (but it's not completely clear to me which approach is better)
<gchristensen> i think pythonPackages makes more sense since python2Package.A with python3PackageB makes little sense
<FRidh> to make sure all packages are build with the same interpreter we pass in the whole pythonPackages set.
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #20898: blueman: use "with" expression for variable (master...patch-1) https://git.io/v1ln2
Sabrink has left #nixos ["Textual IRC Client: www.textualapp.com"]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
civodul has joined #nixos
zimbatm has quit [(Remote host closed the connection)]
sdothum has joined #nixos
mizu_no_oto has joined #nixos
zimbatm has joined #nixos
wangoe has left #nixos []
wangoe has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<ToxicFrog> So let's say I wanted to handle /etc/aliases in the nix configuration. How do I do this? The exim nixpkg doesn't have any options for aliases, and while I can point exim.conf at any arbitrary aliases file, I don't know how to get that file into /etc
<ToxicFrog> I mean, I could just have it refer to /etc/nixos/mail/aliases, but that seems like a cop-out
newhoggy2 has joined #nixos
xwvvvvwx has quit [(Quit: leaving)]
iyzsong has quit [(Ping timeout: 240 seconds)]
<Fare> how do I configure dict to talk to dictd on localhost?
<NixOS_GitHub> [nixpkgs] elitak opened pull request #20899: libxslt: fixed crossDrv, where no python is available (master...libxslt) https://git.io/v1lCJ
<MichaelRaskin> cat .dictrc
<MichaelRaskin> server 127.0.0.1
<Fare> is that ~/.dictrc ?
<MichaelRaskin> Yes
<Fare> shouldn't there be a way to tell nixos about /etc/dict.conf ?
<Fare> hey, I realize I don't have vi on my machine. Dunno how I feel about that.
<MichaelRaskin> It looks like it thinks the global one is the package-shipped one
<gchristensen> add it to your systemPackages?
<Fare> it's not /etc/dict.conf, it's /nix/store/hcd5n1w83ckbyj9sygd2kx8sbxf1vd2a-dictd-1.12.1/etc/dict.conf
<Fare> which doesn't exist
iyzsong has joined #nixos
<Fare> gchristensen, how do I do that?
<Fare> I really need to read the docs about nixos
<gchristensen> yes
<Fare> also, how do I convince nixos to somehow reload the wifi and/or sound modules at some point late in startup? Somehow when I boot they come up wrong.
julien-truffaut_ has joined #nixos
<Fare> and how do I tell it that yes I have a touchpad (look, it's in xinput device 11!) and please distinguish its buttons, that are not all button 1?
Shou has quit [(Quit: 🛏)]
<gchristensen> our all-packages.nix is hilariously out of order :P
<MichaelRaskin> I think the latter part is something about hardware.synaptics.enable
ixxie has quit [(Ping timeout: 246 seconds)]
<wangoe> you could try sthg like config.services.xserver.synaptics.buttonsMap = [ ];
julien-truffaut_ has left #nixos []
Shou has joined #nixos
<Fare> shall I file a bug against nixpkgs for how dictd is packaged?
<joepie91> gchristensen: all-packages.nix is a bit impractical in general :/
<Fare> wangoe, I already have an entire configuration in services.xserver.synaptics, to no avail
<joepie91> near-impossible to find anything and both browsers and a lot of editors choke on its size
<gchristensen> yes
<joepie91> are there any plans to resolve this? :P
<MichaelRaskin> You want to say all-packages.nix serves as a useful editor selection criterion?
<Fare> also, why is X logging to /dev/null ? It's painful to have to start a new X server to get logs
<Fare> plus the default log location in /nix/store/.../var/log is unhelpful
<MichaelRaskin> doesn't it log to the journal?
<Fare> MichaelRaskin, how would I tell?
<MichaelRaskin> journalctl -u display-manager, most likely
iyzsong has quit [(Quit: bye.)]
<MichaelRaskin> Wait, do you succeed to launch a second X session on NixOS?
<Fare> flatland display-manager[1049]: (**) SYNA2B29:00 06CB:77C6: Ignoring device from InputClass "ouchpad ignore duplicates"
angerman has quit [(Quit: Gone)]
<Fare> MichaelRaskin, session, i don't know, but X server yes
<Fare> just copy/paste and modify the command-line reported by ps
<MichaelRaskin> Hm, I stopped using NixOS-proper, because a second X server said EPERM when trying to grab a console — that was as root
<MichaelRaskin> This started happenning after some systemd update
<Fare> MichaelRaskin, on the command line, I replaced "vt7" by "vt9" and had no problem with the console.
<MichaelRaskin> Hm. How interesting
<Fare> (II) Using input driver 'mtrack' for 'SYNA2B29:00 06CB:77C6'
<Fare> (II) config/udev: Adding input device SYNA2B29:00 06CB:77C6 (/dev/input/mouse1)
<MichaelRaskin> I obviously corrected the vt name, but it didn't work for me
<Fare> also known as /dev/input/event8
<Fare> I only corrected the vt name (vt7->vt9), the server number (:0 -> :1) and the log file (/dev/null -> /tmp/X.1.log) and it all worked. I mean, I didn't try starting a session, just a server
<MichaelRaskin> I guess what I use never qualifies as a session anyway
<MichaelRaskin> Maybe X.org later added some workaround for systemd destructive behaviour, not sure
<MichaelRaskin> I did more or less the same, with little luck
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v1lWL
<NixOS_GitHub> nixpkgs/master 605f923 Eric Litak: libxslt: fixed crossDrv, where no python is available
<NixOS_GitHub> nixpkgs/master e4f4447 Frederik Rietdijk: Merge pull request #20899 from elitak/libxslt...
<MichaelRaskin> Fare: that's what my current Xorg.conf has and it works OK with Synaptics
xwvvvvwx has joined #nixos
cfricke has quit [(Quit: WeeChat 1.6)]
<MichaelRaskin> What are your pointer-relevant InputClass sections?
<Fare> I have a /etc/X11/xorg.conf.d/50-synaptics.conf, symlink to /etc/static/X11/xorg.conf.d/50-synaptics.conf that looks like a constant not affected by my nixos configuration
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1lWR
<NixOS_GitHub> nixpkgs/master 63a1edb Joachim Fasting: ion3: requires lua 5.1...
<MichaelRaskin> How interesting
<Fare> it has three entries that look related to touchpads
<MichaelRaskin> I generate my xorg.conf by NixOS code and it already includes all the synaptics stuff inline
asymmetric has quit [(Ping timeout: 240 seconds)]
<Fare> how do you generate your xorg.conf with nixos?
<Fare> I have a big services.xserver block
<Fare> to no avail, it seems
<MichaelRaskin> I am not running NixOS per se
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/v1lWa
<NixOS_GitHub> nixpkgs/release-16.09 df38db3 Joachim Fasting: ion3: requires lua 5.1...
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
jgertm_ has joined #nixos
<MichaelRaskin> This seems to already give me acceptable synaptics behaviour
<MichaelRaskin> The rest can be tuned by synclient anyway
<gchristensen> joachifm: does torsocks work for you?
<Fare> synclient ==> Couldn't find synaptics properties. No synaptics driver loaded?
<gchristensen> joachifm: I'm trying to just use it on the CLI
<MichaelRaskin> Well, then more configuration is needed…
<Fare> I haven't tried your suggestions yet...
<MichaelRaskin> What are you running? `master` NixOS or a release?
<Fare> what controls /etc/static/X11/ ?
<MichaelRaskin> This should come from NixOS
<Fare> MichaelRaskin, I'm currently following https://github.com/NixOS/nixpkgs-channels branch nixos-unstable
<gchristensen> thoughtpolice: ping re torsocks
<MichaelRaskin> Should be close enough
<Fare> I like to include which commit of nixpkgs was used with any particular version of my configuration.nix
agjacome has joined #nixos
herzmeisterderw has joined #nixos
acertain has quit [(Ping timeout: 244 seconds)]
herzmeister has quit [(Ping timeout: 246 seconds)]
<nathan7> Dezgeg: <<< Welcome to NixOS 17.03.git.b9f3e19 (aarch64) - pts/0 >>>
herzmeisterderw has quit [(Quit: Leaving)]
herzmeister has joined #nixos
herzmeisterderw has joined #nixos
<MichaelRaskin> Fare: maybe you have stale stuff in /etc/ that is not getting overwritten correctly by NixOS?
<nathan7> Dezgeg: Thanks for making this possible <3
<gchristensen> ce!
<gchristensen> nice! nathan7, Dezgeg
<Fare> MichaelRaskin, how do I tell?
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v1l8Y
<NixOS_GitHub> nixpkgs/staging dc451ad Vladimír Čunát: i3-gaps: enableParallelBuilding = false;...
<wangoe> Fare: have you tried turning it on and off again?
<Fare> another minor gripe is NTP taking 90s to timeout when rebooting
<Fare> wangoe... yes :-(
<nathan7> Next up is building a kernel that'll run nicely on this Cavium ThunderX
herzmeisterderw has quit [(Client Quit)]
* Fare tries libinput instead of synaptics
<MichaelRaskin> Fortunately, I have crazy enough clock situation to be unable to run NTP as a daemon
<Dezgeg> cool, I should indeed polish up all the patches I have lying around and merge them
<MichaelRaskin> Fare: do you have read-only /nix/store?
<Fare> MichaelRaskin, looks like so
<MichaelRaskin> Then it could be safe to try wiping everything nix-related in /etc/ and switching
<Fare> well, at least the contents has read-only permissions
<vcunat> the default is to mount it read-only
<Fare> I am a person with lots of defaults.
<MichaelRaskin> I am not sure xorg.d is supposed to exist
<Fare> I certainly didn't create it manually
<Fare> and after I switched, the file I mentioned above disappeared.
<MichaelRaskin> Talking with people still using mainline NixOS makes me appreciate the inverse-etc-construction approach more…
<Fare> I'll try rebooting (also trying to check multiboot with Windows and Ubuntu)
<MichaelRaskin> (I have overlayfs of static etc and /var/etc in /etc, so I can look up what the hell comes form where)
<Fare> ttyl
<Fare> what inverse-etc-construction?
zsoc has quit [(Ping timeout: 265 seconds)]
<MichaelRaskin> etc is a symlink to a directory where the overlayfs of Nix-built etc (bottom) and /var/etc (top) lives
<Fare> I also couldn't find a way to tell hexchat not to use firefox, but chromium
<MichaelRaskin> Is Chromium your default browser?
<MichaelRaskin> Did you try setting $BROWSER ?
<Fare> I'll try...
Fare has quit [(Quit: Leaving)]
Fare has joined #nixos
Fare has quit [(Remote host closed the connection)]
Fare has joined #nixos
<Fare> nope, BROWSER or XBROWSER doesn't do it
* Fare looks into xdg-open
<MichaelRaskin> I have checked that BROWSER changes xdg-open behvaiour. At least on my primitively-built system…
<Fare> :-/
glines has joined #nixos
mizu_no_oto has joined #nixos
<MichaelRaskin> Is your touchpad still unhappy?
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v1l4L
<NixOS_GitHub> nixpkgs/master 9ccc14b Tuomas Tynkkynen: linux_rpi: Add some feature flags...
<Fare> I didn't restart the X server yet...
cfricke has joined #nixos
<MichaelRaskin> Didn't you test in a background X instance anyway?
<Fare> interestingly, xdg-open seems to chain into kde-open5
<MichaelRaskin> Oh wow
<MichaelRaskin> And then this delegation chain ends up with a loop
<Fare> :-)
<Fare> I went to my kde settings and told it to use chromium
<Fare> this is pretty f'ed up, though
<MichaelRaskin> Sorry Mario, but your princess is in a yet another castle
<MichaelRaskin> I can't decide whether I am tempted to check out NixOS again as second-X-session works, or too reluctant to touch the _other_ bad systemd stuff (binary logs requiring random-access for reading the last line, insistence to handle lid-close…)
c0bw3b has joined #nixos
<c0bw3b> hello ppl of #nixos :)
Rotaerk has joined #nixos
wangoe has left #nixos []
ebzzry has joined #nixos
<c0bw3b> i have a simple problem i can't seem to workaround with my users definition .nix file
<c0bw3b> rebuild dry-build shows : error: syntax error, unexpected '=', expecting ';', at /etc/nixos/users-groups-mgmt.nix:51:729
wangoe has joined #nixos
akaWolf has quit [(Read error: Connection reset by peer)]
<c0bw3b> but the '=' in question is part of an ssh public key defined in a string
<MichaelRaskin> Maybe something closes the quotes?
akaWolf has joined #nixos
<MichaelRaskin> Or you forgot to open the quotes
<MichaelRaskin> Note we have "…" and ''…'' but no '…'
<c0bw3b> the key is declared with :
<c0bw3b> openssh.authorizedKeys.keys =
<c0bw3b> [ "ssh-rsa AAAAB3[..]vM= rsa-key-comment" ];
<c0bw3b> and it's inside a bigger users.users.my = { }; block
<MichaelRaskin> And the key doesn't contains " just in case?
<c0bw3b> no it does not
<wangoe> users.extraUsers maybe?
<c0bw3b> will try
<MichaelRaskin> Maybe unclosed quote above in the file?
<wangoe> c0bw3b in my config it is users.extraUsers.name.openssh. ...
<c0bw3b> yep but i read on https://nixos.org/nixos/options.html that extraUsers was just an alias for users.users so i went for the original keyword :p
latk has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<c0bw3b> but MichaelRaskin was spot on! i had an unclosed string 3 lines before...
<c0bw3b> and i relied on the vim colorieation thinking previous lines were fine... ugh >_<
takle has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Shell has quit [(Changing host)]
Shell has joined #nixos
Shell has quit [(Changing host)]
Shell has joined #nixos
takle has joined #nixos
<joachifm> gchristensen: never tried it
<gchristensen> aye
<gchristensen> I'm trying to package Parcimonie.sh but it is requiring almost more patch code than original code :P
jbo has joined #nixos
ebzzry has quit [(Ping timeout: 260 seconds)]
<jbo> Hi there -- I'm trying to make a dev environment for calibre. This is my first attempt to use nix-shell. My WIP is here: http://pastebin.com/ria9ciC9
takle has quit [(Ping timeout: 260 seconds)]
<jbo> (it returns "cannot coerce a function to a string fn:3:2")
<jbo> calibre is packaged for nixos here -- is there some way to re-use the build file to create the environment?
<vcunat> jbo: nix-shell -A calibre
<vcunat> or nix-shell '<nixpkgs>' -A calibre
<vcunat> (the first one takes nixpkgs from the current directory)
<jbo> vcunat: ahh... well that makes things easier! thank you!
<vcunat> {-)
<vcunat> :-)
pstn has quit [(Ping timeout: 240 seconds)]
<jbo> vcunat: what's the 'default.nix' equivalent of that second command-line?
<vcunat> jbo: I don't understand
<vcunat> it takes the expression from nixpkgs tree
<vcunat> I thought your point was to use that instead of your default.nix
<jbo> yeah - that's working away now. I'm still trying to understand the .nix format -- is there some way to write a defualt.nix that when $(nix-shell .) is run, it does the equivalent of $(nix-shell '<nixpkgs>' -A calibre) ?
<vcunat> ah I see
<vcunat> if you don't pass the argument to nix-shell, it uses ./default.nix
<vcunat> you can put "import <nixpkgs>" into your default.nix, for example
<vcunat> oh, my bad
<vcunat> jbo: nix-shell defaults to ./shell.nix
<vcunat> nix-build defaults to ./default.nix
<jbo> it also reads default.nix
<jbo> more the "-A calibre" part
<Shell> ping
<Shell> you could put: (import <nixpkgs> {}).calibre in your default/shell.nix
<vcunat> Hmm, it defaults to both, actually -
<vcunat> it checks for shell.nix and then for default.nix if the first doesn't exist
xwvvvvwx has quit [(Quit: leaving)]
latk has joined #nixos
latk has quit [(Client Quit)]
<jbo> Shell: cool yeah, looks like that did the job
<jbo> thank you both!
Fare has quit [(Ping timeout: 265 seconds)]
rsa has quit [(Ping timeout: 246 seconds)]
rsa has joined #nixos
jbo has quit [(Quit: leaving)]
jbo has joined #nixos
jgertm_ has quit [(Ping timeout: 265 seconds)]
Fare has joined #nixos
<gchristensen> I have several user units in systemd which only work after a `nixos-rebuild switch`. anyone know why the user units don't work before a switch? they're setup as "wantedBy = [ "multi-user.target" ]; before = [ "muti-user.target" ];"
<NixOS_GitHub> [nixpkgs] ambrop72 opened pull request #20901: kdevelop: 5.0.2 -> 5.0.3 (master...kdevelop-5.0.3) https://git.io/v1lR0
<seanparsons> Anyone using buildStackProject? I was hoping it would be possible to use it outside of stack rather than it would appear from within it.
roconnor has joined #nixos
<joachifm> gchristensen: I've just bumped torsocks, works for me. what issues were you having?
<joachifm> gchristensen: by works for me I mean, doing . torsocks on and surfing to check.torproject.org
<vcunat> Hmm, Hydra jobs now occationally fail with a "cannot fork" error. I wonder if it's prone to run too much at once.
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v1l02
<NixOS_GitHub> nixpkgs/master 659f75b Tuomas Tynkkynen: coreutils-prefixed: Fix build since the single-binary changes...
Fare has quit [(Ping timeout: 260 seconds)]
danharaj has joined #nixos
takle has joined #nixos
christine_ has joined #nixos
Fare has joined #nixos
<jbo> just FYI, looks like IRC logging is broken
<jbo> (since july)
glines has quit [(Ping timeout: 260 seconds)]
acertain has joined #nixos
<> changed the topic of #nixos to: gchristensen has changed topic for #nixos to: "http://nixos.org/ || Latest NixOS: http://nixos.org/nixos/download.html || Latest Nix: http://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || Swag: http://www.cafepress.co.uk/NixOS || Darwin: ##nix-darwin"
<jbo> <3
<Rotaerk> hmm is there a difference between packages and derivations? are there non-derivation packages?
<MichaelRaskin> Well, package is not a meaningful term
<MichaelRaskin> There are Nix expressions
<MichaelRaskin> Some of them return derivations
<gchristensen> joachifm: ugh looks like the issue is parcimonie just isn't useful anymore
<Rotaerk> it's a term that's used throughout the manuals, and the website
<MichaelRaskin> Derivations can be serialised into the Nix store
<gchristensen> joachifm: and thaht is my issue
<MichaelRaskin> Derivations can be realised (built)
<MichaelRaskin> they have outputs, each output is a store path
<gchristensen> Rotaerk: MichaelRaskin is right, but for common usage, derivations are a basic unit in nix. there are derivations which are not packages.
<joachifm> gchristensen: you can probably reproduce it with torsocks -i (for isolate)
<gchristensen> joachifm: yeah I think it was an issue with gpg2 usage instead of torsocks :(
<gchristensen> sorry
<joachifm> gchristensen: ah, I see
<Rotaerk> huh, cool; didn't notice the glossary
Fare has quit [(Ping timeout: 256 seconds)]
<Rotaerk> and thanks; any examples on hand of a non-package derivation?
<LnL> a derivation are the build instructions for a package
<Rotaerk> it also seems to be the entirety of the definition of the package
<LnL> but in nix packages are really just a path in the store, nothing special
Taneb is now known as nvd
<gchristensen> kmicu: are you a GPG user?
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #20902: torsocks update & improvements (master...torsocks) https://git.io/v1luL
pstn has joined #nixos
jgertm_ has joined #nixos
bennofs1 has joined #nixos
bennofs1 has quit [(Client Quit)]
jgertm_ has quit [(Ping timeout: 265 seconds)]
Shou has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v1lub
<NixOS_GitHub> nixpkgs/staging 6e91b74 Vladimír Čunát: Revert "cairomm: maintenance 1.12.0 -> 1.12.2"...
Shou has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1lzT
<NixOS_GitHub> nixpkgs/master ad0d7f6 Vladimír Čunát: Merge branch 'staging'
Fare has joined #nixos
gilligan_ has joined #nixos
goibhniu has joined #nixos
jophish has quit [(Ping timeout: 256 seconds)]
gilligan_ has quit [(Ping timeout: 244 seconds)]
jophish has joined #nixos
acertain has quit [(Ping timeout: 244 seconds)]
mizu_no_oto has joined #nixos
Fare has quit [(Ping timeout: 244 seconds)]
mizu_no_oto has quit [(Client Quit)]
Fare has joined #nixos
glines has joined #nixos
hotfuzz has joined #nixos
gilligan_ has joined #nixos
hotfuzz has quit [(Client Quit)]
m0rphism has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
c0bw3b has left #nixos []
roconnor_ has joined #nixos
roconnor has quit [(Quit: Konversation terminated!)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1l2m
<NixOS_GitHub> nixpkgs/master ae0bfae Vladimír Čunát: cairomm: fixup url...
Shou has quit [(Ping timeout: 258 seconds)]
<joko> Hi, in Hydra is it possible to declare somehow some rules for the scheduler on which package gets built where?
<joko> E.g. I am using nix-user-chroot
<joko> on one machine which cannot build coreutils
<joko> or zfs on another which cannot build libreoffice. Is it possible to limit the builds of those particular packages to those machines?
jsgrant has quit [(Quit: Konversation terminated!)]
<vcunat> joko: there's requiredSystemFeatures
gilligan_ has quit [(Remote host closed the connection)]
<joko> vcunat: so I overload coreutils and libreoffice-fresh with the new features and then set them on the correct machines, right?
<vcunat> you can create e.g. a "coreutilsOK" feature and set that one to the compatible machines and to coreutils
goibhniu has quit [(Ping timeout: 245 seconds)]
Fare has quit [(Remote host closed the connection)]
roconnor_ has quit [(Quit: Konversation terminated!)]
roconnor_ has joined #nixos
godparticle[m] has joined #nixos
agjacome has quit [(Read error: Connection reset by peer)]
jsgrant has joined #nixos
agjacome has joined #nixos
Fare has joined #nixos
newhoggy2 has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #20903: lib/genators: add toKeyValue & mkKeyValueLine (master...generators-toKeyValue) https://git.io/v1lVm
<kmicu> gchristensen: yep, sup?
takle has quit [()]
MaxStirner has joined #nixos
<Profpatsch> Can somebody look over https://github.com/NixOS/nixpkgs/pull/20903 ?
<Profpatsch> I’d like to merge it because another PR depends on it.
goibhniu has joined #nixos
tomberek has joined #nixos
Fare has quit [(Remote host closed the connection)]
<viric_> Dezgeg: no more seccomp problems - definitely I had a wrong kernel
<Dezgeg> ok, good
<tomberek> Anyone familiar with nixops? How can I refer to the eventual IP of a resource? I need the IP of machine A in the configuration of machine B. In terraform there is the concept of exported attributes. What is the equivalent?
iamcorpix has joined #nixos
<simpson> tomberek: There isn't a way to do this AFAIK. Would a hostname be okay? The nixops machines all can see each other's hostnames.
Fare has joined #nixos
<tomberek> @simpson: yes, hostname would work. I'm just thinking of future requirements where I might need something like that. Imagine needing some attributes of EC2 instances, not known ahead of time.
<Rotaerk> is haskell NG no longer a thing? don't see it
<simpson> tomberek: I can't really imagine such a situation, but I'm pretty small-minded.
<Rotaerk> i.e. the thing mentioned in the last bullet-point here: https://nixos.org/nixpkgs/manual/#other-resources
<vcunat> I expect there's only NG now
tomberek_ has joined #nixos
<tomberek_> simpson: sorry, got disconnected
tomberek has quit [(Ping timeout: 260 seconds)]
<tomberek_> found this in the manual: It combines system configuration management and provisioning. Provisioning affects configuration management: for instance, if we instantiate an EC2 machine as part of a larger deployment, it may be necessary to put the IP address or hostname of that machine in a configuration file on another machine. NixOps takes care of this automatically.
<tomberek_> so it seems it can do it, i just don't know the syntax to make it happen
newhoggy2 has joined #nixos
glines has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1lwY
<NixOS_GitHub> nixpkgs/master 0fd5a0c Vladimír Čunát: lyx: 2.1.5 -> 2.2.2...
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
<Fare> good news: libinput is working where synaptics wasn't
<MichaelRaskin> How interesting
MaxStirner has left #nixos []
<Fare> my right click is back!
kampfschlaefer has joined #nixos
Itkovian has joined #nixos
newhoggy2 has quit [(Remote host closed the connection)]
systemfault has joined #nixos
<tomberek_> anyone know how to refer to attributes of one machine in another machine's configuration? (NixOps)
godparticle[m] has left #nixos ["User left"]
kampfschlaefer has quit [(Quit: No Ping reply in 180 seconds.)]
vcunat has quit [(Quit: Leaving.)]
kampfschlaefer has joined #nixos
tomberek_ has quit [(Ping timeout: 260 seconds)]
acertain has joined #nixos
newhoggy2 has joined #nixos
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
<zimbatm[m]> tomberek_: that's something disnix supports I believe
<zimbatm[m]> in the context of AWS it makes more sense to have an ELB that's set to a Route53 alias
<zimbatm[m]> the the set of machines responding to the service can be dynamic and you can use autoscaling groups as well
<zimbatm[m]> basically adding a layer of indirection
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1loz
<NixOS_GitHub> nixpkgs/master 2f861e6 Joachim Fasting: chkrootkit: 0.50 -> 0.51, fix build
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/v1lo2
<NixOS_GitHub> nixpkgs/master ea412cd Profpatsch: lib/generators: add toKeyValue & mkKeyValueLine (#20903)...
rardiol has joined #nixos
c0bw3b has joined #nixos
asymmetric has joined #nixos
mizu_no_oto has joined #nixos
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 2 new commits to master: https://git.io/v1lox
<NixOS_GitHub> nixpkgs/master 54e2973 Jaka Hudoklin: docker-machine-kvm: init at 0.7.0
<NixOS_GitHub> nixpkgs/master 3e134f0 Jaka Hudoklin: Merge pull request #20820 from offlinehacker/pkgs/dockermachine/add/kvm-driver...
newhoggy2 has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #20496: gocryptfs: init at 1.1.1 (master...pkgs/gocryptfs/init) https://git.io/vXHwj
Sonarpulse has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub> [nixpkgs] offlinehacker opened pull request #20904: Add xpra display-manager (master...nixos/xserver/xpra) https://git.io/v1lKE
goibhniu has quit [(Ping timeout: 245 seconds)]
newhoggy2 has joined #nixos
beginner has left #nixos []
<Fare> ok, so is there a hook somewhere to reload some kernel modules at the end of the bootup sequence?
imalsogreg has joined #nixos
<c0bw3b> boot.kernelModules should load your module at stage2 of the boot
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<clever> viric_: Dezgeg just updated the nixpkgs kernel
roconnor_ has quit [(Ping timeout: 244 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
hiratara has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sternenseemann> Dezgeg: on armv7l is there any harm caused by using linuxPackages instead of linuxPackages_latest?
<Dezgeg> as long as your device supports it, no
hiratara has joined #nixos
<Dezgeg> you get to compile it though :)
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #20905: nixos/keystone: init at liberty version (master...pr/keystone) https://git.io/v1l6M
cfricke has quit [(Quit: WeeChat 1.6)]
<gchristensen> hrm. I'm of the opinion nixpkgs shouldn't move forward if nixops is broken. any opinions?
<LnL> as in nixpkgs-unstable?
<c74d> why are the nixos.org URLs in the topic not HTTPS?
<gchristensen> LnL: right
<gchristensen> LnL: like right now, darwin seems broken b/c Pillow is broken
<> changed the topic of #nixos to: gchristensen has changed topic for #nixos to: "https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || Swag: http://www.cafepress.co.uk/NixOS || Darwin: ##nix-darwin"
<gchristensen> good question, c74d
ebzzry has joined #nixos
<c74d> gchristensen: ah, thanks
<gchristensen> I'd say "momentum"
<LnL> gchristensen: I don't personally don't use it that much, but I think enough people do to add it to the list
<LnL> same with nix-repl, if that's not the case at the moment
<gchristensen> I agree
Guest80171 has quit [(Remote host closed the connection)]
<LnL> I can never find the nixpkgs-unstable page on hydra
<FRidh> gchristensen: I rather have a separate channel for darwin
<gchristensen> FRidh: ay
<Fare> and a /j #ubuntu
<LnL> gchristensen: I mean this one http://hydra.nixos.org/job/nixpkgs/trunk/unstable
<gchristensen> eh, Fare?
<Fare> oops, sorry
<Fare> I had stuff in my buffer
<Fare> I'm desperately trying to dual boot with ubuntu
thc202 has quit [(Ping timeout: 245 seconds)]
<Fare> but failing to tell it about cryptsetup + lv
<Fare> m
c_ has joined #nixos
c_ is now known as Guest40686
<Fare> I also failed to dual-boot windows
zraexy has joined #nixos
<Fare> Also, are there versioned URLs for the nix installer?
jarlg has joined #nixos
digitalmentat has joined #nixos
RchrdB has quit [(Ping timeout: 244 seconds)]
<digitalmentat> I'm having difficulty with fetchPrivateGit and ssh-agent
<digitalmentat> it took a while to figure out how to get my user's ssh config usable by the nixbld group
<clever> digitalmentat: ssh-agent knows when a different uid is trying to use the socket, so you need to cheat some
<digitalmentat> but that *is* working
<digitalmentat> clever, okay yeah my next question was ssh-agent feels really opaque
<clever> digitalmentat: the socat command in the gist along with the -I's in the nix-build should solve everything
<digitalmentat> so I have the AUTH_SOCKET permissions set for nixbld group
<digitalmentat> clever, okay looking now
<clever> digitalmentat: the issue, is that if any user other then you or root tries to use the socket, ssh-agent hangs up instantly
<clever> they overdid the security
<digitalmentat> okay, what a relief I'm happy I asked instead of continuing to dig in
<clever> in this gist, socat is acting as a proxy, and can either run as your user or root
<viric_> clever: in 16.09?
<clever> but it needs root to set the group
<clever> viric_: ssh or arm question?
FRidh has quit [(Remote host closed the connection)]
amir has quit [(Ping timeout: 260 seconds)]
amir has joined #nixos
pstn has quit [(Remote host closed the connection)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<viric_> clever: pi kernel
<clever> viric_: ive been working against master with my current tests
<viric_> ok
c0bw3b has left #nixos []
<joko> Guys, are you cross-compiling or compiling directly on such (ARM) devices?
<clever> joko: the native compiled kernel in nixpkgs is broken, and after putting up with 2 hour rebuilds for minor changes, i tried testing a cross-compiled kernel
<joko> I do own a Wandboard and a Raspberry Pi 3 and was thinking of testing NixOS on them
<clever> joko: and the cross compiled worked instantly
<clever> joko: but the rest of the OS was natively compiled, i just installed nix on a raspbian rpi2
<clever> joko: let me grab 2 links
<joko> I have ArchLinux ARM on Wandboard and they recommend doing native installs + distcc
jarlg has quit [(Quit: WeeChat 1.5)]
<joko> s/install/compile
<c74d> Is there any documentation that provides more detail on the possible security issues warned about by <https://nixos.org/nixos/manual/index.html#ch-containers>?
<joko> clever: sure, they might come in handy soon
<clever> joko: this is the script that allows you to just curl|bash to install nix on any x86 distro: https://github.com/NixOS/nixos-homepage/blob/master/nix/install.in#L32
<clever> joko: and this is a tarball for that script, targeting armv7 http://hydra.earthtools.ca/build/40515
<joko> clever: So, I could use Debian or ArchLinux ARM and install nix there?
<clever> joko: if you manualy run the steps in that shell script against the tar, you should get a working nix install on any distro on armv7
<joko> Any way to go fully on Nixos?
<clever> joko: yep
<clever> joko: then you would need to follow the linode guide, https://nixos.org/wiki/Install_NixOS_on_Linode
<c74d> joko: ah, thanks
<clever> joko: this explains how to get nixos-install outside of nixos, which allows you to install against some external storage (another sd card for ex)
<joko> clever: got it, thanks ;)
<clever> joko: and it will just compile everything thats missing, nix build slaves can also help to spread the workload to nearby arm's
<joko> And regarding cross-compiling, distcc? Are there any guidelines?
xwvvvvwx has joined #nixos
<c74d> joko: hm, I don't see that paragraph in the current `systemd-nspawn` manpage
<clever> joko: cross-compiling is tricky, there is support for it in nixpkgs, but not all packages make it easy, many claim they want the pkg-config for the target arch by mistake
<clever> joko: so your x86 machine gives the build an arm pkg-config, and then the build falls over
agjacome has quit [(Quit: leaving)]
<Dezgeg> well, this page has the prebuilt install images, no need to go via other distros: https://nixos.org/wiki/NixOS_on_ARM
<clever> Dezgeg: have you heard the lastest update on my kernel issues?
<Dezgeg> no, what's up there?
<clever> Dezgeg: i cross compiled the rpi kernel with https://gist.github.com/cleverca22/ce6013cd57512bdedcb671136cf86913 and it just worked on the 1st try
matthewbauer has joined #nixos
<clever> Dezgeg: so either the revision in nixpkgs is bad, or the nix expression is bad
<joko> c74d: I am also not sure how safe systemd-nspawn is now, this is why I showed you this link, it's a question there
<Dezgeg> you sure it's not still being built against multi_v7_defconfig?
<clever> Dezgeg: yes, when i used bcm2709_defconfig it partialy booted, then it had an oops while dealing with bcm gpio pins
<joko> Dezgeg: thank you also for the link, Wandboard seems unsupported for the time being
Fare has quit [(Ping timeout: 248 seconds)]
<clever> [<804937ac>] (brcmvirt_gpio_get) from [<8048ebec>] (_gpiod_get_raw_value+0x38/0xf0)
<clever> clearly not using multi_v7_defconfig if this function can appear
<joko> But I guess I could use the generic image :S http://nixos-arm.dezgeg.me/installer/sd-image-armv7l-linux.img
<Dezgeg> yes, wandboard can be made to boot that once you get a suitable u-boot
<Dezgeg> I've done once, should probably write down how to do it some day...
Guest40686 has quit [(Ping timeout: 245 seconds)]
mrrtump has joined #nixos
<mrrtump> hey how hard is install?
<mrrtump> I never did nixos b4
<mrrtump> harder than debian?
<mrrtump> or ez
Fare has joined #nixos
<gchristensen> I'd recommend trying it in a vm
<clever> Dezgeg: progress!!
<clever> Dezgeg: i checked out the revision in nixpkgs, and cross-compiled, the problem is back
<clever> Dezgeg: raspberrypi-kernel_1.20161020-1 is a bad revision
<Dezgeg> is the firmware from the matching version?
<clever> Dezgeg: i'm using some firmware from the next branch (beta testing the network boot stuff)
<clever> so that might be related
xwvvvvwx has quit [(Quit: Lost terminal)]
<clever> oh, and now that i can compile faster, i can shove a printk into the failing code
asymmetric has quit [(Ping timeout: 258 seconds)]
sebastian has joined #nixos
<mrrtump> amd 965 6 core
<mrrtump> 4 years old
<mrrtump> debian being punks
<mrrtump> so I wana step up to something nicer
e1 has joined #nixos
<e1> I noticed that parallel building of chromium is not enabled. Is there a reason for that? I didn't notice one in the comments in the corresponding *.nix files.
<clever> Dezgeg: its looking more firmware/dt related now, 20160921 is also bad
glines has joined #nixos
<c74d> is the NixOS VM stuff in nixos/modules/virtualisation/qemu-vm.nix documented somewhere?
<clever> c74d: i havent seen any, but i know how it works if you have questions
wangoe has left #nixos []
<c74d> ah, thanks
<c74d> my questions include such basic ones as "what is this and how would I even begin using it"
Seichi has joined #nixos
<clever> c74d: nixos-rebuild build-vm
* Fare uses qemu mounting /dev/sda read-only to test his attempts at configure dual-booting into ubuntu
<c74d> oh!
Seichi has quit [(Client Quit)]
<c74d> I'd forgotten about that nixos-rebuild subcommand
<NixOS_GitHub> [nixpkgs] tohl opened pull request #20907: sbcl: 1.3.11 -> 1.3.12 (master...master) https://git.io/v1l1a
<clever> c74d: all it does, is add the file you linked to the list of modules, and reference an attribute on line 37
<c74d> clever: is there a declarative (configuration.nix) equivalent of `nixos-rebuild build-vm`?
<clever> c74d: you could just add <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix> to the imports section
<clever> c74d: but you will also need to load the system.build.vm attribute somehow
<clever> c74d: what exactly are you trying to do?
<NixOS_GitHub> [nixpkgs] mbbx6spp opened pull request #20908: inform7: init at 6M62 (master...init-inform7) https://git.io/v1l1d
<c74d> clever: hm, I'd like to have one or more VMs configured in configuration.nix that I can easily start up from my user environment
<c74d> I suppose I could use `nixos-rebuild build-vm` in a derivation in systemPackages…?
<clever> c74d: foo = (import <nixpkgs/nixos> { configuration = ./vm1.nix; }).config.system.build.vm;
<c74d> unless nixos-rebuild isn't reentrant
Seichi has joined #nixos
<clever> c74d: and then put foo somewhere like systemPackages, if you set a hostname in vm1.nix, the start commands should be unique
<c74d> ah
<c74d> vm1.nix would be a complete NixOS configuration file, like `/etc/nixos/configuration.nix`?
<clever> yep
<clever> and vm1.nix will need imports = [ wait, easyer way
<clever> foo = (import <nixpkgs/nixos> { configuration = ./vm1.nix; }).vm;
<joko> good night, people!
<clever> that should exactly replicate build-vm
<c74d> can `configuration` be an attrset rather than a path?
<clever> yep
<clever> you can make it a function directly
<clever> foo = (import <nixpkgs/nixos> { configuration = { pkgs, lib, ... }: { networking.hostname = "vm1"; }; }).vm
<c74d> with the usual NixOS module arguments?
<clever> yep
<c74d> okay, thanks for your help!
newhoggy2 has quit [(Remote host closed the connection)]
<sebastian> I'm trying to get an environment with the ocaml compiler as well as utop and certain ocaml packages, and it seems that pkgs/development/ocaml-modules/ contains the things I'm looking for, but I can't seem to figure out how to get nix-shell -p to recognize that they exist
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #20907: sbcl: 1.3.11 -> 1.3.12 (master...master) https://git.io/v1l1a
<digitalmentat> clever, I got a *little* bit further but still seeing a "no passphrase given" error
<digitalmentat> is there any insight you might have?
<clever> digitalmentat: can you gist what you have in the console?
<digitalmentat> the error I'm seeing? yeah
sebastian has quit [(Quit: Page closed)]
<digitalmentat> it's selecting the correct key and I no longer see the "can't communicate with agent" error
<clever> digitalmentat: and is socat still running?
<digitalmentat> yeah it is
<clever> digitalmentat: what nix-build command did you run?
<digitalmentat> nix-build -I ssh-config-file="${TMP_SSH_CONFIG_FILE}" -I ssh-auth-sock="/tmp/hax" --no-out-link ./local-nix-prefetch-docker.nix
<digitalmentat> I create a temporary ssh config file and feed it to the nix-build cmd, the config file is workign fine but ssh-agent stuff is pretty finnicky
<clever> digitalmentat: and what does "ls -lh /tmp/hax" say?
<clever> digitalmentat: are sandboxes enabled?
<digitalmentat> clever, `s---rwx--- 1 root nixbld 0 Dec 4 17:39 /tmp/hax`
<digitalmentat> sandboxes _were_ enabled to get passed a bug but it's disabled now
<digitalmentat> unless it's enabled some other way I don't know about
<digitalmentat> i.e /etc/nix/nix.conf has build-use-sandbox = false
<clever> grep use-sandbox /etc/nix/nix.conf
brh has joined #nixos
<clever> digitalmentat: and what does "ssh-add -l" say?
<digitalmentat> oh...interesting
<digitalmentat> it has no identities
<digitalmentat> hmm
<clever> that would explain things
<clever> you need to add a key to the agent with ssh-add
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
<digitalmentat> clever, but I did :-/
<digitalmentat> clever, either way
<clever> maybe it got restarted at some point without you noticing
<digitalmentat> yeah
<digitalmentat> thank you for rubber duckying and thinking to ask that, I appreciate it a lot
<clever> the ssh-agent in openssh looses all keys upon restart
<clever> the agent inside gpg doesnt, it saves (in encrypted form) all keys, and will pop up a gui to ask for the pw as-needed
<clever> i ran ssh-add on my laptop, under an ssh -A (forwarding desktop agent to the laptop) once
<clever> and now the desktop has 2 keys
<digitalmentat> got it, that would explain it
<digitalmentat> I did not understand that :-/
<digitalmentat> thanks a lot clever
<savanni> Is there anyone around who would be willing to help me with my nixos installation? This clean installation is turning into a disaster of hardware problems and I'm losing my ability to troubleshoot.
<clever> savanni: what kind of problems is it giving?
<digitalmentat> :waves: savanni
<savanni> chrome isn't switching to the correct webcam. Bluetooth services won't start. Configuration options on my tablet aren't toggleable. More are there, I'm sure. But all of these are things that worked before I did a clean installation.
matthewbauer has quit [(Ping timeout: 258 seconds)]
<clever> savanni: when chrome is using the webcam, there is a webcam icon in the address bar, you can change the camera in there
<savanni> one would think, yes. But in fact, you can't. I can go into the Chrome settings and see multple webcams listed, and select the one that I want to use, but it has no effect.
<savanni> My guess would be maybe a permissions problem on the webcam, but I can't really find things in /dev any more.
<clever> savanni: which channel does "sudo nix-channel --list" give?
<clever> $ ls -lh /dev/video*
<clever> crw-rw----+ 1 root video 81, 0 Dec 2 18:35 /dev/video0
<clever> all cameras should start with video
<savanni> Two cameras, both showing exactly that pattern. Same permissions and all.
<savanni> (one of the cameras even works)