gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
ottidmes has joined #nixos
<Unode> clever: do you know the incantation by heart? I'm bouncing back and forth between google
<clever> Unode: ive mostly done it with the c level api, let me double-check the bash one...
<thekolb_> clever: what would I do if it was dlopen()?
<clever> Unode: lol, the mount util is being too smart
<clever> thekolb_: add the lib dir to LD_LIBRARY_PATH
<clever> Unode: the mount binary wont let me --bind or -o if getuid() != 0
<{^_^}> [nixos-org-configurations] @grahamc pushed 0 commits to channel-nixpkgs-17.09-darwin: https://git.io/fp8GW
lfish has quit [Ping timeout: 256 seconds]
<clever> Unode: so it wont work, even when i use unshare to get permission!
jluttine has quit [Ping timeout: 252 seconds]
<clever> Unode: youll need a c program (like nix-user-chroot) to bypass that
<Unode> ok, not that easy it seems
<clever> [clever@system76:~]$ nix copy --to local?root=/home/clever /nix/store/4xbn31l2fr95vp9z7g7ayxzy19ywcpnd-nix-user-chroot-2c52b5f
<clever> [clever@system76:~]$ nix copy --to local?root=/home/clever/ /nix/store/5igbdc1czdss7341r360648n14pkpp5r-bash-interactive-4.4-p23
goibhniu has joined #nixos
<clever> [clever@system76:~]$ nix/store/4xbn31l2fr95vp9z7g7ayxzy19ywcpnd-nix-user-chroot-2c52b5f/bin/nix-user-chroot -n /home/clever/nix /nix/store/5igbdc1czdss7341r360648n14pkpp5r-bash-interactive-4.4-p23/bin/bash
<clever> bash-4.4$
<clever> Unode: done, i now have a shell with $HOME/nix at /nix
<clever> ls isnt in PATH, but thats easy to deal with
<clever> Unode: that override prefixes the interpreter and rpath with a .
jluttine has joined #nixos
<clever> so it will look in ./nix/store/foo-glibc/lib/ and so on
<clever> so you can run a dynamic elf with the "wrong" root, as long as you cd to the root dir first
<Unode> clever: nix/store/4xbn31l2fr95vp9z7g7ayxzy19ywcpnd-nix-user-chroot-2c52b5f/bin/nix-user-chroot this would fail on a system without /nix/store no?
<clever> Unode: thats what the patchelf i just linked is solving
Lisanna has joined #nixos
<clever> its all relative to the working dir, not /
<Unode> oh right
<Unode> trying
<clever> the only problems that remain afterwards, are conflicts in /etc
<clever> you need the host /etc/resolv.conf to have working dns
<clever> but if the host is nixos, then then host /etc/protocols is a symlink into the wrong store, and doesnt exist
<Lisanna> anyone use NetworkManager and have tips for managing connections declaratively? As soon as I replaced the gnome-generated /etc/NetworkManager/system-connections/myconn file with an environment.etc symlink, it stopped showing up in the list
<clever> and some haskell programs wont even know what tcp is, if /etc/protocols is missing
<clever> Unode: `-m /home:/home -m /etc:/host-etc -m etc:/etc` and then pre-populate a ./etc dir, and your inner script can deal with merging the 2 etc's
<exarkun22> How did I manage to cause this? https://gist.github.com/exarkun/f1bb4a0a9204e34c611d709ebd02e00b Somehow I broke the builtin source unpacking logic with my cross-compile junk?
<Lisanna> oh, geez... nvm, it was a file permissions issue... another program that refuses to do what it's told if it has a low opinion of your permissions setup
<Unode> clever: I usually prefer to have /nix/etc and leave /etc untouched. Is this something easy to accomodate or do binaries assume /etc too much?
<clever> Unode: haskell programs assume /etc/protocols defines what tcp and udp are, and fail hard if the file is missing
<Unode> tricky
<ottidmes> Lisanna: so that approach works? that does mean you cannot add them non-decleratively, right? (I am curious as well to do so for my laptop)
<Lisanna> ottidmes It works, you have to set the "mode" option to something that NetworkManager won't reject
<Lisanna> You should use NetworkManager to generate the original file for you though, and then copy it into your configuration.nix
<ottidmes> Lisanna: thanks! I will try to do so
hdeshev has quit [Quit: Leaving.]
<Unode> clever: seems like I can't combine nix-user-chroot and NFS. It can't use a nix store located in an NFS share
<clever> Unode: what error did it give?
<Unode> realpath(-u): No such file or directory
<Unode> unless I'm specifying the location incorrectly
<clever> Unode: what is the exact command you ran?
<Unode> ./nix-user-chroot -u /share/test/nix/
<clever> Unode: try -n rather then -u
<Unode> same error with -n this time
judson has joined #nixos
<clever> Unode: and are you using the version i linked above, from nix-bundle? i changed its arg parsing a good deal
<Unode> clever: ah no, using the original.
<clever> the original assumes the 1st arg is the location of the store
<judson> manveru especially: I'm trying to work on developing a Ruby gem with bundix. Bundix doesn't recognize the "path" source from Bundler. I remember there was hestitation about adding it, since it's fundamentally of nix-shell only utility.... but that's pretty big.
<clever> so its trying to mount ./-u to /nix, lol
hiroshi has quit [Quit: ZNC 1.7.1 - https://znc.in]
<Unode> I tried ./nix-user-chroot /path /bin/bash and unshare(): Invalid argument
<Unode> but trying yours instead
hiroshi has joined #nixos
endformationage has joined #nixos
<Unode> % nix copy --to local?root=/data/nix/rootfs /nix/store/s53v57hyaya2kpyacwjgqp8ifwa4ddd9-nix-user-chroot-2c52b5f
<Unode> error: cannot add path '/nix/store/s53v57hyaya2kpyacwjgqp8ifwa4ddd9-nix-user-chroot-2c52b5f' because it lacks a valid signature
zolk3ri has quit [Quit: Lost terminal]
<exarkun22> Anyone help out with this cross compile issue? https://gist.github.com/exarkun/8b901aef53ca3698aecc16baf239a0fd
halfbit has quit [Ping timeout: 250 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
boogiewoogie has quit [Remote host closed the connection]
thekolb_ has quit [Ping timeout: 256 seconds]
<exarkun22> looking at the drv with `nix show-derivation` shows an arm host/target gcc as an input, that seems horked.
boogiewoogie has joined #nixos
<exarkun22> but `nativeBuildInputs` says "A list of dependencies whose host platform is the new derivation's build platform"
<exarkun22> I thought I actually understood something but apparently not.
equalunique has quit [Read error: Connection reset by peer]
equalunique has joined #nixos
thumphries has quit [Ping timeout: 252 seconds]
romanofskiWork has quit [Quit: leaving]
<exarkun22> Making pkgs.buildPackages.gcc a buildInput seems like it might be a better thing .. but pkgs.buildPackages.gcc doesn't offer a `gcc` executable. How do I know which compiler to invoke?
<exarkun22> Ah, CC is set in the env ... and this project's Makefile ignores it.
* exarkun22 learns about `make -e`
<Unode> clever: ./nix/store/s53v57hyaya2kpyacwjgqp8ifwa4ddd9-nix-user-chroot-2c52b5f/bin/nix-user-chroot -n /share/test/nix -- ./nix/store/4sdlajx347vbw7wihdird5r597jkvgvb-bash-4.4-p12/bin/bash
<Unode> unshare(): Invalid argument
<clever> Unode: --no-check-sigs do not require that paths are signed by trusted keys
<clever> Unode: one sec
<clever> Unode: does a file with the name unprivileged_userns_clone exist in /proc?, is the contents "1" ?
<Unode> clever: find returns nothing so I guess no
<Unode> trying a newer system
<Unode> this works on my laptop by the way
<Unode> not nixos but has /nix
<Unode> clever: same on different CentOS 7 machines. Seems like the system doesn't allow this
rpg has joined #nixos
mog has quit [Ping timeout: 245 seconds]
<Unode> was a good try. learned a few things on the way
<exarkun22> is EPERM trying to open /dev/mem as root something I should be looking into NixOS to explain or somewhere else?
mog has joined #nixos
<exarkun22> oops sorry, it's EPERM mmap'ing it. opening it works okay.
xelxebar_ has joined #nixos
<exarkun22> Where do I find the nixos kernel config?
<{^_^}> [nixpkgs] @ttuegel merged pull request #50472 → nixos/fontconfig: fix enable option of penultimate → https://git.io/fpncl
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fp8CN
<{^_^}> [nixpkgs] @ttuegel merged pull request #50789 → melpa-stable-packages: 2018-11-19 → https://git.io/fpWO9
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fp8We
<{^_^}> [nixpkgs] @ttuegel merged pull request #50788 → melpa-packages: 2018-11-19 → https://git.io/fpWOr
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fp8WJ
<exarkun22> ah /proc/config.gz is active
<{^_^}> [nixpkgs] @ttuegel merged pull request #50787 → org-packages: 2018-11-19 → https://git.io/fpWO2
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fp8WT
<{^_^}> [nixpkgs] @ttuegel merged pull request #50786 → elpa-packages: 2018-11-19 → https://git.io/fpWOc
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fp8Wt
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fp8Wo
Rusty1 has joined #nixos
equalunique has quit [Ping timeout: 246 seconds]
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
Chiliparrot has quit [Ping timeout: 252 seconds]
<aanderse> if anyone with commit access wants to knock off a quick and easy PR: https://github.com/NixOS/nixpkgs/pull/50620
<{^_^}> #50620 (by stigtsp, 2 days ago, open): perlPackages.Imager: init at 1.006
Growpotkin has joined #nixos
kaychaks[m] has joined #nixos
equalunique has joined #nixos
<Growpotkin> Hey I ma working to dump all of my nix packages and options into FZF for a fuzzy searcher. I have packages worked out (ripping from `nix search`) I am looking for a nice solution for "Options". I made one that rips all the options from the man page, but it doesn't include modules I hav writted myself.
<Growpotkin> I am beginning to think using Nix's XML scripts to create a cleaner solution to this whole thing.
<Growpotkin> I've never used the XML builders though, and some initial googling hadn't turned up much of use. I figured someone might be able to point me in the right direction; or perhaps suggest a solution that I haven't thought of.
romanofskiWork has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #48772 → gnupg: Fix, set current tty in interactive shell → https://git.io/fxKBK
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp8lr
<{^_^}> [nixpkgs] @Mic92 opened pull request #50866 → Rust cross compilation → https://git.io/fp8ly
jlindsay has joined #nixos
georges has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #50262 → rambox: 0.6.1 -> 0.6.2 → https://git.io/fpqw5
hedning has quit [Quit: hedning]
<gchristensen> oh man Mic92
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
hedning has joined #nixos
<samueldr> any tricks to go from a downloaded file to a derivation with unfree meta without having to do a dumb mkDerivation with copy&
<samueldr> it's mostly to poison the well
<gchristensen> mmmmmaybe { type = "derivation"; out = ./the-thing; meta = { ... }; } willwork? X)
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
mfernandez has joined #nixos
<samueldr> though, thinking, it's a blob, it's not forcibly unfree
aleph- has quit [Ping timeout: 240 seconds]
* samueldr needs to find the blob's license :/
hedning has quit [Ping timeout: 272 seconds]
drakonis has quit [Quit: WeeChat 2.2]
<Lisanna> does anyone have a working exchange setup on nixos?
<equalunique> Lisanna: what kind of exchange do you mean?
<Lisanna> equalunique microsoft
<pbogdan> is anyone familiar with how the stages in stdenv work / are constructed? https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix#L231 I want to express: in stage 3 please rebuild binutils, and use those freshly built binutils when rebuilding gcc in this same stage
masterdonx has quit [Ping timeout: 245 seconds]
<equalunique> Lisanna: Microsoft Exchange is proprietary software that has never been ported to Linux, so obviously not as an exchange server. Are you referring to a specific kind of integration?
<equalunique> In any case, the most recent NixOS weekly issue did feature a GitHub repo with someone's work on building a mail server via Nix
masterdonx has joined #nixos
<Lisanna> equalunique client .-.
<Lisanna> i.e., you've put nixos on your work laptop, and now need to get your exchange email, calendar, contacts, etc
<simpson> Lisanna: I'm not familiar with "equalunique". How would you do this on another Linux distro?
<samueldr> simpson: equalunique is a user here on this irc channel :)
<gchristensen> maybe thunderbolt has a thing? simpson: equalunique is a member of our IRC channel here :)
<Lisanna> simpson erm
<gchristensen> thunderbird*
<equalunique> Never tried it. Maybe Hiri needs to be added to nixpkgs.
<simpson> Oh, sorry, complete visual parse failure.
<samueldr> what's the name of that e-mail client from novell?
<samueldr> evolution, at one point it did exchange, right?
<equalunique> Evolution claimed to
jperras has quit [Ping timeout: 268 seconds]
<Lisanna> evolution has a plugin that lets it support exchange, but the plugin has not been added to nixpkgs
equalunique has quit [Read error: Connection reset by peer]
equalunique has joined #nixos
georges has joined #nixos
<equalunique> Thunderbird also has a plugin
<Lisanna> so AFAIK there is no supported nixos solution for exchange atm
jasongrossman has joined #nixos
jperras has joined #nixos
<simpson> Yeah, but it might be overcomeable. What were you doing on your previous distro?
dramforever has joined #nixos
<Lisanna> simpson previous "distro" was darwin :p
<simpson> ("Supported" might be misleading. I don't think MS will support any solution we can offer.)
<Lisanna> s/supported/working
thc202 has quit [Ping timeout: 244 seconds]
<simpson> I have never used it, but there's a now-free plugin for Thunderbird, "ExQuilla" https://addons.thunderbird.net/en-us/thunderbird/addon/exquilla-exchange-web-services/
<simpson> I feel your pain but don't have a NixOS solution. Best of luck.
freeman42x]NixOS has quit [Ping timeout: 272 seconds]
mekeor has quit [Ping timeout: 252 seconds]
justanotheruser has quit [Ping timeout: 264 seconds]
sigmundv has quit [Ping timeout: 245 seconds]
<clever> Unode: check dmesg?
<clever> exarkun22: there is a recent kernel flag to stop /dev/mem from having free reign over all ram, you would need to build the kernel without it
boogiewoogie has quit [Remote host closed the connection]
dramforever has quit [Quit: Page closed]
justanotheruser has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.2]
hamishmack has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
Growpotkin has quit [Ping timeout: 252 seconds]
jhillyerd has joined #nixos
<delroth> I'm looking for a way to do something like builtins.readFile, but instead of reading the file contents I want its sha1 hash. Can't seem to figure out how to get that done, anyone got an example somewhere that's close enough I could hack it to do what I want? :)
<clever> > builtins.hashString "sha512" "foo"
<{^_^}> "f7fbba6e0636f890e56fbbf3283e524c6fa3204ae298382d624741d0dc6638326e282c41be5e4254d8820772c5518a2c5a8c0c7f7eda19594a7eb539453e1ed7"
<delroth> yeah, except my file is binary :)
<delroth> so readFile can't read it
<clever> delroth: one min
drakonis has joined #nixos
<clever> delroth: 2 options, plan a: import from derivation
<delroth> I've tried getting something to work with pkgs.runCommand and using that to just use sha1sum... but I failed hard so far
<delroth> as in, it doesn't seem like my derivation is getting instantiated
<clever> let foo = runCommand "name" {} "sha256 ${./input} > $out"; in builtins.readFile foo
<clever> nix-instantiate is also in read-only mode, so it cant do IFD by default
drakonis1 has quit [Ping timeout: 245 seconds]
<delroth> ok, seems like what I was doing wrong was I was doing sha256 > $out/hash then builtins.readFile "${foo}/hash"
<delroth> I'm not completely sure why but sha256 > $out then builtins.readFile foo works instead :)
<delroth> thanks!
<clever> you may have forgotten to mkdir $out
<delroth> yep, that would be why :-)
<delroth> my noob level shows.
drakonis_ has joined #nixos
alienpirate5 has quit [Ping timeout: 264 seconds]
<clever> delroth: $out can be either a file, directory, or even a symlink, for most derivations
<delroth> yeah, that makes a lot of sense -- I'd only seen directories so far in my limited experience
<delroth> (my actual use case for this: having a proper error message if I forget to git-crypt unlock my secrets :P https://github.com/delroth/chaos.delroth.net/blob/master/secrets.nix)
drakonis has quit [Ping timeout: 252 seconds]
<clever> delroth: https://gist.github.com/cleverca22/590cbb3e6b0ad1959e720d73c36e1e95 could be of interest to you
<clever> delroth: it would be able to run crypto commands, as your user, before returning a path back to nix
<delroth> I don't think I really need it at this point, but I'll keep it in mind :) thanks
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
hamishmack has joined #nixos
ottidmes has quit [Ping timeout: 245 seconds]
ninjin has quit [Ping timeout: 256 seconds]
ninjin has joined #nixos
<jhillyerd> when building a new package, if a program would normally install a config into /etc/X11/myprog/myconfig.conf - is that typically mapped to $out/etc/myconfig.conf - or do we retain the X11/myprog ?
<clever> jhillyerd: i would use $out/etc/X11/myprog
<jhillyerd> thx
jasongrossman has quit [Ping timeout: 240 seconds]
<jhillyerd> holy poop, I think my build actually worked
alienpirate5 has joined #nixos
jhillyerd has quit [Quit: WeeChat 2.2]
sir_guy_carleton has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #50867 → [wip] Misc fixes → https://git.io/fp80V
alienpirate5 has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 268 seconds]
<pbogdan> how would I debug "output: 'foo' is not allowed to refer to the following paths:"
jackdk has quit [Ping timeout: 268 seconds]
jperras has joined #nixos
alienpirate5 has joined #nixos
slack1256 has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 272 seconds]
krav1 has quit [Ping timeout: 260 seconds]
hyper_ch2 has joined #nixos
jperras has joined #nixos
romanofskiWork has quit [Quit: leaving]
reinhardt has joined #nixos
Growpotkin has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
romanofskiWork has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
jackdk has joined #nixos
jperras has joined #nixos
Lisanna has quit [Quit: Lisanna]
jperras has quit [Ping timeout: 268 seconds]
endformationage has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
Peetz0r has quit [Ping timeout: 250 seconds]
Peetz0r has joined #nixos
jhillyerd has joined #nixos
<jhillyerd> if "nix-store -q --referrers /nix/store/3bdcgwg2q6dr9wbwb41l5iv55qgw1nkg-imwheel-1.0.0pre12" prints no output, shouldn't sudo nix-collect-garbage -d remove it?
<jhillyerd> oh, I should be running --roots I guess? that ouputs {memory:20}
jperras has quit [Ping timeout: 272 seconds]
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
<jhillyerd> guess I will try rebooting... brb
jhillyerd has quit [Quit: WeeChat 2.2]
jperras has joined #nixos
jhillyerd has joined #nixos
jhillyerd has quit [Client Quit]
jhillyerd has joined #nixos
<jhillyerd> ...that worked. I had already tried systemctl restart nix-daemon; so I'm confused where that was being cached
Rusty1 has quit [Quit: Konversation terminated!]
jperras has quit [Ping timeout: 244 seconds]
<CMCDragonkai> I wrote a derivation that produces a symlink as its `$out`. This derivation can be used if I refer to it in my environment. However if I put it in `checkInputs` or `buildInputs` Nix complains about `bash: source: /nix/store/caw8gg9xk4m34pmj4ywx36mgl377wkj1-resnet50-2018-08-06: cannot execute binary file`
<CMCDragonkai> Are nix store outputs designed to be always a directory or something else? Why can't they be a symlink?
<CMCDragonkai> Here's the derivation: https://github.com/NixOS/nixpkgs/pull/50679/files
jperras has joined #nixos
<CMCDragonkai> In fact if you just give buildInputs just a `fetchurl { ... }` it complains that the path cannot execute binary file. It seems that it buildInputs expects all derivation outputs to always be a directory or an executable.
<jhillyerd> I thought for sure they could be more than a directory, nix pills talks about that some.
<jhillyerd> Beyond that, I am of no help. :)
<{^_^}> [nixpkgs] @vbgl merged pull request #50343 → ocamlPackages.camlp5: 7.06 -> 7.07 → https://git.io/fpOMB
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.camlp5: 7.06 -> 7.07 »: https://git.io/fp8zB
astrofog has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jhillyerd opened pull request #50868 → imwheel: Add 1.0.0pre12 → https://git.io/fp8zV
wagnerf has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #50353 → ocamlPackages.menhir: 20181026 -> 20181113 → https://git.io/fp3l0
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.menhir: 20181026 -> 20181113 »: https://git.io/fp8z5
jhillyerd has quit [Quit: WeeChat 2.2]
lopsided98_ has quit [Ping timeout: 264 seconds]
lopsided98 has joined #nixos
brejoc has quit [Ping timeout: 245 seconds]
palo1 has joined #nixos
wagnerf has quit [Quit: WeeChat 2.2]
palo has quit [Ping timeout: 246 seconds]
Growpotkin has quit [Quit: WeeChat 2.0]
jonreeve has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
<jonreeve> Anyone know their way around ALSA? I can't get my speakers to work correctly. I posted some system info here: https://unix.stackexchange.com/questions/482885/how-can-i-get-my-laptops-internal-speakers-to-work-correctly-on-nixos
<CMCDragonkai> Does anyone know how to tell fetchurl not to unpack the source archive?
hyper_ch2 has quit [Ping timeout: 256 seconds]
sir_guy_carleton has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
jackdk has quit [Ping timeout: 246 seconds]
BertyCoX has joined #nixos
sir_guy_carleton has joined #nixos
sir_guy_carleton has quit [Client Quit]
W1lkins_ has quit [Read error: Connection reset by peer]
W1lkins has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @angerman opened pull request #50869 → Feature/ghc cross mingw → https://git.io/fp8gh
<{^_^}> [nixpkgs] @RohanHart opened pull request #50870 → pijul: 0.10.0 -> 0.11.0 → https://git.io/fp82f
jperras has quit [Ping timeout: 268 seconds]
Lisanna has joined #nixos
<Lisanna> erm... how am I supposed to write '${foo}' (including the single quotes) into a string?
<Lisanna> '''${foo}' doesn't work
<Lisanna> parses wrong
<{^_^}> [nixpkgs] @angerman closed pull request #50869 → Feature/ghc cross mingw → https://git.io/fp8gh
jperras has joined #nixos
<Lisanna> e.g.: let a = "baz '''${foo}' bar";
hyper_ch2 has joined #nixos
<hyper_ch2> Mic92: do you have any idea why the pool won't get imported despite adding it to the initrd's .profile?
<Lisanna> ok.... the answer to my question is a bit crazy
<Lisanna> let a = "baz '${''''${foo}''}' bar";
jonreeve has quit [Ping timeout: 246 seconds]
<Lisanna> ,eval "baz '${''''${foo}''}' bar"
<Lisanna> (wait, what was that -{^_^}- command again?)
<Lisanna> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<Lisanna> ,
<{^_^}> Special commands: find locate tell - Commands sorted by use count, page 0 (use ,<n> to view page <n>): library tofu profiling -A dnw escape'' unfree pr escape" imperative pills unstable ask error ping pinning stateVersion allah callPackage declarative dentalplan nixlang++ overlay upgrade wololo IFD NUR channels cloudfront escape-special exec haskell help info logs loot paste runtimeDeps stuck tias timer whomademe wrapper arm bootfull context
<Lisanna> ,exec "baz '${''''${foo}''}' bar"
<{^_^}> "baz '${''''${foo}''}' bar": builtins.exec is a hidden unsafe impure Nix 2.0 feature that can be used to execute arbitrary commands during a Nix evaluation. Use with caution! Enable with `--option allow-unsafe-native-code-during-evaluation true`, simple example: https://gist.github.com/Infinisil/bb59b5258ccf17801179c249a9bb3342 More info: https://github.com/NixOS/nix/commit/0bb8db25
<Lisanna> .-.
astrofog has quit [Read error: Connection reset by peer]
<Lisanna> ,<n>
<Lisanna> ,
<{^_^}> Special commands: find locate tell - Commands sorted by use count, page 0 (use ,<n> to view page <n>): library tofu profiling -A dnw escape'' unfree pr escape" imperative pills unstable ask error ping pinning stateVersion allah callPackage declarative dentalplan exec nixlang++ overlay upgrade wololo IFD NUR channels cloudfront escape-special haskell help info logs loot paste runtimeDeps stuck tias timer whomademe wrapper arm bootfull context
<Lisanna> ,<n>
<Lisanna> ,1
<{^_^}> Page 1: fancy-uninstall github hardware home-manager howoldis jDwhat nix-env-r nix-info nix-repl nixGL nixcon nixeval nixpkgsVersion not-os notfound outPath proot pure-eval python qt releasenotes replaceModule root thesis todeclarative which-channel wrapnix xy
<Lisanna> ,nixeval "baz '${''''${foo}''}' bar"
<{^_^}> "baz '${''''${foo}''}' bar": I can evaluate nix if you prefix your expression with "> ". Use it here only for short demos or helping others with the syntax. If you wanna spam me, do it in #bottest!
<Lisanna> > "baz '${''''${foo}''}' bar"
<{^_^}> "baz '${foo}' bar"
<Lisanna> THERE
<inf> Hey all. This is mostly a question about systemd. My background: I have nixos&libvirt-based vm hypervisor for gpu passthrough (and some other things aside) purposes. I wanted to create a service that'd make my VM(s) go to S3 sleep before host suspend using something exactly like https://wiki.archlinux.org/index.php/Power_management#Combined_Suspend/resume_service_file (but obviously rewritten in nix) - now the
<inf> issue is that it seems that systemd does not wait until ExecStart (that I set to my bash wrapper that does virsh dompmsuspend ... and then waits until it actually is pmsuspended) finishes... What should I google to get this figured out? :P
<inf> (I'm assuming it is not waiting, because normally bash wrapper executed alone waits for approx 2-3 seconds, but systemd suspend goes to S3 almost instantly; I'm pretty sure it is actually called because I see all the logs in journal after wakeup)
jperras has quit [Ping timeout: 250 seconds]
<inf> disregard, I am an idiot.
jperras has joined #nixos
<inf> didn't look into the journal hard enough.
<inf> yep. first of all I wrongly assumed I'll have normal "root" environment (I'm very new to nixos, sorry :P) in systemd service (but it still didn't work), and then I needed Type=oneshot with ExecStartPre=..., as that'll actually block.
jperras has quit [Ping timeout: 268 seconds]
jasongrossman has joined #nixos
<inf> yay, it works. great. as always. my problems solve by themselves...
jperras has joined #nixos
<teto> domenkozar: how do you manage hie to pick up the nix-shell environment ? I can't get it working :s please
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to staging: https://git.io/fp8VJ
chimay has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
jperras has joined #nixos
reinhardt has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #50871 → bash: fix typo in configureFlags → https://git.io/fp8VW
Ariakenom has joined #nixos
Lisanna has quit [Quit: Lisanna]
BertyCoX has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/47b3086bdf5 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
reinhardt has joined #nixos
mmercier has joined #nixos
<jonge> hey there. i wonder if ccache can work with nix's stdenv. did anybody ever combine that?
jperras has joined #nixos
<jonge> ok i stupidly asked that question before finding that ccache has its own module and pkgs.ccacheStdenv in <nixpkgs>
<srhb> jonge: How would that work with the sandbox?
<srhb> I don't think it can provide any meaningful benefits.
<jonge> srhb: right, i already innerly accepted that this would not work with the sandbox...
<jonge> it would be cool to be able to mount a ccache dir into the sandbox...
<sphalerite> something something extra-sandbox-path
<sphalerite> s
Cale has quit [Remote host closed the connection]
<sphalerite> should work I think
<jonge> already have to relax my sandboxing becasue of private gitlab repos and access to auth
<sphalerite> do you know about builtins.fetchGit which can do the fetching as the user invoking the build, thus allowing private git stuff with full sandboxing?
<sphalerite> (i.e. the fetching is just moved out of the sandbox)
<jonge> yes, and i use that on my work laptop, but this won't work on my company hydra that builds a lot of company packages
worldofpeace has quit [Ping timeout: 252 seconds]
<sphalerite> ah ok
<{^_^}> [nixpkgs] @roberth merged pull request #50871 → bash: fix typo in configureFlags → https://git.io/fp8VW
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fp8rL
<jonge> i hope to find the time to set this up and write a nixos.wiki page about it
jperras has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
Tucky has joined #nixos
Diagon has joined #nixos
__Sander__ has joined #nixos
Diagon has quit [Remote host closed the connection]
carlosdagos has quit [Quit: Connection closed for inactivity]
<Mic92> hyper_ch2: no
<hyper_ch2> Mic92: :(
mayhewluke has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
jperras has joined #nixos
xelxebar_ has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
rauno has quit [Remote host closed the connection]
Diagon has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50850 → kpcli: fix wrong program name in prompt (#50845) → https://git.io/fplDI
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp8Pu
nschoe has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
icetan has joined #nixos
equalunique has quit [Remote host closed the connection]
equalunique has joined #nixos
primeos has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
primeos has joined #nixos
<hyper_ch2> Mic92: it's really weird sind the zfs load-key -a command also works just fine when added like that
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50713 → libdrm: 2.4.94 -> 2.4.96 → https://git.io/fpCl9
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fp8XL
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50735 → gnu-efi: 3.0.8 -> 3.0.9 → https://git.io/fpCog
<hyper_ch2> Mic92: I think I have the soltuion..... the .profile is only loaded when user logs in.... so the user will then be prompted to provide keys for all encrypted datasets
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50803 → dnsmasq: 2.79 -> 2.80 → https://git.io/fpWBs
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50813 → alsaLib: 1.1.6 -> 1.1.7 → https://git.io/fpWVB
<hyper_ch2> so this is only triggered when you ssh into the initrd boot phase.... but zpool import must run always... so I just add it at postCommand = ''\nzpool import xxx\necho "zfs load-key -a .....\n''
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50780 → fluidsynth: 1.1.11 -> 2.0.1 → https://git.io/fpWtW
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50753 → ethtool: 4.18 -> 4.19 → https://git.io/fpCdj
<{^_^}> [nixpkgs] @timokau merged pull request #50830 → easysnap: 2018-10-28 -> 2018-11-20 → https://git.io/fpWMu
<{^_^}> [nixpkgs] @timokau pushed commit from @sjau to master « easysnap: 2018-10-28 -> 2018-11-20 (#50830) »: https://git.io/fp8XK
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50701 → libinput: 1.12.2 -> 1.12.3 → https://git.io/fpCYA
<{^_^}> [nixpkgs] @vcunat merged pull request #50721 → knot-dns: 2.7.3 -> 2.7.4 → https://git.io/fpC0j
<{^_^}> [nixpkgs] @srhb merged pull request #50663 → altcoins.aeon: 0.12.0.0 -> 0.12.6.0 → https://git.io/fpcxZ
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fp81u
ottidmes has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
<hyper_ch2> rebuild now but won't be able to test it before tonight because don't want it to hang on reboot :)
jperras has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @zaninime opened pull request #50873 → openiscsi: 2.0-873 -> 2.0-877 → https://git.io/fp8De
jperras has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @layus opened pull request #50874 → asterisk: update all versions → https://git.io/fp8Dr
jperras has joined #nixos
Phlogistique has joined #nixos
<Phlogistique> did you know? "nix-env -iA nixos-unstable opam; opam init" when your shell is Nix will completely break your login shell
<Phlogistique> s/when your shell is Nix/when your shell is Fish/
<Phlogistique> reporting a bug after I manage to get out of this bad situation
<etu> Phlogistique: That sounds very strange
<etu> That it would break fish
<Phlogistique> etu: that's because it installs a hook in the init of fish
<Phlogistique> the hooks needs the hostname command
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50719 → jetty: 9.4.12.v20180830 -> 9.4.14.v20181114 → https://git.io/fpC0E
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp8yg
<Phlogistique> but the opam package does not declare the dependency to hostname
<etu> Phlogistique: ohh
<{^_^}> [nixpkgs] @roberth opened pull request #50875 → [WIP] nixpkgs: Begin moving to buildSystem parameter, away from crossSystem → https://git.io/fp8ya
<Phlogistique> oof, I managed to remove the offending line and get a working shell
<Phlogistique> good
zolk3ri has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50748 → harfbuzz: 1.9.0 -> 2.1.3 → https://git.io/fpCQd
jperras has quit [Ping timeout: 244 seconds]
<jasongrossman> Phlogistique++
<{^_^}> Phlogistique's karma got increased to 1
johanot has joined #nixos
jperras has joined #nixos
__monty__ has joined #nixos
ng0 has joined #nixos
<Phlogistique> well, it seems OPAM 2.0 from nixos unstable does not work at all
hedning has joined #nixos
<Phlogistique> it runs builds in a chroot where /nix is not mounted?
<Phlogistique> oh, I misread, it actually mounts /nix/store
<philipp[m]> I packaged this little tool for myself: https://github.com/nawar/kodi-cli Should I PR it to nixpkgs for everyone, or not? What is the cutoff point for usefull packages in nixpkgs?
<goibhniu> That looks handy philipp[m], I may well use it.
jperras has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos
<philipp[m]> goibhniu: I guess that's enough then :-D
<goibhniu> \o/
<goibhniu> NixOS is an awesome distro for Kodi <3
r5d has joined #nixos
<philipp[m]> Can confirm. First non puropose built distro that made a pure kodi installation with auto login and all not painfull.
<philipp[m]> To set up and maintain.
<philipp[m]> Usually my setups broke after a few months because something changed. My kodi nix box is going strong for three years now I think.
jperras has joined #nixos
<etu> goibhniu: indeed :-)
<goibhniu> I have it set up for my parents with TVheadend and all that good stuff. Best PVR system ever, and (unlike Mythbuntu) I can upgrade without fear.
<etu> I have automatic upgrades enabled of my kodi box :-)
<etu> So I never even have to ssh to it and have things up to date:)
<goibhniu> Oh! Nice!
Theuni2 has joined #nixos
<Phlogistique> for some reason, git-gui is not installed on my profile, even though I installed nixos.gitFull. anyone knows why that would happen?
<goibhniu> Cheers etu!
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
<Phlogistique> oh well, installing gitFull from nixpkgs master did the trick...
random_yanek has joined #nixos
<Phlogistique> oh! It's missing only in nix-shell
random_yanek has quit [Client Quit]
<Phlogistique> not sure if that's a bug to report against nix-shell or nixpkgs?
random_yanek has joined #nixos
<philipp[m]> And kodi-cli really scratches my last itch: Easily being able to queue youtube videos on a remote kodi.
<Phlogistique> oh, I know what's the problem. My nix-shell environment has "git", not "gitFull", so it's not a bug
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #50653 → elm: extract makeDotElm and fetchElmDeps → https://git.io/fpcFE
<{^_^}> [nixpkgs] @domenkozar pushed commit from @jerith666 to master « elm: extract makeDotElm and fetchElmDeps »: https://git.io/fp8Hw
EarlDeLaWarr has quit [Ping timeout: 268 seconds]
init_6 has joined #nixos
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #49901 → CODEOWNERS: add mboes and Profpatsch for bazel packaging → https://git.io/fpT4L
<{^_^}> [nixpkgs] @Profpatsch pushed to master « CODEOWNERS: add mboes and Profpatsch for bazel packaging »: https://git.io/fp8QE
mkoenig has quit [Quit: Lost terminal]
mkoenig has joined #nixos
asymmetric has joined #nixos
jperras has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @gebner pushed to master « iprover: 2.5 -> 2018_Jul_24_11h »: https://git.io/fp87Y
xelxebar_ has joined #nixos
jperras has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #50277 → cups-filters: add all needed execve runtime paths → https://git.io/fpmOF
<{^_^}> [nixpkgs] @Profpatsch pushed to master « cups-filters: add all needed execve runtime paths »: https://git.io/fp87P
<{^_^}> [nixpkgs] @FRidh pushed 307 commits to python-unstable: https://git.io/fp85v
erictapen has joined #nixos
_xelxebar has joined #nixos
xelxebar_ has quit [Ping timeout: 268 seconds]
jperras has quit [Ping timeout: 276 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 10 commits to master: https://git.io/fp85D
<{^_^}> [nixpkgs] @FRidh pushed 109 commits to staging-next: https://git.io/fp85Q
<{^_^}> [nixpkgs] @FRidh pushed 111 commits to staging: https://git.io/fp85F
<{^_^}> [nixpkgs] @FRidh pushed 496 commits to python-unstable: https://git.io/fp8dJ
_xelxebar has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh opened pull request #50876 → Staging next → https://git.io/fp8ds
asymmetric has quit [Ping timeout: 268 seconds]
<__monty__> I have a haskell script with a nix shebang. This stopped working and I'm not sure how to fix the problem: `error: syntax error, unexpected $undefined, at (string):1:94`
<__monty__> Anyone have advice?
jperras has quit [Ping timeout: 252 seconds]
vasarmilan has joined #nixos
<srhb> __monty__: What's the shebang?
Diagon has quit [Quit: Leaving]
jperras has joined #nixos
<__monty__> srhb: http://ix.io/1u4n
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging-next: https://git.io/fp8dA
<srhb> __monty__: Does splitting -i and -p really work like that? never seen it before
<srhb> Anyway, that's not the issue.
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to staging: https://git.io/fp8FJ
<__monty__> srhb: It used to.
<__monty__> Afaik you can split it over as many lines as you want.
<srhb> Something fishy with the ghcWithPackages then..
<srhb> __monty__: Seems related to the single quotes
<srhb> __monty__: Works with double quotes. Go figure.
<{^_^}> [nixpkgs] @FRidh pushed 495 commits to python-unstable: https://git.io/fp8FB
<__monty__> srhb: Hmm, should I report this somewhere?
<srhb> __monty__: If it's a regression, yeah.
<__monty__> srhb: Ah, NixOS/nix#2356
<{^_^}> https://github.com/NixOS/nix/issues/2356 (by cumber, 14 weeks ago, open): nix-shell in second #! line only accepts double quotes for package expressions
<srhb> Oh, how curious :D
<__monty__> srhb: I still haven't been able to properly set up signature for my ssh-substituter.
Ridout has joined #nixos
<srhb> What's the problem?
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50730 → guile-sdl2: 0.2.0 -> 0.3.1 → https://git.io/fpCVG
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « guile-sdl2: 0.2.0 -> 0.3.1 »: https://git.io/fp8bn
<{^_^}> [nixpkgs] @markuskowa merged pull request #50717 → jackett: 0.10.434 -> 0.10.446 → https://git.io/fpC4g
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fp8bW
<__monty__> srhb: A whole bunch of these: http://ix.io/1u4p
jperras has quit [Ping timeout: 240 seconds]
<srhb> __monty__: Does it have a valid signature when you check locally on toxsol?
<srhb> Or any signature for that matter.
<__monty__> How do I check?
<srhb> nix path-info --json /nix/store/...somepath -- for instance
<__monty__> All I did was generate a key and put secret-key-files=path in nix.conf on toxsol and trusted-public-keys in nix.conf on the client.
ng0 has quit [Quit: Alexa, when is the end of world?]
<srhb> __monty__: That should sign new paths, iirc, but not existing ones.
<srhb> If that's all that's wrong, you can sign the existing paths with nix sign-paths
jperras has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50767 → lego: 1.0.1 -> 1.2.1 → https://git.io/fpChN
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp8bA
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
jperras has quit [Ping timeout: 244 seconds]
LnL has quit [Max SendQ exceeded]
hyper_ch2 has joined #nixos
fendor has quit [Remote host closed the connection]
LnL has joined #nixos
fendor has joined #nixos
tnks has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
hyper_ch2_ has joined #nixos
ng0 has joined #nixos
mayhewluke has quit [Ping timeout: 268 seconds]
BlessJah_ has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
BlessJah_ has joined #nixos
lfish has joined #nixos
<{^_^}> [nixpkgs] @ttuegel opened pull request #50877 → nixos/fontconfig: fix enable option of penultimate → https://git.io/fp8AR
<{^_^}> [nixpkgs] @Mic92 opened pull request #50878 → makeRustPlatform: refactor to make it easier to understand → https://git.io/fp8Aa
ninjin has quit [Remote host closed the connection]
johnnyfive has quit [Ping timeout: 245 seconds]
ninjin has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #50420 → phpPackages: drop all packages and package versions for PHP5 → https://git.io/fpG26
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fp8AA
jperras has quit [Ping timeout: 245 seconds]
Ridout has quit [Quit: Lost terminal]
_xelxebar has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
ninjin has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #49770 → dvtm-unstable: init at 2018-03-31 → https://git.io/fxjWq
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fp8xH
erictapen has joined #nixos
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #50879 → Bump GHCJS 8.4 → https://git.io/fp8p6
vidbina has joined #nixos
jperras has joined #nixos
<__monty__> srhb: Do I need to pass every unsigned path to nix sign-paths?
<exarkun22> Humm. Tried switching to linuxPackages_rpi but rebooting got me back to the same kernel as I had before, linuxPackages_latest.
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #50880 → Backport #50879 → https://git.io/fp8hq
<__monty__> srhb: And meanwhile I'm getting `error: secret key is corrupt` on the client.
jperras has quit [Ping timeout: 250 seconds]
<exarkun22> Any tricks I should know about kernel upgrades w/ NixOS or nixops?
<srhb> __monty__: There's an --all :)
<gchristensen> what kind of tricks are you thinking? are you anticipating problems?
<srhb> __monty__: Why does the client even know about the secret key?
<exarkun22> gchristensen: not anticipating, already having ;)
<gchristensen> exarkun22: ah, let's start there, then
<avn> exarkun22: rebuild with new kernel (`nixos-rebuild boot`) then reboot
reinhardt has quit [Ping timeout: 252 seconds]
<__monty__> srhb: Don't know how it knows. It only has the public key.
<exarkun22> avn: Using nixops, I hope that step would be done automatically?
<__monty__> srhb: Ty, sign-paths isn't documented in the nix manual afaict and I'm without manpage on both boxen.
<exarkun22> gchristensen: I switched from linuxPackages_latest to linuxPackages_rpi and `nixops deploy`'d and everything looked good (nixops said it succeeded, extlinux has the new kernel as the default entry) but after reboot, system is still on the old kernel
<exarkun22> And maybe has rolled back to some earlier version, too? I'm not sure. But a program I deployed with nixops before the reboot is now no longer in the system path.
<srhb> __monty__: nix subcommands are self documenting. nix sign-paths --help
<__monty__> srhb: Should've known. Now I know I have to specify a secret key.
<exarkun22> but maybe nixops doesn't know about kernel upgrades and is skipping some important step?
<avn> exarkun22: I am sure, that nixops not reboot hotss automatically
<gchristensen> exarkun22: nixops doesn't know anything about packages or anything really about the other side :) there is nothing special about kernel upgrades... did you reboot?
<exarkun22> gchristensen: yes, manually and w/ the nixops `--force-reboot` option
<srhb> __monty__: Any way, re. corrupt key, it sounds like something's wrong with your nix.conf on the client side, did you pastebin that somewhere?
jperras has joined #nixos
<__monty__> srhb: http://ix.io/1u51
<srhb> __monty__: It is not a path entry, the actual public key needs to go there
<__monty__> Ah
* exarkun22 tries `nixos-rebuild boot` for the heck of it
<srhb> exarkun22: Wait wait wait
<srhb> exarkun22: Is that on a nixops managed system?
<exarkun22> srhb: ha ha too late. ;p
<exarkun22> srhb: yes
<srhb> Oh dear...
<exarkun22> there I ^Z'd it, what's up
<exarkun22> it's okay I have an image I can always reflash
<srhb> Was it at least nonebackend? :-P
<exarkun22> so I'm getting the impression now that nixos-rebuild is not a good thing to do to a nixops managed system?
<srhb> Generally running nixos-rebuild on a nixops managed system will break a ton of assumptions and make the system hard to access again
<srhb> Correct
<srhb> Unless you took special steps to convert it to a "regular" NixOS setup.
<exarkun22> okay, good to know.
reinhardt has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
<exarkun22> srhb: Any hints about why nixops isn't actually upgrading my kernel? :)
<gchristensen> exarkun22: paste the output from ls -la /nix/var/nix/profiles, and the output of ls -la /run/*-system
<Phlogistique> I want the PATH of a the target's stdenv to be available when running my package, would "makeWrapper $out/bin/.opam-wrapped $out/bin/opam --run ". ${stdenv}/setup"' be the correct way to do that?
eeva has joined #nixos
<Phlogistique> "makeWrapper [...] --suffix PATH : $PATH" works, but I think it would break under cross-compilation
<eeva> Hey, how's the support for GCE in nixops
<__monty__> Hmm, srhb, can't seem to get any paths signed. I collected garbage because I figured maybe there was half of something left in the store somehow but it didn't help. `error: cannot calculate fingerprint of path '/nix/store/20wpnj8f7xa8yfrc1jmpxr3cgbas1yrj-acl-2.2.52' because its size/hash is not known`
<eeva> I wondor if I should invest more time or just drop it and change gear now
<gchristensen> eeva: not as good as nixops' AWS support
<gchristensen> (that is all I know)
<exarkun22> eeva: I don't know how good it is overall but I did manage to boot a GCE instance with it and run some software
<gchristensen> exarkun22: so you've booted system-2-link but you've tried to deploy 5 times since, indicating nixops isn't updating your bootloader properly. when you set up nixops, did you copy over the complete hardware-configuration.nix?
<exarkun22> eeva: It had some annoying limitations like being unable to resize volumes for already-existing vms. And I have no idea how it fails in all the important edge cases that always come up.
dramforever has joined #nixos
<eeva> Hmmm, I think I'll leave it at that for now. Probably gonna go build my infra with terraform + nixos machines :>
<exarkun22> gchristensen: Hm. Probably not? I don't think I did anything with `hardware-configuration.nix` at all. The system started out as the armv7l image from https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/
<dramforever> Hello from NixOS!
<gchristensen> exarkun22: on the device, is there a /etc/nixos/hardware-configuration.nix ?
<eeva> dramforever: o/
drakonis has joined #nixos
<dramforever> I just made the switch to NixOS on real hardware and things have generally been fine
jperras has joined #nixos
<gchristensen> dramforever: yay! welcome!
<exarkun22> gchristensen: no, there's only configuration.nix
<gchristensen> exarkun22: can you paste it somewhere for me to see?
<avn> dramforever: I do it after 3 days of chroot playing, then never looked back ;)
<dramforever> I basically live next to a mirror site, so I can download packages for Arch with 10x the speed compared to cache.nixos.org
<dramforever> But I just decided that speed is a bearable itch for now
jperras has quit [Ping timeout: 260 seconds]
dramforever has quit []
<{^_^}> [nixpkgs] @Mic92 merged pull request #50878 → makeRustPlatform: refactor to make it easier to understand → https://git.io/fp8Aa
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp4vz
lfish has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 268 seconds]
m0rphism has quit [Quit: WeeChat 2.2]
dramforever has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed commit from @orivej to release-18.09 « movit: 1.5.1 -> 1.6.2, fix build after #49310 »: https://git.io/fp4fk
dramforever has quit [Remote host closed the connection]
<hark> anyone knows how to specify the ssh port in nix.buildMachines?
jperras has joined #nixos
iyzsong has quit [Ping timeout: 276 seconds]
acowley has quit [Ping timeout: 252 seconds]
dramforever has joined #nixos
halfbit has joined #nixos
ng0 has quit [Remote host closed the connection]
acowley has joined #nixos
<gchristensen> you need to set up an SSH Config file
<gchristensen> exarkun22: probably best to ask in #nixos-aarch64 -- I don't grok this stuff
<exarkun22> gchristensen: okay, thanks!
metastance has joined #nixos
metastance has quit [Quit: WeeChat 2.3]
metastance has joined #nixos
init_6 has quit []
<{^_^}> [nixpkgs] @hedning opened pull request #50881 → gettext: remove cross suffix from envHook → https://git.io/fp4Jn
<{^_^}> [nixpkgs] @mpickering opened pull request #50882 → kythe: Add missing executable, fix rpath and symlink executables into bin → https://git.io/fp4JH
arianvp has quit [Ping timeout: 244 seconds]
<typetetris> If I use `fetchTarball` will it always download the tarball or first look into the store, wether it has done that before?
<gchristensen> typetetris: builtins.fetchTarball ?
arianvp has joined #nixos
<typetetris> gchristensen: yes
<FRidh> typetetris: there is a ttl when used without sha256
<typetetris> ttl = time to live? And if I specify the sha256 will ttl be infinity (up to gc)?
revtintin has joined #nixos
<FRidh> correct
<typetetris> thank
<exarkun22> Okay, fixed my kernel. Apparently I forgot to twiddle the bootable bits on the partitions after the last time I reflashed. Yay, manual steps. :)
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.isodate: fix build »: https://git.io/fp4Uu
<exarkun22> Now, sadly, I have the rpi kernel and I still have no rpi gpio access. :(
Rusty1 has joined #nixos
<hark> mm, so, should building packages for i686 work on a 64 bit nixos?
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fp4UF
<typetetris> Okay, so if I specify a `sha256` and I have a tree with that sha in my store it just ignores the file name given? Shouldn't it atleast check, wether the tree in the store was downloaded with that filename and if not redownload to see if contents of download and sha match?
<FRidh> hark: $ nix-build -A pkgsi686Linux.python builds a 32-bit version of python
<typetetris> So by just changing the filename in `builtins.fetchTarball` it doesn't do anything if you don't alter the sha too.
<typetetris> Thats kind of surprising
<{^_^}> [nixpkgs] @edolstra pushed to master « Revert "resolvconf.conf: Remove forced NSCD service restart" »: https://git.io/fp4TO
<FRidh> typetetris: that's the case with all fixed-output derivations. The hash is the id.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fp4Tn
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #50883 → pythonPackages.simplekml: Init at 1.3.1 → https://git.io/fp4Tz
<{^_^}> [nixpkgs] @zimbatm closed pull request #50468 → nixos-rebuild: invoke sudo on non-root switch → https://git.io/fpnIc
Theuni2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @zimbatm closed pull request #34755 → WIP: Fetch sources → https://git.io/vAkqM
<{^_^}> [nixpkgs] @zimbatm closed pull request #32776 → RFC: Separate profiles → https://git.io/vb6CL
<{^_^}> [nixpkgs] @zimbatm closed pull request #50427 → nixos: switch the package installation prefix from `nixos.` to `nixpkgs.` → https://git.io/fpG6I
zimbatm has left #nixos [#nixos]
endformationage has joined #nixos
Theuni2 has joined #nixos
<dramforever> typetetris: I literally just used that feature
<dramforever> nixpkgs.mathematica when trying to build depends on a derivation that literally just fails
<dramforever> But it specifies a sha256
<dramforever> So you can feed it the file you downloaded yourself and Nix will happily use it
equalunique has quit [Ping timeout: 260 seconds]
equalunique has joined #nixos
<__monty__> I'm trying to sign-paths --all but run into this `error: cannot calculate fingerprint of path '/nix/store/20wpnj8f7xa8yfrc1jmpxr3cgbas1yrj-acl-2.2.52' because its size/hash is not known` Anyone have an idea of how to get around this?
hyper_ch2_ has quit [Ping timeout: 256 seconds]
<{^_^}> [cabal2nix] @peti pushed to master « fltkhs: fix build in post-processing »: https://git.io/fp4IO
chimay has quit [Quit: WeeChat 2.3]
<aminechikhaoui> __monty__ does nix verify <path> return anything interesting ?
jabranham has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fp4IE
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-18.09: https://git.io/fp4Iu
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.03: https://git.io/fp4I2
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/fp4Iw
<{^_^}> [cabal2nix] @peti pushed to master « fltkhs: fix build in post-processing »: https://git.io/fp4IP
<__monty__> aminechikhaoui: Yes, it says it is corrupted and untrusted. Actual hash is all 0.
<{^_^}> [nixpkgs] @peti pushed commit from @chris-martin to haskell-updates « fltk: add version 1.4.x-r13121 »: https://git.io/fp4Ll
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fp4Lg
ng0 has joined #nixos
<{^_^}> [nixpkgs] @peti closed pull request #50828 → Fix haskellPackages.fltkhs → https://git.io/fpWiB
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fp4LQ
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fp4LA
<{^_^}> [nixpkgs] @peti pushed 6 commits to master: https://git.io/fp4Lh
Tucky has quit [Quit: WeeChat 2.2]
<exarkun22> how do I specify a kernel package with certain extra modules available?
alex`` has joined #nixos
<tilpner> boot.extraModulePackages?
<exarkun22> looks promising, thanks
vasarmilan has quit [Ping timeout: 256 seconds]
goibhniu has quit [Ping timeout: 252 seconds]
<exarkun22> now just need to get the module I want built :)
<exarkun22> can I take an existing kernel derivation and construct a new one just like it except with an extra module enabled?
<exarkun22> overrideAttrs?
<exarkun22> nope, no overrideAttrs on the kernel package
<{^_^}> [nixpkgs] @FRidh pushed 371 commits to python-unstable: https://git.io/fp4qg
<exarkun22> stdenv.lib.overrideDerivation?
<{^_^}> [nixpkgs] @FRidh merged pull request #50882 → kythe: Add missing executable, fix rpath and symlink executables into bin → https://git.io/fp4JH
<{^_^}> [nixpkgs] @FRidh pushed commit from @mpickering to master « kythe: Add missing executable, fix rpath and symlink executables into bin (#50882) »: https://git.io/fp4q6
aleph- has joined #nixos
<exarkun22> hm, "error: attribute 'drvAttrs' missing,"
<exarkun22> oh, linuxPackagesFor...
erictapen has quit [Ping timeout: 245 seconds]
goibhniu has joined #nixos
erictapen has joined #nixos
<exarkun22> er, oh, or not
_xelxebar has quit [Ping timeout: 245 seconds]
<exarkun22> Considering the nixpkgs docs about how to add a new kernel, maybe there are no real re-use primitives for defining the kernel
<gchristensen> exarkun22: you can enable additional modules, yes
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #50867 → [WIP] Misc fixes → https://git.io/fp80V
<{^_^}> [nixpkgs] @matthewbauer pushed 7 commits to master: https://git.io/fp4OE
<exarkun22> ah, just by name.
<exarkun22> now I just have to figure out what module I actually need, I suppose
tv has quit [Read error: Connection reset by peer]
tv has joined #nixos
nD5Xjz has quit [Ping timeout: 272 seconds]
<makefu> gchristensen: just out of interest, why is the aarchbox using linux4.18 as kernelPackages but the linux4.17 kernel gets overwritten 10 lines below instead of 4.18 ?
jasongrossman has quit [Ping timeout: 264 seconds]
<gchristensen> makefu: uhhhhhhhh........
<gchristensen> makefu: would you believe me if I told you I'm surprised it boots at all?
<makefu> yes, of course! that happens all the time, "how could this ever have worked?"
<{^_^}> [nixpkgs] @FRidh merged pull request #50714 → kubetail: 1.6.4 -> 1.6.5 → https://git.io/fpC8k
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « kubetail: 1.6.4 -> 1.6.5 »: https://git.io/fp43R
Theuni2 has quit [Ping timeout: 268 seconds]
steshaw has quit [Quit: Connection closed for inactivity]
nD5Xjz has joined #nixos
haslersn has joined #nixos
<haslersn> Hi, when running `nixos-rebuild switch`, I get `cannot copy /nix/store/[...]-linux-4.19.2/bzImage to /boot/kernels/[...]-linux-4.19.2-bzImage.tmp`. This is probably due to full `/boot` partition. It has only 100MB because it was created by MS Windows How can I work around this?
<samueldr> gchristensen: looks like the hisilicon ethernet adapter thing works right on stock 4.18 then?
jperras has quit [Quit: WeeChat 2.2]
<gchristensen> I guess? :)
<samueldr> (and I verified the /proc/config.gz has those options at `y`, and the currently running kernel on the community box is 4.18)
<exarkun22> haslersn: I assume you have another, larger partition on the system. You could just stop using the separate /boot partition. Let /boot live on the same partition as /.
goibhniu has quit [Read error: Connection reset by peer]
goibhniu has joined #nixos
<sphalerite> exarkun22: not with EFI
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b7361e4c25b (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<sphalerite> actually I think it's more nuanced than that, but not usually with efi
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
mbrgm has joined #nixos
goibhniu has quit [Ping timeout: 245 seconds]
<samueldr> with boot.loader.efi.efiSysMountPoint configured to mount the ESP elsewhere, /boot is not the ESP, thus the defaults would work for grub
<samueldr> not sure about systemd-boot though
<haslersn> exarkun22: Then I get: `[...]/grub-install: error: /boot doesn't look like an EFI partition.`
<samueldr> haslersn: you'll need to mount the ESP somewhere (e.g. /boot/ESP) and set efiSysMountPoint accordingly
<samueldr> https://nixos.wiki/wiki/Bootloader#Keeping_kernels.2Finitrd_on_the_main_partition
erictapen has quit [Ping timeout: 252 seconds]
metastance has quit [Read error: No route to host]
haslersn has quit [Ping timeout: 256 seconds]
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
cyounkin_ has joined #nixos
jtcs has quit [Ping timeout: 260 seconds]
cyounkins has quit [Ping timeout: 272 seconds]
alex`` has quit [Ping timeout: 264 seconds]
jtcs has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed to staging-next « enchant: 1.6.0 -> 1.6.1 »: https://git.io/fp4ZA
goibhniu has joined #nixos
rihardsk has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
dbmikus has joined #nixos
<hark> bin/ld: cannot find -lboost_python
<hark> python36Packages.boost < is that not supposed to be in here?
<timclassic> Has anyone had luck getting xorg on NixOS on a rpi3 (aarch64) to use the official 7" touchscreen? I'm about to try building the fbturbo driver but I thought I'd ask first.
<timclassic> My initial attempt at just using fbdev did not work.
<samueldr> one major note about our raspberry pi images: it's using the mainline kernel, so some things work differently than when using the raspberry pi foundation's fork
<samueldr> recently we have had a contribution enabling the aarch64 build of their fork, not sure if it can help
pita has joined #nixos
<samueldr> they, the raspberry pi foundation, don't really support aarch64 :/
<timclassic> To be specific, this is a 3B, not a plus
<samueldr> (same comments apply)
drakonis has quit [Quit: WeeChat 2.2]
<timclassic> Yes, I'm aware that we are using the mainline kernel, which while annoying is probably a good thing in the end :)
<timclassic> That is interesting, though, maybe I'll try their kernel
<timclassic> I do get a console display--I'm only struggling with X
equalunique has quit [Read error: Connection reset by peer]
* timclassic would rather stick with the mainline kernel if he can make it work
<samueldr> on HDMI, modesetting works (worked) fine for me a couple months ago
<samueldr> though I think I had to adjust cma= on the kernel cmdline to add more memory
equalunique has joined #nixos
<timclassic> You know, I should get HDMI working first. Then I can worry about the 7" display.
<timclassic> (It may already work, I just haven't plugged it in yet since the console came up fine on the 7".
<timclassic> )
<samueldr> make sure you use: services.xserver.videoDrivers = [ "modesetting" ];
<samueldr> IIRC
<typetetris> How does one get reviews for pull requests in https://github.com/NixOS/nix ?
<timclassic> samueldr: Ohh interesting. Okay, I was using fbdev. I'll try it, thanks!
<samueldr> timclassic: you may really need to increase cma= to more than 32M, maybe 64, 128, to get X running on the vc4 modesetting driver
orivej has quit [Ping timeout: 252 seconds]
<samueldr> and it's possible that with a puny power supply that's not delivering enough power that there may be issues, most likely is that you lose the hdmi image and get weird u-boot output instead of the expected X11 or even VT
__Sander__ has quit [Quit: Konversation terminated!]
<timclassic> Great, thanks for the advice. I'm using the official power supply so I should be good there.
<timclassic> I won't be able to try for a few hours, but I'll let you know how it goes!
Ariakenom has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
erasmas has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50772 → gede: 2.10.9 -> 2.12.3 → https://git.io/fpWfo
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp4Wa
halfbit has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49657 → pythonPackages.google-cloud-*: init all 37 modules → https://git.io/fxpwd
<{^_^}> [nixpkgs] @Mic92 pushed 38 commits to master: https://git.io/fp4WN
donguri has joined #nixos
zolk3ri has quit [Quit: leaving]
<donguri> What do I do if I get "error: NAR info file '8gn2b5vvlazg608cj1y5l4igp9rckmnq.narinfo' is corrupt"?
<donguri> This is when trying to install arandr (nixpkgs 18.09): nix-env -iA nixpkgs.arandr
<{^_^}> [nixpkgs] @dtzWill opened pull request #50884 → git: 2.19.1 -> 2.19.2 → https://git.io/fp4l9
<aminechikhaoui> donguri is it reproducible each time you run it ?
<donguri> Earlier I was getting "error: unexpected end-of-file" instead
<donguri> Now, it's consistently "error: NAR info file '8gn2b5vvlazg608cj1y5l4igp9rckmnq.narinfo' is corrupt"
<dramforever> donguri: What happens if you download https://cache.nixos.org/8gn...mnq.narinfo
<dramforever> you know, put the long string of stuff in there
<dramforever> hey i think i'm getting similar stuff
Ariakenom has joined #nixos
<donguri> It exists, is that what you mean? Or should I be doing something with it
<donguri> First line is: StorePath: /nix/store/8gn2b5vvlazg608cj1y5l4igp9rckmnq-dejavu-fonts-minimal-2.37
<dramforever> you can download it fine?
<donguri> Yes, downloads fine
<dramforever> last line is Sig ... IxBw==
<dramforever> well that's weird
asymmetric has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
halfbit has joined #nixos
jperras has joined #nixos
<donguri> Yep, I have that for the last line
Yaniel has quit [Excess Flood]
Yaniel has joined #nixos
jtojnar has joined #nixos
<dramforever> I don't know if it's related, but I've been consistently failing to download binutils for the last hour or so
<{^_^}> [nixpkgs] @roberth merged pull request #50532 → lib/fixed-points.nix: add an example for extends → https://git.io/fpcqq
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fp44f
<donguri> The installation works fine on another machine I'm on
FRidh has quit [Quit: Konversation terminated!]
mekeor has joined #nixos
fendor_ has joined #nixos
mkoenig has quit [Ping timeout: 268 seconds]
fendor has quit [Remote host closed the connection]
<Mic92> This code-owner stuff is not ideal
<{^_^}> [nixpkgs] @Mic92 merged pull request #50521 → qt59.qtwebkit: fix build on Darwin → https://git.io/fpcU0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp4B3
<aminechikhaoui> donguri weird I'm able to pull that store path http://ix.io/1u6m
Haskellfant has joined #nixos
mkoenig has joined #nixos
<__monty__> I'm getting a "does not appear to be a binary cache" warning on my reverse proxy of cache.nixos.org. How do I go about troubleshooting this? One complicating factor is I use a toxvpn to connect to the host where the caching container is running.
dhess has quit [Quit: ZNC - https://znc.in]
cocreature has quit [Remote host closed the connection]
Haskellfant is now known as cocreature
cocreature has quit [Ping timeout: 250 seconds]
symphorien has quit [Ping timeout: 250 seconds]
andi- has quit [Ping timeout: 250 seconds]
<__monty__> Was missing another proxy.
<{^_^}> [nixpkgs] @Mic92 pushed to staging « buildGoPackage: remove build-time dependency on parallel (and perl) »: https://git.io/fp4Re
<__monty__> Now I'm getting the substituter is missing signature for ... warning but for the binary cache : /
cocreature has joined #nixos
symphorien has joined #nixos
<__monty__> Does cache.nixos.org have signatures I can get the public key for? Or do I need to disable signature checking? Or can I make an nginx reverse proxy sign cached items?
mmercier has quit [Ping timeout: 268 seconds]
andi- has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « blsd: fix cross-compilation »: https://git.io/fp4RZ
donguri has quit [Ping timeout: 240 seconds]
<aminechikhaoui> __monty__ should be in your config by default
peacememories has joined #nixos
<aminechikhaoui> cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
<jeaye> I've just installed firefox via nix on Arch; it runs fine, except it doesn't have WebGL support. What would I need to do in order to get that?
<{^_^}> [nixpkgs] @Mic92 pushed to master « go_1_11: update outdated meta.branch »: https://git.io/fp4RM
<{^_^}> [nixpkgs] @Mic92 pushed to master « go_1_10: update outdated meta.branch »: https://git.io/fp4RF
<__monty__> aminechikhaoui: Not on nixos, maybe that's why?
sigmundv has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #50885 → Go cross compilation preparation → https://git.io/fp403
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
<__monty__> srhb, aminechikhaoui: Thank you, everything seems to be working now.
<__monty__> aminechikhaoui: Maybe because I specified a trusted-public-keys?
hyper_ch has joined #nixos
<aminechikhaoui> hm maybe yeah
<{^_^}> [nixpkgs] @costrouc closed pull request #50858 → [WIP] jupyter editor including extensions → https://git.io/fp8eW
srl295 has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has quit [Client Quit]
drakonis has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @costrouc closed pull request #49807 → Integration of kernels and extensions with jupyter → https://git.io/fpvUo
<{^_^}> [nixpkgs] @costrouc closed pull request #49721 → Update jupyter packages to python 3 only packages with 27 support → https://git.io/fxhrN
fendor_ has quit [Ping timeout: 240 seconds]
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #50886 → pythonPackages.docutils: fix python3 build → https://git.io/fp4Ei
<{^_^}> [nixpkgs] @Mic92 merged pull request #50833 → wireguard-tools: 0.0.20181018 -> 0.0.20181119 → https://git.io/fpW7f
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp4EQ
jperras_ has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
jperras has quit [Ping timeout: 250 seconds]
peacememories has joined #nixos
hyper_ch has joined #nixos
acarrico has quit [Ping timeout: 272 seconds]
phreedom has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50741 → Update gambit and gerbil to new upstream releases → https://git.io/fpCyI
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fp4u6
<hyper_ch> Mic92: that worked now
elgoosy has joined #nixos
drakonis_ has joined #nixos
oida has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 264 seconds]
oida has joined #nixos
<{^_^}> [nixpkgs] @asymmetric opened pull request #50887 → prettytable: 0.7.1 -> 0.7.2 → https://git.io/fp4zY
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
<Mic92> hyper_ch: how can you login to a machine itself before it is bootet?
<Mic92> *booted
<hyper_ch> Mic92: didn't you add the dropbear initrd thing?
<Mic92> hyper_ch: yes, I mean how do you login without dropbear as you mentioned in the text?
<hyper_ch> Mic92: did I mention that?=
aleph- has quit [Ping timeout: 272 seconds]
<Mic92> hyper_ch: When you login by SSH into dropbear or at the machine itself,
<Mic92> ...
<hyper_ch> "or at the machine itself" --> having physical access
drakonis_ has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/03dc6471c12 (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dfd23be5a38 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f52b7f5c345 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
drakonis_ has joined #nixos
<hyper_ch> Mic92: btw, I also learnt to how change key from file based to password prompt
<hyper_ch> haven't tried that before
<hyper_ch> encrypted dataset must be unlocked: zfs change-key -o keylocation=prompt -keyformat=passphrase --> then it will promt you for a passphrase to set
<hyper_ch> -o keyformat of course
erasmas has quit [Quit: leaving]
phreedom has joined #nixos
<hyper_ch> and hardware config has now a nice entry like https://paste.simplylinux.ch/view/raw/693af46e
orivej has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
<hyper_ch> Mic92: I did rephrase it in the wiki
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon3 is now known as Mateon1
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
nschoe has quit [Ping timeout: 244 seconds]
drakonis_ has joined #nixos
dramforever has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 268 seconds]
cyounkins has joined #nixos
johnnyfive has joined #nixos
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
cyounkin_ has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 256 seconds]
freeman42x]NixOS has joined #nixos
oida has joined #nixos
sigmundv has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
haslersn has joined #nixos
<haslersn> Hi, I've got a laptop dual booting nixos and windows. The EFI partition was created by windows and has therefore only 100MB. Previously in the IRC, I got help suggesting that I should mount the EFI partition on `/boot/efi` and set `efi.efiSysMountPoint = "/boot/efi";`. I followed that advice; however, the grub config is still installed in `/boot` instead of in `/boot/efi`. Can anybody help?
fendor has joined #nixos
<hyper_ch> what wouldn't grub be in /boot?
<hyper_ch> that efi partition should only have like 1-2 files
elgoosy has quit [Remote host closed the connection]
jperras_ has quit [Quit: WeeChat 2.2]
<haslersn> hyper_ch: Ah okay. Somehow it doesn't boot and I thought that was the issue.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50754 → linuxPackages.evdi: 1.5.0.2 -> 1.5.1 → https://git.io/fpCFd
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « linuxPackages.evdi: 1.5.0.2 -> 1.5.1 »: https://git.io/fp4as
ashkitten has quit [Quit: WeeChat 2.3]
ashkitten has joined #nixos
<haslersn> hyper_ch: My EFI partition does only have one file `/EFI/NixOS-boot-efi/grubx64.efi`. Wouldn't there have to be some grub config?
<ottidmes> haslersn: can you show your configuration.nix, or at least the relevant bits, that might help
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> haslersn: I don't really know..... but the EFI debian with root zfs only has 1 file in the efi partition
<hyper_ch> haslersn: https://paste.simplylinux.ch/view/raw/43284066 --> see, only 1 file for loading grub in the efi partition and /boot is on it's own
<haslersn> The "choose bootloader" has the entry NixOS-boot-efi, but when I choose it, the screen goes black for a bit and then the menu appears again. My config: https://pastebin.com/Xnfv10TF
EarlDeLaWarr has joined #nixos
<ottidmes> hyper_ch: I have the same config, except no grub.useOSProber, grub.enableCryptodisk, and efi.efiSysMountPoint
<ottidmes> haslersn: ^
<hyper_ch> ottidmes: I try to avoid uefi :)
<hyper_ch> it's just pita :)
<ottidmes> hyper_ch: so you go legacy MBR style?
<hyper_ch> and unfortunately the way I used it on debian, using the seperated /dev/sd9 partition as ESP doesn't work with newer zfs features like native encrypted root zfs
<haslersn> ottidmes: So you have some other `grub.device`?
<hyper_ch> ottidmes: yes, legacy mbr works
<ottidmes> haslersn: nope, also "nodev"
<haslersn> Well, the reason I use the `efiSysMountPoint` is that I don't want the kernels to be on my EFI partition, which is only 100MB big
<haslersn> ottidmes: ^
<hyper_ch> wouldn't it be easier to just run windows in a vm? :)
<clever> haslersn: grub.device is only ever used for legacy booting, if your on efi, then you want grub.device = "nodev";
<haslersn> hyper_ch: yes
<ottidmes> haslersn: with efiSysMountPoint = "/boot"; I have it at /boot/efi/NixOS-boot/grubx64.efi
<chrisaw> Quick question - how can I point the "nodejs" package to "nodejs-10_x" ? I'm trying to basically force nodejs-10_x as the default for nodejs on my system.
<ottidmes> hyper_ch: I have only one UEFI device, so its still very used to MBR myself, but UEFI has not been a pain point yet, the "modern" BIOSes however are less useful to me as the old ones
<gchristensen> ottidmes: oh! interesting, in what way?
<ottidmes> chrisaw: you could override/overlay it, but the danger of doing so is that you will force everything that uses node to be build from source, since they are unlikely to be build with nodejs 10, and it also might cause failure since they might not be future compatible, so I cannot recommend that
ThatDocsLady has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 246 seconds]
<chrisaw> ottidmes: Yeah just realised I can literally do: nodejs = super.nodejs-10_x - doh! :)
<ottidmes> gchristensen: ehm, its plain buggy, I expect it always to behave the same way, but instead I can sometimes use the "select boot device" menu, while if I go through the complete overview and select a boot device from there, it does work without fail
<gchristensen> ah, sure. I've seen some bugs around, too, though definitely also plenty w.r.t. older bioses
<haslersn> I basically followed https://nixos.wiki/wiki/Bootloader#Keeping_kernels.2Finitrd_on_the_main_partition . Is it possible that it doesn't work because my root partition is encrypted?
<ottidmes> chrisaw: dont forget nodePackages, but the same warnings apply
mayhewluke has joined #nixos
<ottidmes> gchristensen: and the menus are less clear to me, in the old BIOSes it was at least always clear to me in which main category I had to search, but some settings in the UEFI BIOS were located in weird unrelated places
<chrisaw> ottidmes: nodePackages? Where can I find that?
<ottidmes> gchristensen: to be fair, like I mentioned, I only have experiences with one UEFI product, so I may just have been unlucky
<gchristensen> similarly, I suspect you've been lucky with BIOS
<gchristensen> I really like that with efi you can enter the efi setup from a bootloader -- no longer having to remember obscure key combinations fast enough to get in to it
<ottidmes> chrisaw: just like nodejs, so you would do: nodePackages = super.nodePackages-10_x
<chrisaw> Ah ok, awesome - thanks!
<ottidmes> gchristensen: maybe, I have only gone in depth with BIOSes on my own machines, both having ASUS BIOSes
<ottidmes> gchristensen: ow, I did not know that, I still hit keys like crazy :P
haslersn has quit [Ping timeout: 256 seconds]
<gchristensen> ottidmes: yeah, in systemd-boot you can go to the bottom, to "Firmware Setup" or something and get to it :)
<ottidmes> gchristensen: ah, I have been using grub, so that might have been why
<gchristensen> ah, I don't know about grub
<chrisaw> Has anyone had any luck compiling Oni on NixOS? I've got most of the work done but annoyingly - I can build it within a nix-shell but I can't seem to build it using my overlay. Seems to run out of memory - I'm wondering if nixpkgs does something fancy in memory instead of using disk and this is causing me to run out of memory?
<ottidmes> chrisaw: how much memory do you have? nix can be greedy
<chrisaw> 8GB on this box
<ottidmes> chrisaw: that should be enough
<chrisaw> Yeah, it's rather odd. Looks like a ton of node processes are using the memory though so must be caused elsewhere. It's just very odd that I can build it without nix (same box) and it builds fine. I build it within nix and it runs through all available memory and swap, then fails.
zolk3ri has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed 169 commits to gnome-3.30: https://git.io/fp4w1
<ottidmes> chrisaw: you should keep a close watch on your memory, if it is like at 6+ and you load a lot of nixpkgs, it could very well consume the last remaining memory
<ottidmes> chrisaw: if you dont mind sharing your package, and all you did to your overlay to make it work is changing nodejs/nodePackages to 10, I dont mind trying it on my machine (I have 24G)
<chrisaw> ottidmes: the 10-x thing isn't needed at all but it's all good - I do have a higher spec rig - just trying to get it to build on this particular box reliably. :)
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<{^_^}> [nixpkgs] @ttuegel merged pull request #50877 → nixos/fontconfig: fix enable option of penultimate → https://git.io/fp8AR
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to release-18.09: https://git.io/fp4rO
<ottidmes> chrisaw: maybe experiment with some nix settings, I have no experience with out of memory errors with nix, but maybe things like lowering max jobs could reduce memory usage (I imagine, could be nonsense, like I said, no experience)
<ottidmes> chrisaw: Or if you have /tmp on memory, then that would be the cause, which could be worked around by specifying TMPDIR
drakonis1 has quit [Read error: Connection reset by peer]
JosW has joined #nixos
drakonis1 has joined #nixos
<chrisaw> ottidmes: I don't have /tmp in memory - did check that already :)
<clever> chrisaw: nixos or other?
<chrisaw> clever: nixos yep
<clever> then its not /run/user to blame
phreedom has quit [Ping timeout: 256 seconds]
<cyounkins> Note that /run/user/<uid> is via systemd and defaults to 10% of RAM. See logind.conf RuntimeDirectorySize
<clever> and TMPDIR defaults to that
<clever> but on nixos, it uses the TMPDIR of the nix-daemon proc, which is /tmp/
drakonis has joined #nixos
<nikivi> anyone here using VS Code with Nix?
<nikivi> I get `Formatter autopep8 is not installed. Install?` error
<nikivi> but I have `pkgs.python36Packages.autopep8` installed with Nix
<nikivi> I guess VS Code doesn't see it
<cyounkins> Maybe it is using Python 2?
<clever> nikivi: you likely need to use python.withPackages
drakonis1 has quit [Read error: Connection reset by peer]
<nikivi> I tried `pkgs.python27Packages.autopep8` too
phreedom has joined #nixos
<nikivi> python.withPackages?
peacememories has joined #nixos
<clever> yes
<clever> for example, (import <nixpkgs> { config = {}; }).python.withPackages (p: [p.pyside p.pysideTools p.twisted])
<nikivi> no results found
<nikivi> im confused
<clever> its a function, that takes a list of python packages, and returns a python that can use those packages
<nikivi> so I have to create a new custom derivation?
<clever> yeah
halfbit has quit [Quit: WeeChat 2.3]
jabranham has joined #nixos
<clever> the above creates a custom python, that can use pyside, pysideTools, and twisted
<nikivi> whats wrong with off the shelf `pkgs.python36Packages.autopep8`?
<clever> the PYTHONPATH may not include wherever you happened to install it
<clever> and what if another package wants a conflicting version of autoped?
<nikivi> I still feel a bit of friction in building derivations
<nikivi> can I write off derivations not in my clonsed nixpkgs?
<clever> yes
<nikivi> i.e. create some file and put `(import <nixpkgs> { config = {}; }).python.withPackages (p: [p.pyside p.pysideTools p.twisted])`
<nikivi> and run it
<clever> yes
<nikivi> ideally run that from Nix Darwin
<nikivi> so its declarative
<{^_^}> [nixpkgs] @LnL7 merged pull request #50836 → xsv: Add darwin.Security as dependency on MacOS → https://git.io/fpWpf
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/fp4r7
<clever> the above came from a `default.nix` file i have in a random dir
<clever> and i just run nix-build to build it
<clever> you can also just `nix-build -E '(import <nixpkgs> { config = {}; }).python.withPackages (p: [p.pyside p.pysideTools p.twisted])'`, but then your more likely to loose the magic incantation
<nikivi> clever okay I got it built, how do I then let VS Code know about it
<LnL> nikivi: you might want to read through https://nixos.org/nixpkgs/manual/#python
<clever> nikivi: try adding the bin dir for that to PATH, at the start, when running vscode
<LnL> one of the things described there is the withPackages helper
haslersn has joined #nixos
<nikivi> clever the build failed actually https://paste.ee/p/7gtYk
<nikivi> will read python doc
<haslersn> Now I copied /boot/grub to /boot/efi/grub and the system boots. However I can't persistently update the configuration since the changes are written to /boot/grub/grub.cfg. Is there any way to tell NixOS that the grub config shall be in /boot/efi/grub?
<clever> nikivi: it looks like pyside might be broken, but you wanted autoped, not pyside
<ottidmes> haslersn: You would expect an option for grub like you have for efi, or that grub used that one, curious
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
worldofpeace has joined #nixos
ashkitten has quit [Quit: WeeChat 2.3]
ashkitten has joined #nixos
drakonis_ has joined #nixos
cyounkins has quit [Ping timeout: 244 seconds]
drakonis has quit [Ping timeout: 244 seconds]
fendor has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<ottidmes> haslersn: I checked grub.nix for you on how to change the path. You will basically have to set boot.laoder.grub.mirroredBoots yourself: https://github.com/NixOS/nixpkgs/blob/ed9741790dd767d4137e04d9cb32751a376dea8a/nixos/modules/system/boot/loader/grub/grub.nix#L576 you probably need mkForce to undo that line of code in grub.nix
<haslersn> ottidmes: But then the kernels will be copied to the mirrored boot location
metastance has joined #nixos
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<haslersn> ottidmes: And inside mirroredBoots, I can't set copyKernels = false since that option doesn't exist there
metastance has quit [Client Quit]
metastance has joined #nixos
<ottidmes> haslersn: I thought those options were passed to all mirroredBoots
<haslersn> `grub.mirroredBoots = false;` doesn't seem to affect the mirrored boots
<mekeor> i set up nginx + phpfpm + mysql on my local nixos machine. when i use "/test/user/computer/localhost/wordpress" as services.nginx.virtualHosts.foobar.root option, then nginx and php works fine. when i use "/home/user/computer/localhost/wordpress", i get a "File not found" error through HTTP and nginx logs "FastCGI sent in stderr: "Primary script unknown"". but i had created the /test-path with exact the same directory- and
<mekeor> file-permissions and user- and group-ownership as the /home-path! what might i be doing wrong?
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/012b9e6c219 (from 38 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<hark> is there any i686 cache?
<ottidmes> haslersn: huh, why set it to false, I meant add an entry, its a list anyway, so false should not work
fendor has joined #nixos
<{^_^}> [nixpkgs] @sboosali opened pull request #50890 → Add maintainer → https://git.io/fp4KK
<ottidmes> mekeor: I have setup nginx phpfpm on multiple NixOS machines, and I always had to resort to a strange workaround to fix that problem, I had to bind --mount the location of the PHP files, if I do that, it works. Its one of the few bugs that I cannot make sense of, but the workaround at least works (also no idea why it works, only vaguely)
<mpickering> Is there a way to use ldd rather than ld in a nix-shell?
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mekeor> ottidmes: thanks! uhm... sounds strange. what do you mean by bind --mount?
<{^_^}> [nixpkgs] @spacefrogg opened pull request #50891 → services.tinydns: Extend module with typed DNS records → https://git.io/fp4KQ
<ottidmes> mekeor: cant argue with that, its strange and frustrating, but I eventually gave up and this worked for me, give me a sec (cooking...)
<haslersn> ottidmes: of course. https://pastebin.com/2rnT94yJ
<{^_^}> [nixpkgs] @pstn opened pull request #50892 → kodi-cli: Init at 1.1.1 → https://git.io/fp4KA
<ottidmes> haslersn: and that does not work for you like this? Maybe try mkForce for your mirroredBoots
<haslersn> ottidmes: It does work in principle but `nixos-rebuild switch` tries to copy the kernels to /boot/efi/kernels which is the partition that's not big enaugh.
cyounkins has joined #nixos
aristid has quit [Ping timeout: 260 seconds]
aristid has joined #nixos
<philipp[m]> goibhniu1: There you go: https://github.com/NixOS/nixpkgs/pull/50892
<{^_^}> #50892 (by pstn, 3 minutes ago, open): kodi-cli: Init at 1.1.1
* mekeor is hungry and needs to go get some food
drakonis has joined #nixos
<ottidmes> mekeor: "/php" = { device = "/admin/proj/php"; options = [ "bind" ]; }; is basically what I have in my fileSystems
<ottidmes> mekeor: and in my php nginx server block I use: root /php;
<mekeor> ottidmes: thank you :)
<ottidmes> mekeor: my dinner is ready so I am going to eat now as well (it does not qualify as a pancake anymore, but it should be eatable)
hke has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Ping timeout: 244 seconds]
<mekeor> bon apetite
mekeor has quit [Quit: adios]
<haslersn> ottidmes: What do you mean by mkForce
<ottidmes> haslersn: attr = lib.mkForce (...value...) (see nixpkgs, plenty of examples)
fendor has quit [Ping timeout: 244 seconds]
<haslersn> ottidmes: Thanks for your help. I will disconnect (temporarily)
hke has joined #nixos
haslersn has quit [Ping timeout: 256 seconds]
asymmetric has quit [Ping timeout: 252 seconds]
<worldofpeace> Anyone on darwin willing to test a pr?
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41887 → nixos/seahorse: require gnome3.dconf → https://git.io/vhrZl
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fp4ix
vidbina has joined #nixos
<LnL> worldofpeace: sure, you can also ping @NixOS/darwin-maintainers on github for important stuff
<infinisil> And there's #nix-darwin too
cyounkins has quit [Ping timeout: 245 seconds]
<worldofpeace> Actually let me change that question. Can a trusted user with the borg build #50886 to see if it builds on darwin?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/50886 (by marsam, 3 hours ago, open): pythonPackages.docutils: fix python3 build
vk3wtf has quit [Ping timeout: 252 seconds]
<Church-> worldofpeace: Hey was the optimus prime pr ever accepted?
<worldofpeace> Church-: I think it was merged, not sure if it was backported. I'll check.
<{^_^}> [nixpkgs] @dtzWill closed pull request #34503 → init libdmg-hfsplus, use instead of xpwn to fix Linux xcode extraction → https://git.io/vNFAq
<infinisil> worldofpeace: python docutils only?
Ariakenom has quit [Quit: Leaving]
dbmikus has quit [Ping timeout: 250 seconds]
coconnor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill closed pull request #50546 → cyrus_sasl: 2.1.26 -> 2.1.27 → https://git.io/fpcny
<{^_^}> [nixpkgs] @dtzWill closed pull request #48174 → libSM: 1.2.2 -> 1.2.3 → https://git.io/fxW4j
<{^_^}> [nixpkgs] @dtzWill merged pull request #48115 → libx11: 1.6.6 -> 1.6.7 → https://git.io/fxcWE
<{^_^}> [nixpkgs] @dtzWill pushed to staging « libx11: 1.6.6 -> 1.6.7 »: https://git.io/fp4Xv
<worldofpeace> infinisil: Not sure what you mean. I'll be reviewing more if that's what you're at :D
<{^_^}> [nixpkgs] @dtzWill closed pull request #48379 → cython: patch to fix w/3.7 from upstream → https://git.io/fxR25
<infinisil> worldofpeace: I'll ask ofborg to build #50886, I was asking for if you'd want some other package to be built too, because there's a lot of rebuilds
<{^_^}> https://github.com/NixOS/nixpkgs/pull/50886 (by marsam, 3 hours ago, open): pythonPackages.docutils: fix python3 build
<Church-> Cool
<{^_^}> [nixpkgs] @matthewbauer merged pull request #46310 → gobject-introspection: Fix macos shared lib paths → https://git.io/fAzMs
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fp4X6
asymmetric has joined #nixos
<worldofpeace> infinisil: Sorry still not clear :) , I can order the borg, or do you mean locally on my behalf?
<{^_^}> [nixpkgs] @dtzWill closed pull request #50351 → mtools: 4.0.19 -> 4.0.20 → https://git.io/fp33r
<{^_^}> [nixpkgs] @dtzWill merged pull request #49494 → libgit2: bump for bug fixes as well as security fixes → https://git.io/fxFmX
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fp41J
<infinisil> worldofpeace: Ehh nevermind, not that important, I'll just ask ofborg to build docutils
<infinisil> For darwin
<infinisil> 22:22:45 <worldofpeace> Actually let me change that question. Can a trusted user with the borg build #50886 to see if it builds on darwin?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/50886 (by marsam, 3 hours ago, open): pythonPackages.docutils: fix python3 build
rihardsk has quit [Quit: rihardsk]
WhittlesJr has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #50884 → git: 2.19.1 -> 2.19.2 → https://git.io/fp4l9
<{^_^}> [nixpkgs] @dtzWill pushed to staging « git: 2.19.1 -> 2.19.2 »: https://git.io/fp410
<worldofpeace> infinisil: Lol, I thought you were getting at something else. English is fun sometimes
ashkitten has quit [Ping timeout: 245 seconds]
asymmetric has quit [Ping timeout: 244 seconds]
ashkitten has joined #nixos
sondr3 has joined #nixos
sondr3 has left #nixos [#nixos]
sondr3 has joined #nixos
<sondr3> hello, does anyone here use Emacs on macOS? I'm having some difficulty getting it to pick up some packages that I want to install with it (aspell primarily), I can see that they are in /nix/store/ but they aren't linked as an application and as such I cannot use them in Emacs
elgoosy has joined #nixos
metastance has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @cleverca22 closed pull request #46134 → teamspeak_server: 3.0.13.6->3.3.0 → https://git.io/fAEue
asymmetric has joined #nixos
wchresta has joined #nixos
<hedning> jtojnar: want me to switch back to staging?
<jtojnar> hedning: yep, only small changes or critical fixes should go to staging-next, IIRC
<asymmetric> hey, i ran `nix-env -i .` in ~/nixpkgs by accident, and it seems like it installed of all nixpkgs :D
<asymmetric> now if i run `nix-env -e .` it doesn't seem to remove it
<{^_^}> [nixpkgs] @hedning pushed 171 commits to gnome-3.30: https://git.io/fp4DT
<asymmetric> does anyone know how to remove all the stuff i just installed imperatively?
<samueldr> asymmetric: do you care about whatever was also installed?
<samueldr> was previously installed*
<asymmetric> no, i usually don't care about nix-env -i at all, i use a declarative approach
<samueldr> `-i` has `--remove-all`
<{^_^}> [nixpkgs] @worldofpeace opened pull request #50894 → fpart: 1.0.0 -> 1.1.0 → https://git.io/fp4DW
<asymmetric> thx, i'm trying it now
<asymmetric> is there a way to avoid making this mistake? i.e. preventing nixpkgs being installed all at once?
<infinisil> sondr3: What's the error?
<symphorien> Normally nixpkgs does not evaluate
zolk3ri has quit [Quit: Lost terminal]
<symphorien> So you can't install it completely
<ottidmes> asymmetric: write a shell function that shadows nix-env, use `command nix-env` to run the actual nix-env, and add your personal checks in that function, that should do the trick
<sondr3> infinisil: there's no error, I've listed it in my emacs.nix file, ran nix-build and nix-env to install it but aspell isn't in my $PATH, so I can't find it
elibrokeit has quit [Ping timeout: 252 seconds]
WhittlesJr has quit [Ping timeout: 256 seconds]
<infinisil> sondr3: gist the file?
justanotheruser has joined #nixos
<hark> what version would i give to https://github.com/dsacre/mididings
<hark> last release is from 2012
<hark> so, i packaged the git master
<sondr3> infinisil: I have it on Github here https://github.com/sondr3/dotfiles/blob/master/emacs.nix
vk3wtf has joined #nixos
<infinisil> sondr3: Well emacsWithPackages takes emacs packages
romildo has joined #nixos
<infinisil> pkgs.aspell isn't an emacs package afaik
<symphorien> hark: the date of the last commit I think
<sondr3> infinisil: oh, that would explain it
<infinisil> sondr3: How are you intending to use aspell? Via eshell? or ispell?
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @dywedir opened pull request #50895 → oxipng: 2.1.0 -> 2.1.6 → https://git.io/fp4y4
<infinisil> (probably the latter)
<sondr3> infinisil: ispell/flyspell
<romildo> How should archives like https://github.com/EliverLara/Nordic/releases/download/v1.2.1/Nordic.tar.xz be fetched in a nix derivation?
<sondr3> though I might've misunderstood the part about notmuch
<infinisil> sondr3: Ah, I guess that example is a bit misleading. notmuch only works there because it has an emacs package included in it directly, which isn't the case with any normal package
<clever> romildo: sounds like a normal fetchurl call
Chiliparrot has joined #nixos
<infinisil> So I'm just adding something to my init file (built with nix) to set the customization variable to the nix built dictionary thing
<sondr3> infinisil: cool, I'll have a look around, though from a glance yours is way above my current understanding of Nix, is there a quicker way for me to tell Nix that my emacs.nix expression should also install aspell?
<asymmetric> samueldr: after running `nix-env -iA hello --remove-all`, i sometimes now see this warning: trace: replace-dependency.nix: Derivation /nix/store/y46h6lbypgwdrh1ryim9acpxb4g23rbc-nixos-system-nixos-18.09.1388.03dc6471c12 does not depend on /nix/store/3kswlfsmiy4xsdz3nm3qibsvb3kvvaci-alsa-lib-1.1.6
<asymmetric> any idea what it means?
<{^_^}> [nixpkgs] @c0bw3b opened pull request #50896 → uwsgi: build with PCRE support → https://git.io/fp4yo
<infinisil> sondr3: Using this as your top level expression might work `pkgs.buildEnv { name = "emacsenv"; paths = [ (emacsWithPackages ...) pkgs.aspell ]; }`
<clever> asymmetric: do you have any overrides in config.nix?
<infinisil> sondr3: Or actually just `{ emacs = emacsWithPackages ...; aspell = pkgs.aspell; }` works too (nix-env -i for an attrset installs every value of it)
<infinisil> (pretty sure)
<asymmetric> clever: yes, i have a packageOverrides, that's how i declaratively install my packages
<clever> asymmetric: anything involving replace-dependencies?
jackdk has joined #nixos
<asymmetric> clever: it's not mentioned anywhere, no
<jeaye> I've just installed firefox via nix on Arch; it runs fine, except it doesn't have WebGL support. What would I need to do in order to get that? WebGL works fine in my Arch firefox, using my Arch-installed nVidia drivers.
<clever> asymmetric: not sure then
<asymmetric> clever: ok, i'll see if the problem persists and/or when it comes up
<asymmetric> thx
<sondr3> infinisil: thanks, I'll give it a whirl
<asymmetric> got another question re: home-manager: isn't it weird that it redefines its own modules, e.g. tmux? does that not create duplication with nixos' modules?
<infinisil> asymmetric: Sure does
elibrokeit has joined #nixos
<infinisil> asymmetric: But there's no nice way to not do that
<infinisil> Because NixOS and home-manager have some fundamental differences
<asymmetric> for example?
<infinisil> The options for services are different
WhittlesJr has joined #nixos
<infinisil> Files can get installed to $HOME/<path> in home-manager, /etc in nixos
jtojnar has quit [Quit: jtojnar]
<infinisil> In NixOS, system packages are in environment.systemPackages, in home-manager it's home.packages
<infinisil> Would love for this to improve in the future, there are of course ways to fix this
<WhittlesJr> Here's an easy one for you: how can I build a string by concatenating the results of a function called over a list? In clojure it would be: `(reduce (fn [new-str x] (str new-str "/" x)) "base" [1 2 3 4])` => "base/1/2/3/4"
<symphorien> concatMapStringsSep iirc
<asymmetric> infinisil: why are the options for services different though? e.g. why does HM need its own tmux module?
<infinisil> > foldl (str: x: str + "/" + x) "base" [1 2 3 4]
<{^_^}> undefined variable 'foldl' at (string):206:1
<infinisil> > lib.foldl (str: x: str + "/" + x) "base" [1 2 3 4]
<{^_^}> cannot coerce an integer to a string, at (string):206:20
<clever> > concatMapStringsSep (x: toString x) "," [ 1 2 3 4 ]
<{^_^}> undefined variable 'concatMapStringsSep' at (string):206:1
<infinisil> > lib.foldl (str: x: str + "/" + toString x) "base" [1 2 3 4]
<{^_^}> "base/1/2/3/4"
elgoosy has quit [Remote host closed the connection]
<infinisil> WhittlesJr: ^^
<clever> > lib.concatMapStringsSep (x: toString x) "," [ 1 2 3 4 ]
<{^_^}> value is a function while a string was expected, at /var/lib/nixbot/state/nixpkgs/lib/strings.nix:64:39
<clever> > lib.concatMapStringsSep "," (x: toString x) [ 1 2 3 4 ]
<{^_^}> "1,2,3,4"
<infinisil> asymmetric: There are some fundamental differences how user services and system services work. One I can think of right now is that user services can't set the user to run them
<gchristensen> user services can have ConditionUser and ConditionGroup, but it is based on systemd rules, not nix
<WhittlesJr> Ah, I think "foldl" is what I'm looking for, but I'll keep concatMapStringsSep in mind too. Thanks!
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50896 → uwsgi: build with PCRE support → https://git.io/fp4yo
<infinisil> WhittlesJr: Oh and while you're here, you might want to use `foldl'` instead, it's strict and therefore usually better suited
<{^_^}> [nixpkgs] @c0bw3b pushed to master « uwsgi: build with PCRE support (#50896) »: https://git.io/fp4Sy
<WhittlesJr> Interesting, noted. Thanks again!
<asymmetric> i see. is HM currently the best approach we have for a declarative ~? or are people using something else?
<asymmetric> i'm using packageOverrides for the list of packages, but I'd like something more similar to modules
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50770 → fpart: 1.0.0 -> 1.1.0 → https://git.io/fpWvI
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp4Sj
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50894 → fpart: 1.0.0 -> 1.1.0 → https://git.io/fp4DW
<infinisil> asymmetric: I haven't seen anybody using anything else, other than some very simple ad-hoc stuff
<infinisil> A lot of people are very happy with home-manager
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50723 → keyutils: 1.5.10 -> 1.6 → https://git.io/fpCuI
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fp49m
<ottidmes> The only thing I wanted was to be able to decleratively write to my home folder, like environment.etc, so made a module for that
ashkitte1 has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
ashkitten has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #50897 → nordic: init at 1.2.1 → https://git.io/fp494
<{^_^}> [nixpkgs] @LnL7 merged pull request #50886 → pythonPackages.docutils: fix python3 build → https://git.io/fp4Ei
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to staging: https://git.io/fp49r
<{^_^}> [nixpkgs] @whohoho opened pull request #50898 → mididings package → https://git.io/fp49i
<{^_^}> [nixpkgs] @Mic92 opened pull request #50899 → netdata: create missing /etc/netdata → https://git.io/fp49N
romildo has quit [Quit: Leaving]
Chiliparrot has quit [Ping timeout: 264 seconds]
<hark> so, in a package, i want to fetch 1 darcs repo, and then fetch another one in the directory of the first one
<hark> how do i do that?
<ottidmes> hark: srcs and a postUnpack phase to move it to the right directory structure, maybe?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50890 → maintainer: add sboosali → https://git.io/fp4KK
<{^_^}> [nixpkgs] @Mic92 pushed commit from @sboosali to master « maintainer: add sboosali (#50890) »: https://git.io/fp4Hy
<{^_^}> [nixpkgs] @Mic92 merged pull request #50899 → netdata: create missing /etc/netdata → https://git.io/fp49N
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp4H9
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.09 « netdata: create missing /etc/netdata »: https://git.io/fp4H7
wchresta has quit [Ping timeout: 246 seconds]
endformationage has quit [Ping timeout: 244 seconds]
sanscoeur has quit [Ping timeout: 268 seconds]
justanotheruser has quit [Ping timeout: 264 seconds]
<hark> ottidmes: ah, that works, i linked it in the structure
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41261 → mininet: init at 2.3.0d4 → https://git.io/vhGTJ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @teto to master « mininet: init at 2.3.0d4 (#41261) »: https://git.io/fp4QQ
acarrico has joined #nixos
hamishmack has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #50900 → pythonPackages.drmaa: init at 0.7.9 → https://git.io/fp477
<{^_^}> [nixpkgs] @nyanloutre opened pull request #50901 → nixos/steam-hardware: fix uinput udev rule → https://git.io/fp475
kai_w has quit [Remote host closed the connection]