gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || 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 ... nixcon videos: https://tinyurl.com/nixcon2018
<infinisil> Yeah but that's impure (because network), so we need to pin it somehow
<infinisil> Hmm, is it still impure when it's fixed-output?
<infinisil> Not sure!
<infinisil> Oh well
<noonien> I'll probably give up, don't want to insist on it too much. But i currently have `fetchmultiurls`, which fetches downloads a list of files. In `fetchgithubfiles` i first get the list of files, then i download each one. It would be a shame to reimplement the fetching of urls
<buckley310> does anyone know why this wont build? http://ix.io/1As8 this is the output i get http://ix.io/1Asb
<infinisil> buckley310: Did the patch apply when you check the build directory with -K?
<noonien> buckley310: at a first glance, it looks like the Network modules is not available
<infinisil> buckley310: Huh, why is `src` in cmakeFlags?
<buckley310> i did not quite figure out "-k" so i just hacked in the "cat|grep" lines to make sure it was applying
<buckley310> it looks like the patch isnt "sticking" because the patch bumps "qt5_use_modules" to line 354, but cmake is still failing on line 353
<buckley310> so it looks like the file is patched, and then somehow it compiles an unpatched version...
<infinisil> buckley310: It's a -K, a big k, not a small one
<buckley310> yes, when i use -K the patch IS applied
nD5Xjz_ has quit [Ping timeout: 252 seconds]
jluttine has quit [Ping timeout: 252 seconds]
<buckley310> (in the /tmp folder)
<infinisil> And you're sure that the patch is supposed to work?
<buckley310> when i copy the kept folder and run cmake myself, it does not encounter that error
<buckley310> the patch is my own
nD5Xjz has joined #nixos
<infinisil> And you did use all the cmake flags the build reported?
<buckley310> hmmmmmmm
<buckley310> when i copy all the flags it fails again
<buckley310> OH, i found it
<buckley310> cmakeFlags = [ ... src ];
<buckley310> its pointing to the original version, i should just point it to $pwd instead of $src
<infinisil> ... didn't I ask why you had that in there earlier
<noonien> is it possible to show a custom message when an assertion fails?
<buckley310> infinisil, i suppose you did, maybe i should have checked that first
<infinisil> buckley310: Glad you finally figured it out :)
<noonien> infinisil: awesome, thanks!
<noonien> infinisil++
<{^_^}> infinisil's karma got increased to 57
<buckley310> infinisil++
<{^_^}> infinisil's karma got increased to 58
<buckley310> oh it actually does keep track :o
<infinisil> :D
ericsagnes has quit [Ping timeout: 255 seconds]
<buckley310> well, this Veles thing tries to pull stuff down with pip when you run "make" :\ ill get it to build eventually lol
<buckley310> at least all the qt5 dependencies are set
<infinisil> That usually happens when not all python packages needed are specified
<infinisil> pip only tries to download packages if it can't find them locally
goibhniu has joined #nixos
<infinisil> Ah but I guess it might be hardcoded to do that in the package itself
nD5Xjz has quit [Ping timeout: 252 seconds]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57056 → trilium: 0.29.1 -> 0.30.4 → https://git.io/fhpxB
vielmetti has quit [Remote host closed the connection]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
erictape1 has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
erictapen has quit [Ping timeout: 245 seconds]
infinee has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Infinisil merged pull request #56254 → nixos/gnupg: set SSH_AUTH_SOCK in non-interactive settings → https://git.io/fhpx6
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhpxi
<{^_^}> [nixpkgs] @jtojnar merged pull request #57041 → gnome3.geary: 0.13.1 -> 0.13.2 → https://git.io/fhp5x
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhpxP
<noonien> hmm, is lib.assertMsg not in nixos-18.09?
<noonien> it seems not
thc202 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #56625 → set phpOptions per phpfpm pool, instead of applying to every phpfpm pool → https://git.io/fhAVK
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhpxH
<infinisil> noonien: Yeah it's rather new
<{^_^}> [nixpkgs] @uri-canva closed pull request #41914 → bintools-wrapper: add support for frameworks → https://git.io/vhoHL
<{^_^}> [nixpkgs] @Infinisil merged pull request #57006 → nixos/bepasty: switch to python3Packages to match bepasty package → https://git.io/fhp2Q
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhpx7
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nixpkgs] @xaverdh opened pull request #57057 → xteddy: init at 2.2 → https://git.io/fhpxb
jasongrossman has joined #nixos
silver_ has joined #nixos
silver has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fef0aaaaab4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
dbmikus_ has quit [Ping timeout: 255 seconds]
<Ashy> is there a good thread somewhere on why nix requires a fairly large amount of ram?
<gchristensen> in short, it is because nixpkgs is big, and the evaluation model makes it difficult to avoid carrying around a lot of evaluated data
<Ashy> it's a fairly big limitation in a work context to have to say these machines might need to be scaled up just to run updates
Rusty1 has quit [Quit: Konversation terminated!]
<Ashy> but also, it makes a lot of the arm boards not really viable on nixos
<gchristensen> you can deploy nixos to small systems without evaluating nixpkgs on that server
<Ashy> yeah, that still seems like a workaround
<Ashy> (even if automated orchestration is a preferred ideal
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhpp3
<gchristensen> if need-be, swap can work in a pinch
<noonien> hmm, this isn't related to nix, but, can i `install` to another filename?
<gchristensen> what does that mean?
<noonien> `install foo/bar bar/baz` gives me install: cannot create regular file 'bar/baz': No such file or directory
<noonien> i want `install` to create the bar directory as well
<gchristensen> does bar exist already?
<gchristensen> looks like you want -D
<noonien> oh, indeed! great! should have noticed that, thanks!
vk3wtf has quit [Ping timeout: 252 seconds]
Rusty1 has joined #nixos
oida has quit [Quit: byez]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5847485e3ec (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<yl[m]> is it possible to access the revision of nixpkgs somewhere inside `pkgs`?
init_6 has joined #nixos
jluttine has joined #nixos
<samueldr> > lib.version # yl[m]
<{^_^}> "19.09pre-git"
<samueldr> oops
oida has joined #nixos
<samueldr> got 18.09.git.18fec2687c0 on mine
<yl[m]> interesting
<yl[m]> I got 18.09pre-git probably because I'm using a tarball instead of a channel
<ivan> gchristensen: pong
<samueldr> yeah :/ look in lib/trivial.nix yl[m] for how it checks
<{^_^}> [nixpkgs] @tadfisher opened pull request #57058 → plata-theme: 0.5.0 -> 0.6.0 → https://git.io/fhpp4
<yl[m]> samueldr: sure, thank you
jluttine has quit [Ping timeout: 255 seconds]
<samueldr> (`version = ` is annoying to search for!)
goibhniu has quit [Ping timeout: 240 seconds]
<yl[m]> tell me about it
danielrf has quit [Ping timeout: 252 seconds]
<yl[m]> I've been trying to find where `path` is defined
<yl[m]> no luck so far :)
fusion809_ has quit [Remote host closed the connection]
<samueldr> yl[m]: pkgs/top-level/all-packages.nix
<samueldr> path = ../..;
<yl[m]> samueldr: so if I write the revision to nixpkgs/.git-revision I should be able to get lib.version back
<yl[m]> w00t
<samueldr> yl[m]: yes
<yl[m]> samueldr: thx
<samueldr> yl[m]: nixos/lib/make-channel.nix makes it that way for channels AFAIUI
<yl[m]> Oh! Got it
isHavvy has quit [Ping timeout: 252 seconds]
Havvy has joined #nixos
<samueldr> it might be helpful to you, depending on what you're doing with tarballs
<yl[m]> very very helpful, thank you!
vk3wtf has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
vk3wtf has quit [Ping timeout: 240 seconds]
dbmikus_ has joined #nixos
ng0 has quit [Remote host closed the connection]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> > rev
<{^_^}> "0036842e8d46fee7b3f75b856240a3b722e6f69b"
<infinisil> > :v rev
<{^_^}> rev = let head = builtins.readFile <nixpkgs/.git/HEAD>; ref = builtins.readFile (<nixpkgs> + "/.git/${builtins.substring 5 (builtins.stringLength head - 6) head}"); in builtins.substring 0 (builtins.stringLength ref - 1) ref
<infinisil> yl[m]: samueldr: How I did it to show the revision for the bot ^^ xP
<samueldr> intriguing
slack1256 has quit [Remote host closed the connection]
maximiliantagher has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #56880 → nixos/bash: fix root prompt → https://git.io/fhxHD
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhppX
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed commit from @lheckemann to release-19.03 « nixos/bash: fix root prompt »: https://git.io/fhppM
jluttine has joined #nixos
<yl[m]> infinisil: bot probably used fetchGit with `leaveDotGit` set to true
<infinisil> yl[m]: Nah, it uses a stateful git directory
<yl[m]> that works too
<yl[m]> nice
Fare has joined #nixos
vk3wtf has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
<worldofpeace> ,locate bin/gio-network-monitor
<{^_^}> Couldn't find in any packages
sigmundv has quit [Ping timeout: 245 seconds]
<noonien> > ({a, b, ...}@args: args) {a=1;b=2;c=3}
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):222:38
<noonien> > ({a, b, ...}@args: args) {a=1;b=2;c=3;}
<{^_^}> { a = 1; b = 2; c = 3; }
hiroshi has quit [Quit: ZNC 1.7.2 - https://znc.in]
silver_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dtzWill closed pull request #57051 → linuxPackages.bcc: 0.8.0 -> 0.9.0 → https://git.io/fhpN1
simukis has quit [Quit: simukis]
amfl has quit [Ping timeout: 250 seconds]
amfl has joined #nixos
Supersonic has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #57059 → ntp: 4.2.8p12 -> 4.2.8p13 → https://git.io/fhphY
Supersonic has joined #nixos
init_6 has quit [Read error: Connection reset by peer]
init_6 has joined #nixos
init_6 has quit [Read error: Connection reset by peer]
<Fare> (BTW, the fix to the chrome 0day is still not in nixos-19.03-small, a fortiori in nixos-19.03)
kvda has joined #nixos
<Fare> or is it? Wait, what's the 100% correct way of checking the package versions that nixos-rebuild would use?
orivej has quit [Ping timeout: 245 seconds]
<dmj`> can the inotify sys call be used successfully on an NFS ?
init_6 has joined #nixos
MinceR_ has joined #nixos
MinceR has quit [Read error: Connection reset by peer]
init_6 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #54584 → gnome3.gnome-settings-daemon: bypass polkit by using an suid wrapper → https://git.io/fho55
<infinisil> Fare: Well, with chromium there was a weird problem: https://github.com/NixOS/nixpkgs/issues/56998
<{^_^}> #56998 (by ivan, 1 day ago, closed): chromium-72.0.3626.121 is actually a vulnerable 72.0.3626.119
<infinisil> Fare: Ignoring that problem, this would work to check the version of a package on a channel: nix eval nixpkgs.chromium.name -I nixpkgs=channel:nixos-19.03-small
init_6 has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @veprbl merged pull request #57054 → maintainers.0x4A6F: update handle → https://git.io/fhpNb
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhphB
countingsort has joined #nixos
fractal has quit [Ping timeout: 244 seconds]
tv has quit [Ping timeout: 244 seconds]
nisstyre has quit [Ping timeout: 252 seconds]
tv has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
counting1 has quit [Ping timeout: 252 seconds]
nisstyre has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
fractal has joined #nixos
oldandwise has joined #nixos
<oldandwise> guys, how do I make hostapd and dnsmasq work together? ie, to let dnsmasq gave out and ip address
<buckley310> set up hostapd without dnsmasq first, test it with static IPs, and then when thats working, add dnsmasq
<buckley310> after hostapd is set up, adding dnsmasq to the wireless interface will be the same as any other interface
fiddlerwoaroof has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #57060 → buildLuarocksPackage: adjust the manifest path → https://git.io/fhphQ
<fiddlerwoaroof> I'm on mac, and I can't install darcs because it seems to be incompatible with ghc-8.6 (nix-env -i darcs fails with a complaint about not having the right version of base). Is there any way to downgrade ghc or force nix to use a lower version of ghc in a certain context?
oldandwise has quit [Quit: leaving]
Soo_Slow has joined #nixos
<jackdk> fiddlerwoaroof something like `nix-env -iA haskell.packages.ghc844.darcs`?
<jackdk> `nix-env -f '<nixpkgs>' -iA haskell.packages.ghc844.darcs`
kreisys has joined #nixos
noonien has quit [Quit: Connection closed for inactivity]
<fiddlerwoaroof> Thanks
vk3wtf has quit [Quit: WeeChat 2.3]
vk3wtf has joined #nixos
pie__ has joined #nixos
asymmetric has joined #nixos
pie___ has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/37b1058c490 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
srl295 has quit [Quit: Connection closed for inactivity]
ErAsMuS has quit [Quit: END-AUMF]
hlavaty has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @elasticdog opened pull request #57061 → bazel-buildtools: unstable -> 0.22.0 → https://git.io/fhpjI
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6c81f41e368 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinhardt has joined #nixos
asymmetric has quit [Ping timeout: 240 seconds]
endformationage has quit [Quit: WeeChat 2.3]
jackdk has quit [Ping timeout: 252 seconds]
justanotheruser has quit [Ping timeout: 255 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 255 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
dbmikus_ has quit [Quit: WeeChat 2.4]
Havvy has quit [Read error: Connection reset by peer]
<yl[m]> is it possible to write a derivation using only builtins, specifically https://gist.github.com/kalbasit/08391107d809bba8ed7ccae98b94d37e
<yl[m]> (need access to cp and to patch)
Havvy has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to release-19.03: https://git.io/fhpjV
<sphalerite> yl[m]: yes, but it's no fun. Why?
<yl[m]> sphalerite: I have an infinite recursion that I can't get rid off
<yl[m]> I'm thinking of just getting rid of my only dependency stdenvNoCC in the package that's giving infinite recursion
<yl[m]> sphalerite: maybe you can help me solve the recursion, getting a link
<yl[m]> and it blows up, not sure why
<{^_^}> [nixpkgs] @Mic92 merged pull request #57060 → buildLuarocksPackage: adjust the manifest path → https://git.io/fhphQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhpjK
<yl[m]> sphalerite: interesting! it works if I define it in a let statement instead of request it in `{ ... }`
<Izorkin> Please recheck PR #56423
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56423 (by Izorkin, 1 week ago, open): unit: add service unit and update package
Soo_Slow has quit [Ping timeout: 255 seconds]
<sphalerite> yl[m]: I'm not sure I understand what change makes the difference
<yl[m]> my `/etc/nixos/configuration.nix` started with `{ shabka ? import <shabka> {} }` that did infinite recursion
<yl[m]> so I wrote it instead as `{ }: let shabka = import <shabka> {} in ...` and it worked
<yl[m]> unsure why
<sphalerite> it probably depends on how you used it within your ...
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #57061 → bazel-buildtools: unstable -> 0.22.0 → https://git.io/fhpjI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhpjy
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/fef0aaaaab4 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
Soo_Slow has quit [Ping timeout: 252 seconds]
Soo_Slow has joined #nixos
drakonis has joined #nixos
Havvy has quit [Ping timeout: 252 seconds]
Havvy has joined #nixos
[Leary] has joined #nixos
palo1 has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
Lears has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #57058 → plata-theme: 0.5.0 -> 0.6.0 → https://git.io/fhpp4
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhpjp
Lears has joined #nixos
asymmetric has joined #nixos
palo has quit [Ping timeout: 255 seconds]
palo1 is now known as palo
[Leary] has quit [Ping timeout: 252 seconds]
random_yanek has quit [Ping timeout: 245 seconds]
Soo_Slow has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #57064 → cheat: 2.3.1 -> 2.5.1 → https://git.io/fhhev
<infinisil> That's a neatish commit hash, fef0aaaaab4
rauno has quit [Remote host closed the connection]
Dr8128 has joined #nixos
<sputny[m]> hello togehter,
<sputny[m]> i'm a nixos neebie. How can I install the icecat browser? It is mentioned in https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/browsers/firefox/packages.nix but i have no idea how to install it… Thanks in advice
random_yanek has joined #nixos
fractalcat has quit [Quit: WeeChat 2.4]
<infinisil> sputny[m]: Just `nix-env -iA nixos.icecat` should work
<{^_^}> [nixpkgs] @Izorkin opened pull request #57065 → datadog-agent: 6.10.0 -> 6.10.1 → https://git.io/fhheG
<sputny[m]> infinisil: When i run the comand i get the following error: atribute 'icecat' in selection path 'nixos.icecat' not found
<infinisil> > stable.icecat
<{^_^}> attribute 'icecat' missing, at (string):222:1
<infinisil> > pkgs.icecat
<{^_^}> "<derivation /nix/store/a2sn5wfcrk269vd484ij16h6z1zr550j-icecat-60.3.0-gnu1.drv>"
<infinisil> sputny[m]: Ah, it seems to not be in stable yet, it's in unstable though
<infinisil> ,unstable sputny[m]
<sputny[m]> {^_^}: infinisil i try it. Thank you
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
<sputny[m]> {^_^}: thank you
lopsided98 has joined #nixos
m0rphism has joined #nixos
<sputny[m]> {^_^}: infinisil works like a charm
<infinisil> ({^_^} is a bot btw)
<Izorkin> infinisil: me added to service unit rootless mode? please recheck pr)
hyper_ch2 has joined #nixos
<sputny[m]> infinisil: ah ok
<{^_^}> [nixpkgs] @Mic92 merged pull request #57049 → wireless-regdb: 2018.10.24 -> 2019.03.01 → https://git.io/fhpNi
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhheg
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Izorkin opened pull request #57066 → Update php packages → https://git.io/fhhew
<etu> Izorkin++ I've been having the release announcements of PHP in my RSS reader for the past day to remind me of doing that PR :-)
<{^_^}> Izorkin's karma got increased to 1
Makaveli7 has joined #nixos
Ariakenom has joined #nixos
Havvy has quit [Ping timeout: 252 seconds]
<Izorkin> etu: you can check correct working service nginx unit with php?
gagbo has quit [Quit: I'm out !]
<Izorkin> etu: error build php in darwin
<etu> Izorkin: nextcloud is php right, that should be a good test? :p
<etu> Izorkin: Also darwin, yeah... That's annoying to dig into that :(
<{^_^}> [nixpkgs] @danbst merged pull request #56309 → nixos/hdaps: automatically enable the hdapsd kernel module → https://git.io/fhbRN
<{^_^}> [nixpkgs] @danbst pushed commit from @ryantm to master « nixos/hdaps: automatically enable the hdapsd kernel module (#56309) »: https://git.io/fhheF
<Izorkin> etu: I have no way to test for Darwin
<etu> Izorkin: Me neither :D
zupo has joined #nixos
<etu> Izorkin: The only darwin builds I can do is through ofborg :p
<{^_^}> [nixpkgs] @danbst pushed commit from @ryantm to release-19.03 « nixos/hdaps: automatically enable the hdapsd kernel module (#56309) »: https://git.io/fhhep
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3707732e41a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<MasseR> Why does `lib.attrNames haskell.lib` work on nix repl but `nix eval -f "<nixpkgs>" 'lib.attrNames haskell.lib'` doesn't?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0711b73ae8e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Izorkin> etu: in darwint foud warning - configure: WARNING: unrecognized options: --with-pcre-regex, --with-iconv, --with-ldap, --with-mhash, --with-curl, --with-zlib, --with-libxml-dir, --enable-pcntl, --with-readline, --with-pdo-sqlite, --with-pgsql, --with-pdo-odbc, --with-pdo-pgsql, --with-pdo-mysql, --with-mysqli, --with-mysql-sock, --enable-bcmath, --with-gd, --with-freetype-dir, --with-png-dir, --with-jpeg-dir, --with-gmp, --enabl
<Izorkin> e-soap, --enable-sockets, --with-openssl, --enable-mbstring, --with-gettext, --enable-intl, --enable-exif, --enable-zip, --enable-ftp, --enable-fpm, --enable-calendar, --with-sodium, --with-password-argon2, --with-libzip, --enable-phpdbg
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.4.0.14 -> 3.4.0.15 »: https://git.io/fhhvY
arianvp has quit [Remote host closed the connection]
<etu> Izorkin: I wonder what they have done...
johanot has joined #nixos
Havvy has joined #nixos
asymmetric has quit [Ping timeout: 252 seconds]
kyren has quit [Quit: ZNC 1.7.2 - https://znc.in]
asymmetric has joined #nixos
kyren has joined #nixos
smarti has joined #nixos
gagbo has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #57067 → nixos: introduce `nixpkgs.pkgsFun`, deprecate `nixpkgs.pkgs` → https://git.io/fhhfv
goibhniu has joined #nixos
civodul has joined #nixos
johanot has quit [Ping timeout: 255 seconds]
MinceR_ is now known as MinceR
reinhardt has quit [Ping timeout: 240 seconds]
johanot has joined #nixos
arianvp has joined #nixos
mvnetbiz has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamt has joined #nixos
jtojnar has joined #nixos
reinhardt has joined #nixos
Havvy has quit [Ping timeout: 245 seconds]
isHavvy has joined #nixos
Irenes has joined #nixos
<Izorkin> etu: please check latest commit
[Leary] has joined #nixos
Lears has quit [Ping timeout: 255 seconds]
<etu> Izorkin: I just wrote a comment there
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhhfS
<Izorkin> etu: then I try to split
<Taneb> Is there a nice way to do automatic garbage collection on nix-on-other-Linux?
thc202 has joined #nixos
<Izorkin> etu: please run build php73 in darwin
Fare has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @danbst pushed 3 commits to master: https://git.io/fhhfF
<symphorien> Taneb: https://nixos.org/nix/manual/#description-41 there is min-free and max-free
<symphorien> this only works when nix fills the disk, not another program
<{^_^}> [nixpkgs] @danbst pushed commit from @oxij to master « pkgs/top-level/stage.nix: don't override `overlays` and `config` in `nixpkgsFun` »: https://git.io/fhhJk
sigmundv has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/245cd8f53b8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
reinhardt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #57068 → exiftool: 11.11 -> 11.30 → https://git.io/fhhJG
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
reinhardt has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<teto> how to track the "instantiated" events logged in nix-build -vvvvv ? I have a bug in my code where I declare one lua environment but 2 are created (and one is wrong)
Mateon3 has joined #nixos
Mateon2 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
init_6 has quit []
rprije has quit [Ping timeout: 245 seconds]
init_6 has joined #nixos
Makaveli7 has quit [Ping timeout: 245 seconds]
Makaveli7 has joined #nixos
smarti has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @luzpaz opened pull request #57069 → gmsh: 4.1.5 -> 4.2.1 → https://git.io/fhhJQ
ng0 has joined #nixos
fendor_ has joined #nixos
kisik21 has quit [Remote host closed the connection]
orivej has joined #nixos
seanparsons has quit [Quit: ZNC 1.7.1 - https://znc.in]
alex`` has joined #nixos
seanparsons has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #57064 → cheat: 2.3.1 -> 2.5.1 → https://git.io/fhhev
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhhUC
<{^_^}> [nixpkgs] @Mic92 closed pull request #57045 → cheat: 2.3.1 -> 2.5.1 → https://git.io/fhpFd
JonReed has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #55634 → imagemagickBig: mark as broken → https://git.io/fhQo0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhhU6
<{^_^}> [nixpkgs] @Mic92 merged pull request #56926 → protonmail-bridge: 1.1.1-1 -> 1.1.3-1 → https://git.io/fhpUe
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhhUM
edwtjo has quit [Ping timeout: 240 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhhU5
<{^_^}> [nixpkgs] @Mic92 merged pull request #57069 → gmsh: 4.1.5 -> 4.2.1 → https://git.io/fhhJQ
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #56969 → strongswan: Make it build on macOS → https://git.io/fhpC5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhhUh
ym555 has joined #nixos
linarcx has joined #nixos
<linarcx> Hi. friends. i want to use i3. in my .config file there is a part that use i3bar(status_command). but i get an error:`Error:status_command not found or is missing a library dependency(exit 127)`
<{^_^}> [nixpkgs] @Mic92 merged pull request #57023 → crystal: fix build on Darwin → https://git.io/fhpXj
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhhTU
<{^_^}> [nixpkgs] @Mic92 pushed commit from @alyssais to release-19.03 « crystal: fix build on Darwin »: https://git.io/fhhTT
orivej has quit [Ping timeout: 252 seconds]
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fhhTq
edwtjo has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « Merge #56586: vimPlugins.meson: init, following pkgs.meson »: https://git.io/fhhTm
<{^_^}> [nixpkgs] @vcunat merged pull request #56586 → vimPlugins.meson: init, following pkgs.meson → https://git.io/fhA4r
silver has joined #nixos
beaky has quit [Read error: Connection reset by peer]
teehemkay has quit [Ping timeout: 257 seconds]
teehemkay has joined #nixos
beaky has joined #nixos
waleee has joined #nixos
duckfullstop has joined #nixos
simukis has joined #nixos
<duckfullstop> howdy, dumb emergency question because everything will catch fire if I don't figure this out; how do you define a networking.bridge.(name) with no constituent interfaces (ie a blank bridge)?
<adamt> duckfullstop: networking.bridges.foo.interfaces = []; seems to be valid? At least it doesn't fail on build time
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/83ae1ffed43 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
__monty__ has joined #nixos
<duckfullstop> @adamt that got it, thanks
<srhb> adamt: duckfullstop: Correct :)
<srhb> Too slow.. :)
<duckfullstop> hetzner libvirt shenanigans, before you ask
<{^_^}> [nixpkgs] @buffet opened pull request #57070 → filet: 0.1.2 -> 0.1.3 → https://git.io/fhhkU
<adamt> I didn't test whether it worked, just saw that it didn't cause any assertions to fail or things like that. :P
<adamt> If you need something more crazy or advanced, you could consider having a look at networkd.
maximiliantagher has joined #nixos
orivej has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
noogie has quit [Read error: Connection reset by peer]
noogie has joined #nixos
noonien has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #57055 → pythonPackages.m2crypto: swig2 as nativeBuildInput so it can be invoked → https://git.io/fhpA2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhhk8
<{^_^}> [nixpkgs] @iblech opened pull request #57071 → tikzit: 2.1 -> 2.1.4 → https://git.io/fhhkR
<{^_^}> [nixpkgs] @Mic92 pushed commit from @dtzWill to release-19.03 « pythonPackages.m2crypto: swig2 as nativeBuildInput so it can be invoked »: https://git.io/fhhkE
ThatDocsLady_ has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
reinhardt has quit [Ping timeout: 240 seconds]
duckfullstop has quit [Ping timeout: 268 seconds]
cfricke has joined #nixos
duckfullstop has joined #nixos
<Izorkin> etu: and please run build in darwin php73-embed
tycho01 has joined #nixos
<tycho01> hi. I accidentally overwrote my hardware-configuration.nix, and regenerated versions are missing the /boot section. how can I find which device was used for /boot in my present revision?
<jasongrossman> tycho01: You could try running `lsblk`.
vk3wtf has quit [Quit: WeeChat 2.3]
Makaveli7 has quit [Ping timeout: 240 seconds]
reinhardt has joined #nixos
asymmetric has quit [Ping timeout: 255 seconds]
<arianvp> is there a 19.03 channel already?
<gchristensen> arianvp: 19.03 is in beta and has a channel, yeah
<arianvp> I'm trying to boot a radeon vii
<arianvp> alright, ill try switching to it, see if it causes a boot :)
<tycho01> @jasongrossman that was helpful, thanks!
m1sosoup has joined #nixos
<etu> arianvp: you might want to use a newer kernel
<etu> arianvp: And you might want to activate kernel modules as well :/
cfricke has quit [Ping timeout: 252 seconds]
tycho01 has quit [Ping timeout: 256 seconds]
<etu> arianvp: On my Vega system I needed this: https://github.com/etu/nixconfig/blob/master/hosts/kodi/configuration.nix#L25-L33, related issue #54378
<{^_^}> https://github.com/NixOS/nixpkgs/issues/54378 (by ryantm, 6 weeks ago, open): installer iso does not boot with AMD Ryzen 7 with Vega 10 integrated graphics
<etu> arianvp: Not sure exactly what's needed for radeon vii, but yeah
kreisys has joined #nixos
<clever> jasongrossman: if /boot/ is mounted when you run nixos-generate-config, it will include /boot automatically
asymmetric has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
ardumont has joined #nixos
<Izorkin> etu: please run - @GrahamcOfBorg build php73 php73-embed
Dr8128 has quit [Ping timeout: 245 seconds]
<ardumont> hello, is there some documentation somewhere which explains how to add a test for a service (and actually how to run it)?
<ardumont> thank you
<gchristensen> if it isn't clear, we can help!
<{^_^}> [nixpkgs] @knl opened pull request #57072 → strongswan: 5.7.1 -> 5.7.2 → https://git.io/fhhI9
<ardumont> context is that i opened a pr for updating the minidlna service and i kind of struggle on how to actually test it works
<ardumont> the good help message hinted at the test structure
zupo has joined #nixos
<ardumont> and i have a test now but i don't yet know how to run that
<ardumont> so many thanks already, headed there
<clever> ardumont: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/bittorrent.nix is a good example i used to see how tests work
<ardumont> heading*
<clever> ardumont: and i think you can just blindly run nix-build on that file to test it
<ardumont> thx, i actually opened some services including openssh, bittorrent indeed, etc...
<ardumont> i have something that looks like that but more basic ;)
<{^_^}> [nixpkgs] @oxij closed pull request #57067 → nixos: introduce `nixpkgs.pkgsFun`, deprecate `nixpkgs.pkgs` → https://git.io/fhhfv
<asymmetric> is there a way to make --keep-failed the default?
<asymmetric> every time a long-running build fails and i haven't toggled it, i wanna bang my head against the wall
drakonis_ has joined #nixos
orivej has joined #nixos
<etu> Izorkin: But you still have the extra options in there
<etu> Izorkin: And disabling fpm etc doesn't seem right to do...
<manveru> asymmetric: in the nix.conf
drakonis has quit [Ping timeout: 252 seconds]
<manveru> asymmetric: i think doing `nix.extraOptions = ''\nkeep-failed = true\n''; should do it
<manveru> (that's real newlines, not actual \n :)
<asymmetric> manveru: thx, i'll try!
<asymmetric> but i don't see extraOptions in `man nix.conf`
<manveru> it's in `man configuration.nix`
<manveru> i don't actually know if nix.conf has such an option...
<manveru> but since i don't see anything like it in the nix.conf manpage, it's just worth a try i guess :)
<Taneb> Is there a way to disable remote caches for a single build?
<symphorien> --check ?
<Taneb> symphorien: that only works if it's already built?
aanderse has quit [Ping timeout: 240 seconds]
<Taneb> I have a vague memory of an environment variable that does this
<manveru> asymmetric: if it works for you, might be worth to open an issue to make sure it's in the manpage
<ardumont> clever: gchristensen: thanks, it helps a lot
<ardumont> maybe the line "Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)"
<ardumont> should be changed to link to the documentation link you provided me with
<ardumont> (that's one of the line checks proposed when contributors open pr)
<{^_^}> [nixpkgs] @dtzWill opened pull request #57074 → nodejs_{6,8,10,11}_x: update, security fixes → https://git.io/fhhLX
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2832a89c38e (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @ardumont opened pull request #57075 → pull-request-template: Add the link on tests documentation → https://git.io/fhhLQ
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ardumont> ^ proposal ;)
<ardumont> (in waiting that my slow network fetches stuff to run the test)
xkapastel has joined #nixos
reinhardt has quit [Quit: Leaving]
drakonis has joined #nixos
zupo has joined #nixos
timor has joined #nixos
Denommus has joined #nixos
zupo has quit [Client Quit]
<timor> Is there a dedicated irc channel for hydra?
<Denommus> is there a bug in the version comparison on nix?
<Denommus> every time I upgrade my packages, nixopsUnstable is replaced by nixops
<Denommus> and yesterday my nix was "upgraded" from 2.2.1 to 2.2
<symphorien> "upgrade" with nix-env -u or with nixos-rebuild ?
<Denommus> symphorien: sudo nix upgrade-nix
<Denommus> I'm not using NixOS, sadly
<Denommus> (but I think I will as soon as I have the time)
<symphorien> > pkgs.nix
<{^_^}> "<derivation /nix/store/dlpxi3rd4a0h589vbpjjaflnl20zx02g-nix-2.2.drv>"
<symphorien> Denommus: nixpkgs has only nix 2.2 but the installer (which has nothing to do with nixpkgs) was from the latest version of nix
<symphorien> nix upgrade-nix just uses the latest nix from nixpgks
<symphorien> hence the downgrade
<clever> > builtins.compareVersions "1.2" "2.2"
<{^_^}> -1
<clever> > builtins.compareVersions "2.2" "2.2.1"
<{^_^}> -1
<clever> it agrees that 2.2 < 2.2.1
<Denommus> symphorien: so... how do I upgrade back to 2.2.1?
<clever> Denommus: but, `nix-env -u` doesnt really "upgrade" it just guesses what attr a given package comes from, and installs whatever nixpkgs says it is on the new version
aswanson has quit [Quit: WeeChat 2.2]
asymmetric_ has joined #nixos
<symphorien> the easiest is to wait for nixpkgs to have 2.2.1
<Denommus> and what about nixopsUnstable? Why does it keep being replaced by nixops?
aswanson has joined #nixos
<symphorien> > nixops.name
<{^_^}> "nixops-1.6.1"
<symphorien> > nixopsUnstable.name
<{^_^}> "nixops-1.6.1pre2728_8ed39f9"
<clever> Denommus: nix-env -u doesnt know what attr a package came from
asymmetric has quit [Remote host closed the connection]
<clever> Denommus: so it just guesses nixpkgs.nixops, incorrectly
asymmetric_ is now known as asymmetric
<symphorien> nixops unstable has a lower version number
<clever> i dont think -u cares about version# at all
<symphorien> it does
<clever> it just finds a "random" derivation with a matching name?
<symphorien> that's why --leq exists
<Denommus> can I remove nixops with overlays?
<symphorien> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<clever> Denommus: would be simpler to just set nixops = self.nixopsUnstable; with an overlay
<clever> but fully declarative profiles are better
<Denommus> symphorien: oooh, I've been using --leq
<Denommus> that might be it
<symphorien> Denommus: if nix-env frustrates you, use declarative methods as above
<symphorien> nix is a great build system, but not so great a package manager
<Denommus> I beg to differ, I really enjoy it as a package manager. But you need to really understand the nix language in order to make good use of it
<Denommus> for instance, nixopsUnstable is currently broken, but I managed to fix it using only overlays
<symphorien> once you have this understanding, the buildEnv solution mentioned in the factoid is easy to do and way better than raw nix-env
<Denommus> > builtins.compareVersions "1.6.1pre2728_8ed39f9" "1.6.1"
<{^_^}> -1
<Denommus> symphorien: I'll check it, thanks
<clever> > builtins.compareVersions "1.6.1p" "1.6.1"
<{^_^}> 1
<clever> > builtins.compareVersions "1.6.1a1" "1.6.1"
<{^_^}> 1
<clever> > builtins.compareVersions "1.6.1a1_2" "1.6.1"
<{^_^}> 1
<clever> hmmm, not sure what the exact rules are now...
<Denommus> yeah, that seems like a bug
<symphorien> Seems like there is a special case for "pre"
slack1256 has joined #nixos
<Denommus> oh, makes more sense
<Denommus> but why would nixopsUnstable be in a lower version than nixops anyway?
jabranham has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #57076 → doc/reviewing-contributions: nix-review instead of nox-review → https://git.io/fhhtD
<noonien> > false || "foo"
<{^_^}> value is a string while a Boolean was expected, at (string):222:1
<{^_^}> [nixpkgs] @hedning pushed 4 commits to gnome-3.32: https://git.io/fhhtH
hoijui has joined #nixos
erictape1 has quit [Ping timeout: 245 seconds]
lfish has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #56589 → nixos/kubernetes: minor module fixes → https://git.io/fhAEO
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhhqG
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
endformationage has joined #nixos
johanot has joined #nixos
drakonis1 has quit [Ping timeout: 258 seconds]
<betawaffle> this is not really the right place to ask this, but there seem to be a fair number of zfs users here... if i don't enable dedup, can zfs still dedup all-zero blocks?
<srhb> betawaffle: Are you talking about sparse zvols?
<betawaffle> i guess?
Rusty1 has joined #nixos
<srhb> betawaffle: I'd rather not guess. :P
<infinisil> betawaffle: There is #zfsonlinux
<betawaffle> k
<gchristensen> betawaffle: it'll compress them if they're compressable
<betawaffle> oh, of course!
<betawaffle> that's the answer i wanted
<infinisil> Well only if you have compression enabled
<emily> compression, the most local kind of deduplication~
<simpson> Something something, "functions are compressed data"
johanot has quit [Quit: WeeChat 2.2]
work_ has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
Lears has joined #nixos
<Denommus> symphorien: the declarative stuff seems interesting, but is there a suggestion in which one I should choose?
[Leary] has quit [Ping timeout: 252 seconds]
<adamt> Is there some kernel parameter that makes the init 1 stage more verbose? I have a bunch of new HP servers that spend ages in the "running udev" step, and looking at the code it seems like it's doing several things that might all be at fault
<adamt> Bleh, I mean "stage 1" of the boot, not "init 1 stage" -- that's just gibberish
<adamt> I haven't timed it, but it's several minutes, so I imagine they're reaching some sort of timeout before moving on
<{^_^}> [nixpkgs] @callahad opened pull request #57077 → dsseries: init at 1.0.5-1 → https://git.io/fhhqN
init_6 has quit []
<callahad> If someone could take a glance at https://github.com/NixOS/nixpkgs/pull/57077 and tell me if I'm doing anything stupid, I'd appreciate it :)
<{^_^}> #57077 (by callahad, 2 minutes ago, open): dsseries: init at 1.0.5-1
lfish has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed commit from @johanot to release-19.03 « nixos/kubernetes: minor module fixes »: https://git.io/fhhmf
<symphorien> Denommus: home-manager does more things which can be both an advantage or a drawback, depending on your use case.
<{^_^}> [nixpkgs] @basvandijk merged pull request #57072 → strongswan: 5.7.1 -> 5.7.2 → https://git.io/fhhI9
<{^_^}> [nixpkgs] @basvandijk pushed 3 commits to master: https://git.io/fhhmG
asymmetric has quit [Remote host closed the connection]
erictapen has joined #nixos
asymmetric has joined #nixos
<srhb> adamt: boot.trace
<srhb> adamt: But I doubt it'll help you if it's literally hanging on udev stuff.
<srhb> adamt: Perhaps alter stage-1-init.sh to be more verbose on the udevadm commands themselves.
<adamt> srhb: I kinda just wanted to figure out which of the 2-3 (can't remember exactly) different commands the phase is running
<srhb> adamt: boot.trace will indeed do that
<srhb> adamt: It basically juts sets -x in stage 1
<srhb> At least, it should suffice if you're watching the console.
<adamt> I have this feeling that I might as well go directly to hacking stage-1-init.sh
<srhb> adamt: eh, throwing boot.trace at the boot loader is fast and easy :)
<srhb> Will help you direct your efforts.
<adamt> srhb: But but, playing with stage-1-init.sh sounds more fun. :-)
<srhb> adamt: (just hit e in the loader and add it at the end of the string)
<srhb> Sure :P
<adamt> srhb: does hitting e also work with systemd boot?
<srhb> Yep.
<adamt> Ah. Good tip.
<adamt> For the people near Copenhagen: NixOS meetup in march: https://www.meetup.com/Greater-Copenhagen-NixOS-User-Group/events/259591825/
<glasserc> If I do nixos-rebuild switch -I /path/to/nixpkgs, should nix-info report the version of /path/to/nixpkgs ?
<srhb> adamt: No location yet?
<glasserc> Or more generally, how do I switch over to a local nixpkgs
<srhb> glasserc: Try: -I nixpkgs=/path/to/nixpkgs
<adamt> srhb: Nah, ktra just picked a date today, but he sounds very confident he can find a location. But if you have suggestions closer to Copenhagen than us.... ;-)
<srhb> glasserc: Alternatively you can manipulate NIX_PATH directly.
<adamt> It seems like it's udevadm settle that's slow. But that's probably going to be some exciting poking I can safe for monday.
<srhb> adamt: :-P ok.
<srhb> adamt: Well, thanks for the heads-up.
<glasserc> srhb: Ah yes, I'm using -I nixpkgs=/path/to/nixpkgs, but nix-info still shows a different version than I expect
<srhb> glasserc: After rebuilding?
<srhb> glasserc: And switching, specifically.
<srhb> glasserc: Ah, actually, nix-info does runtime things
<srhb> glasserc: nixos-version is build-time.
<glasserc> Hmm. I see that /nix/var/nix/profiles/per-user/root/channels/nixos is still the old version
<srhb> glasserc: I'm not sure what you're saying exactly. -I shouldn't affect that anyway?
<glasserc> Let me back up a bit.. I'm having trouble building a package in 19.03 that used to work in 18.09. So I'm trying to bisect what changed that made it start to fail
<glasserc> So I was hoping to "switch back" to 18.09 by checking that out in a local nixpkgs, and then retry the build
<srhb> glasserc: I'd suggest not doing rebuild for that, if you can avoid it.
<srhb> glasserc: What's the package?
<srhb> glasserc: Using an overlay?
<glasserc> No, just using nix-shell path/to/nixpkgs-mozilla/release.nix
<glasserc> Hmm, maybe I can just use -I nixpkgs=/path/to/nixpkgs on that nix-shell command
<srhb> glasserc: NIX_PATH=nixpkgs=path-to-your-checkout nix-shell ... should do the trick
<{^_^}> [nixpkgs] @Infinisil merged pull request #56987 → nixos/nextcloud: fix escapings and ocm-provider → https://git.io/fhp03
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhhmH
<glasserc> srhb: OK, thanks, let me try that.. sorry, I'm still in an imperative sysadmin mindset
<srhb> glasserc: Don't worry about it, it takes a while to learn to really utilize this toolbox :-)
<srhb> glasserc: printproto error? :)
<{^_^}> [nixpkgs] @Infinisil merged pull request #56171 → tautulli/plexpy: 1.4.25 -> 2.1.26 (renamed) → https://git.io/fhFV2
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhhmb
<glasserc> srhb: Yes, that's the immediate thing -- I think I know what that's about and I have a fix for it, but when I actually built the thing, it wouldn't run -- segv
<srhb> glasserc: With xorgproto?
<glasserc> Yeah
<srhb> ok :)
<glasserc> It's just annoying to track this down because rebuilding Gecko takes ~70 minutes on my computer
<srhb> glasserc: Ouch. :/
<srhb> glasserc: Maybe you can fiddle a bit with optimization flags. Might help a tiny bit.
<glasserc> But actually in talking to you, I had an idea about what the segv is about -- I wonder if it's because I built against 19.03 although I haven't rebooted into 19.03 since switching a few days ago
<glasserc> It might be a mismatch between Wayland versions or something
<srhb> glasserc: I want to say no, that should never happen, but impurities like that have been known to happen especially in some gui toolkits.
asymmetric has quit [Ping timeout: 244 seconds]
<srhb> glasserc: By the way, just making sure you know, 19.03 isn't released yet.
<srhb> (Somehow we seem to be giving people the impression that releases are out as soon as the feature freeze hits)
<glasserc> Yeah, I know, thanks. I guess I like to jump on unstable branches a little too early for my own good
<srhb> Ok, just checking :)
<srhb> This is how we get things fixed before release anyway, so kudos to you :-P
hlolli has joined #nixos
<glasserc> Actually the reason I tried to switch to unstable was because I thought I wanted to contribute an updated version of some other package, and I didn't really have a clear idea about how to "run against master"
hyper_ch2 has quit [Quit: Page closed]
<srhb> Ah :)
<{^_^}> [nixpkgs] @Infinisil merged pull request #55782 → claws-mail: add build dependency (libical) for vcalendar plugin → https://git.io/fh717
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhhmj
<srhb> Same method as above, as you probably guessed now.
<glasserc> Yeah. I still need practice
Ariakenom has quit [Ping timeout: 250 seconds]
<hlolli> I'm readin the nixos-in-place readme.md, and it's recommended to do the installation in a tmux session to prevent ssh timeouts. Does it mean a tmux session from the client or tmux session inside the server?
<JonReed> I miss a debugger with step-by-step execution for Nix. Right now debugging something like a stack overflow error in a large codebase with trace statements in lazy execution is like crawling through a Shawshank Redeption sewer that loops back into your prison cell.
<dminuoso> JonReed: Have you tried using builtins.trace?
JonReed_ has joined #nixos
<JonReed_> dminuoso: Yeah :(
<ToxicFrog> hlolli: on the server, so that if your ssh session drops, it doesn't interrupt whatever command is currently running, and you can just ssh back in and reattach.
<ToxicFrog> Running tmux on the client wouldn't help at all.
<goibhniu> JonReed_: there was a talk on how to do that at NixCon: https://www.youtube.com/watch?v=ULqoCjANK-I
<hlolli> ah perfect, I see the point now. Took it for preventing a broken pipe. Thanks ToxicFrog!
<goibhniu> (I think that's relevant anyway)
xkapastel has quit [Quit: Connection closed for inactivity]
<adamt> Regarding nixcon, has the location been decided on? I think I remember some chatter about the Czech Republic
JonReed has quit [Ping timeout: 256 seconds]
<jabranham> Is there a reason nixos-unstable isn't advancing? https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents shows all green check boxes for the job that finished yesterday but unstable hasn't advanced in 3 days
<infinisil> goibhniu: I think JonReed_ meant nix evaluation
<ToxicFrog> I wonder if anyone's installed NixOS on the NextThing CHIP
<goibhniu> oh
<JonReed_> infinisil: Yeah.
_kwstas has joined #nixos
<infinisil> JonReed_: Yeah nix evaluation is *really* painful to debug
erasmas has joined #nixos
srl295 has joined #nixos
xkapastel has joined #nixos
_kwstas has quit [Quit: _kwstas]
Makaveli7 has joined #nixos
Dr8128 has joined #nixos
<samueldr> ToxicFrog: it's a pretty standard allwinner setup IIRC, but armv7 so it includes all the general caveats: no upstream binary cache, incomplete user-provided, and slow to build for
<samueldr> but depending on how cross-compilation improved, it might be good
<{^_^}> [nixpkgs] @aanderse opened pull request #57078 → nixos/redmine: replace imagemagickBig with imagemagick → https://git.io/fhhY4
Fare has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9fa52ae9a22 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
gagbo has quit [Quit: I'm out !]
<ToxicFrog> samueldr: "allwinner"?
<ToxicFrog> Aah
<samueldr> the R8 SoC is from allwinner
<ToxicFrog> The main thing I'm nervous about is that it has no external SD card, just eMMC, so if it won't boot from USB (and the documentation doesn't say one way or another) I need to either figure out how to install NixOS from inside the sorta-debian install it ships with or figure out how to flash the eMMC storage over USB
<ToxicFrog> Whereas with an rpi I can just slap a bootable image onto a uSD card and away it goes
* samueldr missed the opportunity of getting a pocket chip before they folded
* vikingman had the opportunity
<vikingman> ;)
<ToxicFrog> Yeah, I'm hoping I can get away without running software where the install instructions are "run a shell script written for a five year old version of a distro you don't use" :P
adamt has quit [Ping timeout: 255 seconds]
<ToxicFrog> I never even heard of the CHIP but a co-worker was giving away some random electronic bits and mixed in with all the AVRs that I was actually interested in were two CHIPs.
<samueldr> ah, the main thing to understand is that it's possible to flash from outside the running operating system, and you probably need to familiarize yourself with it since chances are... you'll break it!
<ToxicFrog> (and something that appears to be an ARM-based Arduino board, not sure what to do with that either)
Fare has quit [Ping timeout: 250 seconds]
<vikingman> ToxicFrog: the wifi on chips are terrible and limited to around 10mbps
<vikingman> and you cannot get bluetooth and wifi working at the same time
<ToxicFrog> I am completely unsurprised by that, the rpi3 had the same issue
<ToxicFrog> I don't actually have a use case for these things but they might be fun to fiddle around with
<ToxicFrog> Maybe I can install octoprint on one and that frees up one of the rpis for other duties
<vikingman> they made 2 revision of the chip
<vikingman> one with toshiba memory with 8gb of storrage
<samueldr> the pocket chip concept had some legs, with the integrated hardware + gpio; probably a neat thing to easily "get" into something to debug
<{^_^}> [nixpkgs] @yurrriq opened pull request #57079 → kops: 1.11.0 -> 1.11.1 → https://git.io/fhhYV
<samueldr> I imagine using it as a serial terminal for another system
<vikingman> samueldr: he have a fel mode
<samueldr> yeah, I guess the FEL mode is used by the previously linked guide to flash from the command line
<samueldr> for those that don't know what a FEL is: http://linux-sunxi.org/FEL
<samueldr> (and sunxi is the name for their SoC family)
<ToxicFrog> samueldr: yeah, he also had a fully assembled pocketCHIP but someone else grabbed it
<samueldr> ah, I assumed you had a pocket chip :)
<vikingman> its the same board ;)
<ToxicFrog> Nope, just the plain CHIP board with no attachments
<ToxicFrog> I'm not sure if they're the 4GB or 8GB models and I don't have them handy right now to check
jnskw has joined #nixos
<{^_^}> [nixpkgs] @veprbl closed pull request #53531 → nvidia_x11: 410.78 -> 410.93 → https://git.io/fhsXe
<hodapp> hm, I have a CHIP I've yet to even do anything with
freusque has joined #nixos
slack1256 has quit [Ping timeout: 252 seconds]
drakonis has quit [Quit: WeeChat 2.3]
Fare has joined #nixos
<ToxicFrog> Yeah, I haven't even booted up mine yet because I also got three Digisparks and I've been focusing entirely on those.
drakonis has joined #nixos
JonReed_ has quit [Ping timeout: 256 seconds]
drakonis_ has quit [Ping timeout: 240 seconds]
fendor_ has quit [Ping timeout: 250 seconds]
Ariakenom has joined #nixos
biopandemic has joined #nixos
<catern> how can I determine what url on cache.nixos.org corresponds to a given derivation?
<catern> it's something obvious I know, just don't remember
sigmundv has quit [Ping timeout: 250 seconds]
<clever> > "${pkgs.hello}"
<{^_^}> "/nix/store/5blzqmi4735d90rdrw26byjnn2bdzm4b-hello-2.10"
<clever> catern: that will be at cache.nixos.org/5blzqmi4735d90rdrw26byjnn2bdzm4b.narinfo
<catern> clever: ok thanks
reilithion has joined #nixos
sondr3 has joined #nixos
<ardumont> clever: gchristensen: i finally made the test work
<clever> ardumont: nice
<ardumont> i had issues with rights about kvm group though
<reilithion> Ericson2314, Hey, are you around?
<sondr3> anyone have issues with JetBrains IDEs? Every time I update them I get a SIGSEV for each and every one of them, Pycharm, CLion, Webstorm etc
<samueldr> sondr3: how are you updating them? and "every time" does it mean you can make them work and next update it fails, or that you rollback and re-update later and it fails?
<catern> is there a way to ignore my config.nix for one nix-build run?
<sondr3> samueldr: just by nix-env -u, and then they stop working
<sondr3> reinstalling them seems to fix it every time
<samueldr> and sondr3, could you run `nix-shell -p nix-info --run nix-info` it may help figuring out the issue, if it is what I think it might be
<samueldr> (speaking of, TIL nix-info will hang for a while if you're using remote builders and the builder isn't reachable)
<gchristensen> (interesting)
<sondr3> samueldr: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.1.3, channels(root): "nixos-18.09.2323.fef0aaaaab4", channels(sondre): "unstable-19.09pre171786.34aa254f9eb", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<samueldr> sondr3: are you installing via nix-env -iA nixos.the_ide?
<sondr3> samueldr: yep
<samueldr> sondr3: I think it's related to #54278, nix-env -u will not upgrade from the same attribute set than installed from (I think)
<{^_^}> https://github.com/NixOS/nixpkgs/issues/54278 (by minijackson, 7 weeks ago, open): Programs using gdk_pixbuf 2.38 crash with 2.36 loaders from system
<samueldr> to confirm, you could run `strace -f -o strace.log $that_ide` and look for mixed gdk pixbuf plugins
<sondr3> samueldr: I have already reinstalled them so they are working fine again, I'll keep it in mind for the next update though
<sondr3> it seems fairly serious though
<samueldr> it only happens when mixing a system using dependencies depending on pixbuf 2.36 and using software using 2.38 (e.g. from unstable)
gspia has quit [Quit: Leaving]
<sondr3> samueldr: oh, that might be the case, I have some things I use from unstable
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<samueldr> when you install using -iA nixos.$something, it installs from the nixos channel, but (I assume) that nix-env -u doesn't really care about channels and finds the most up to date package *as named* in all the channels
<samueldr> if you were to install the IDEs using systemPackages it shouldn't happen
<samueldr> (though I'm using "doesn't really care" it's not a slight against nix-env nor channels, but more of an implementation detail)
gspia has joined #nixos
<delan> anyone know how to make libvirt guests shutdown rather than suspend on host shutdown? libvirt-guests.sh seems to handle this and according to the source I could write ON_SHUTDOWN=shutdown to /var/lib/sysconfig/libvirt-guests but what’s the NixOS Way™ to do that?
<sondr3> samueldr: might be a good push for me to finally check out home-manager
<sondr3> thanks for the help, clears up a lot!
<samueldr> sondr3: it probably would help, as long as it's using the right nixpkgs
<samueldr> sondr3: and when 19.03 is released, and when you'll update, the issue should go away
<sondr3> sweet
<catern> there's something impure in my build, is there a way to ignore config.nix for one run? setting the environment or something?
Fare has quit [Ping timeout: 244 seconds]
<delan> nvm it’s virtualisation.libvirtd.onShutdown... can’t believe I missed that the first time I looked https://github.com/NixOS/nixpkgs/blob/release-18.09/nixos/modules/virtualisation/libvirtd.nix#L105-L114
drakonis_ has joined #nixos
<pie__> garbas, ok here's what I dont get, pypi2nix -V "2.7" -e sflock -E libffi -E openssl -E "pkgconfig zlib libjpeg openjpeg libtiff freetype lcms2 libwebp tcl" fails on Pillow, but if i add -e Pillow it doesnt fail
drakonis has quit [Ping timeout: 240 seconds]
asymmetric has joined #nixos
<yl[m]> I'm making a derivation that produces `outputHash` and `outputHashAlgo` so I can access the network with it, but it seems that I'm missing cacert in the sandbox as well
<yl[m]> how to expose it?
ym555 has quit [Ping timeout: 252 seconds]
<clever> yl[m]: have a look at the source for fetchurl
<clever> > fetchurl
<{^_^}> <LAMBDA>
<sondr3> lol
<clever> nix-repl> fetchurl
<clever> «lambda @ /nix/store/4rq3vfnl8pyvy7xg2z29862s7badfcv1-nixos-19.03pre158246.6141939d6e0/nixos/pkgs/build-support/fetchurl/default.nix:38:1»
<clever> nix repl shows more info when given functions
<yl[m]> clever: ah nice, thank you!
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhhOH
<{^_^}> [nixpkgs] @Infinisil merged pull request #56977 → stepmania: switch to clangStdenv → https://git.io/fhpB0
Fare has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed commit from @kyren to release-19.03 « stepmania: switch to clangStdenv »: https://git.io/fhhOh
<Izorkin> etu: please run - @GrahamcOfBorg build php73-embed
<{^_^}> [nixpkgs] @Infinisil pushed commit from @kyren to release-18.09 « stepmania: switch to clangStdenv »: https://git.io/fhh3f
biopandemic has quit [Ping timeout: 252 seconds]
<catern> is there a way to force the nix tools to try to substitute?
<catern> I think the nix-daemon has cached this derivation as not existing in the upstream substitutes, so it tries to build it locally
<catern> but I just added it upstream so it should be able to substitute it now
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhh3I
Fare has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #57080 → buildGoModule: building Go binaries in two phases → https://git.io/fhh3C
drakonis has joined #nixos
jtojnar_ has joined #nixos
<musicmatze> Okay, now it failed, because "the patch was applied before"... but my patch is a revert ... hmhh
drakonis_ has quit [Ping timeout: 258 seconds]
yl has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #56861 → factorio: experimental 0.17.2 → 0.17.6 → https://git.io/fhx6O
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhh30
biopandemic has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhh3g
<{^_^}> [nixpkgs] @Infinisil merged pull request #56655 → flow: 0.92.0 -> 0.94.0 → https://git.io/fhAKY
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/5847485e3ec (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<noonien> can i give multiplle paths to nix-hash and only get one hash back?
<{^_^}> [nixpkgs] @dtzWill opened pull request #57081 → libxmlb: 0.1.6 -> 0.1.7 → https://git.io/fhh3a
<musicmatze> noooow the kernel builds :-)
Kim has quit [Quit: WeeChat 2.2]
Kim has joined #nixos
Dr8128 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #56753 → streamlink: 0.14.2 -> 1.0.0 → https://git.io/fhAbn
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhh3D
Kim has quit [Client Quit]
<{^_^}> [nixpkgs] @hedning pushed 2 commits to gnome-3.32: https://git.io/fhh3H
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5831fe1f4a3 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
kai_w has quit [Quit: Konversation terminated!]
Dr8128 has joined #nixos
ym555 has joined #nixos
<{^_^}> [nixpkgs] @mtrsk closed pull request #56997 → Fixed fatal error with libX11 and libGL while building playonlinux → https://git.io/fhpus
JonReed has joined #nixos
<yorick> catern: nix-store -r --ignore-unknown
maximiliantagher has joined #nixos
zupo has joined #nixos
<yl> clever: I learned a lot from the fetchurl/fetchgit, but I'm trying to use `go`. Go has hardcoded list of certificates that I can't find a way to change: https://github.com/golang/go/blob/1ab9f6837d6da80dad41657a913e47fa13a4fee8/src/crypto/x509/root_linux.go#L8-L14
<yl> clever: is there a way to modify the sandbox from a derivation to expose these files?
<yl> I meant a way to expose the ca-bundle at one of those locations
waleee has quit [Quit: WeeChat 2.4]
zupo has quit [Client Quit]
<clever> yl: look into libredirect
<clever> yl: examples are in nixpkgs
<yl> clever: I'll look there for educational purposes, but I think I solved it: https://github.com/golang/go/blob/1ab9f6837d6da80dad41657a913e47fa13a4fee8/src/crypto/x509/root_unix.go#L25-L33
<yl> I gotta do more git grep!
<Izorkin> etu: in logs - sh: fork: Resource temporarily unavailable
<clever> yl: ah, those env vars are better
<yl> clever: definitely! It works, thank you!
rauno has joined #nixos
<noctux> hello, I'm just starting to experiment with nixos (in the VM image), to see how it works. My current goal is to get a searx instance running with nginx and uwsgi. My current attempt is at https://paste.xinu.at/McsZ/, but somehow, uwsgi fails to find the python packages, even though they get specified in the uwsgi-config: https://paste.xinu.at/McsZ/#n66 and thus, I thought that python.withPackages
<noctux> (https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-servers/uwsgi.nix#L30) should build a python-env that includes all deps as site-packages... anybody got a pointer for me?
<noctux> btw: there are two related issues on the bugtracker, but they seem both fixed and seem to do similar things to my attempt: https://github.com/NixOS/nixpkgs/issues/28429 and https://github.com/NixOS/nixpkgs/issues/13060
<{^_^}> #28429 (by jluttine, 1 year ago, closed): uwsgi not finding python packages
<{^_^}> #13060 (by makefu, 3 years ago, closed): services.uwsgi: python{2,3}Packages ignore PropagatedBuildInputs of inputs
Izorkin has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> [nixpkgs] @Infinisil merged pull request #56641 → facter: 3.12.3 -> 3.13.0 → https://git.io/fhArb
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fhhsz
<{^_^}> [nixpkgs] @qolii opened pull request #57082 → linux_hardkernel_4_14: 4.14.94-155 -> 4.14.102-156 → https://git.io/fhhsg
maximiliantagher has quit [Remote host closed the connection]
<clever> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
maximiliantagher has joined #nixos
Fare has joined #nixos
maximiliantagher has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
Izorkin has joined #nixos
freeman42x has joined #nixos
laalf has quit [Quit: ZNC 1.7.2 - https://znc.in]
drakonis_ has joined #nixos
laalf has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed to gnome-3.32 « squash! pango: 1.42.4 -> 1.43.0 »: https://git.io/fhhs9
drakonis has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
hoijui has quit [Remote host closed the connection]
cfricke has joined #nixos
m1sosoup has quit [Ping timeout: 268 seconds]
m1sosoup has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
Izorkin has quit [Quit: ZNC 1.7.2 - https://znc.in]
zupo has joined #nixos
<vaibhavsagar> another day, another error caused by a binary cache being unavailable
work_ has quit [Quit: Connection closed for inactivity]
ErAsMuS has joined #nixos
<gchristensen> what happened?
goibhniu has quit [Ping timeout: 245 seconds]
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
Izorkin has joined #nixos
<vaibhavsagar> what always happens
<vaibhavsagar> a binary cache went down so `nix-build` shit itself
<gchristensen> oh, "a" binary cache, or "teh"?
<gchristensen> the*
<vaibhavsagar> "a"
<vaibhavsagar> this is a longstanding bug in Nix
<gchristensen> how do we fix it? :)
<vaibhavsagar> there's no reason it can't try the others
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhhGd
<{^_^}> [nixpkgs] @seppeljordan opened pull request #57084 → nix-prefetch-github: 2.1 -> 2.2 → https://git.io/fhhGF
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fhhGb
zupo has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
timor has quit [Ping timeout: 252 seconds]
biopandemic has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.32 « fixup! gnome3.gnome-settings-daemon: bypass polkit by using an suid wrapper »: https://git.io/fhhZU
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
mariel__ has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
ddellacosta has joined #nixos
ErAsMuS has quit [Ping timeout: 245 seconds]
_kwstas has joined #nixos
random_yanek has quit [Ping timeout: 255 seconds]
erictapen has quit [Ping timeout: 246 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
mariel__ has quit [Ping timeout: 255 seconds]
ddellacosta has joined #nixos
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
jabranham has joined #nixos
zupo_ has joined #nixos
gagbo has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
erictapen has joined #nixos
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #56790 → nixos/nixos-install: tell the user what to do if setting a root password failed → https://git.io/fhxLW
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhhZ2
<{^_^}> [nixpkgs] @Infinisil merged pull request #56322 → virtualbox: add warning for ineffective nixpkgs config → https://git.io/fhbz7
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhhZa
<{^_^}> [nixpkgs] @hedning pushed 100 commits to gnome-3.32: https://git.io/fhhZV
zupo has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed commit from @bendlas to release-19.03 « nixos/virtualbox: add warning when for ineffective nixpkgs config »: https://git.io/fhhZr
<{^_^}> [nixpkgs] @Infinisil merged pull request #55192 → nixos/nginx: support h2c → https://git.io/fhSQx
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhhZo
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/28e30399a90 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @hedning pushed 3 commits to gnome-3.32: https://git.io/fhhZS
erictapen has quit [Ping timeout: 244 seconds]
Kim has joined #nixos
JonReed has quit [Ping timeout: 256 seconds]
halfbit has joined #nixos
erictapen has joined #nixos
m1sosoup has quit [Remote host closed the connection]
gagbo has quit [Ping timeout: 268 seconds]
m1sosoup has joined #nixos
drakonis has joined #nixos
m1sosoup has quit [Client Quit]
drakonis_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #57013 → marisa-python: fix build → https://git.io/fhprQ
<{^_^}> [nixpkgs] @xeji pushed commit from @vanzef to master « marisa-python: fix build (#57013) »: https://git.io/fhhnG
<{^_^}> [nixpkgs] @xeji merged pull request #57071 → tikzit: 2.1 -> 2.1.4 → https://git.io/fhhkR
<{^_^}> [nixpkgs] @xeji pushed commit from @iblech to master « tikzit: 2.1 -> 2.1.4 (#57071) »: https://git.io/fhhnn
<{^_^}> [nixpkgs] @xeji pushed commit from @buffet to master « filet: 0.1.2 -> 0.1.3 (#57070) »: https://git.io/fhhnc
<{^_^}> [nixpkgs] @xeji merged pull request #57070 → filet: 0.1.2 -> 0.1.3 → https://git.io/fhhkU
hlolli_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
maximiliantagher has joined #nixos
drakonis has joined #nixos
hlolli has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
aswanson has quit [Quit: WeeChat 2.2]
<{^_^}> [cabal2nix] @peti pushed 2 commits to v3: https://git.io/fhhnl
Cale has quit [Ping timeout: 250 seconds]
Shouou has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57056 → trilium: 0.29.1 -> 0.30.4 → https://git.io/fhpxB
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « trilium: 0.29.1 -> 0.30.4 (#57056) »: https://git.io/fhhn8
aswanson has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56896 → go-outline: unstable-2017-08-04 -> unstable-2018-11-22 → https://git.io/fhxxY
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « go-outline: unstable-2017-08-04 -> unstable-2018-11-22 (#56896) »: https://git.io/fhhnR
<{^_^}> [nixpkgs] @xeji merged pull request #56900 → skaffold: 0.21.1 -> 0.24.0 → https://git.io/fhxx8
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « skaffold: 0.21.1 -> 0.24.0 (#56900) »: https://git.io/fhhn0
<{^_^}> [nixpkgs] @Infinisil opened pull request #57088 → xpilot-ng: Fix build and cleanup → https://git.io/fhhnE
_kwstas has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @mtrsk reopened pull request #56997 → Fixed fatal error with libX11 and libGL while building playonlinux → https://git.io/fhpus
<{^_^}> [nixpkgs] @eadwu opened pull request #57089 → vscode: 1.32.0 -> 1.32.1 → https://git.io/fhhng
drakonis has quit [Read error: Connection reset by peer]
Cale has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56916 → pachyderm: 1.4.6 -> 1.8.5 → https://git.io/fhpff
<{^_^}> [nixpkgs] @xeji pushed commit from @samhug to master « pachyderm: 1.4.6 -> 1.8.5 (#56916) »: https://git.io/fhhna
jnskw has quit [Ping timeout: 240 seconds]
cfricke has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #56879 → minikube: 0.30.0 -> 0.35.0 → https://git.io/fhxHR
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « minikube: 0.30.0 -> 0.35.0 (#56879) »: https://git.io/fhhnX
<musicmatze> I guess we should kill that bot
<gchristensen> you think I should stop the github activity posts?
<gchristensen> we've already cut it down a lot over time, eliminating more and more of what it says
alex`` has quit [Ping timeout: 252 seconds]
<dtz> few days ago I finally caved and disabled link previews, lol
<gchristensen> I find its "push" messages useful. maybe removing "merged" messages is next, sondr3
<gchristensen> samueldr: ^
<{^_^}> [nixpkgs] @7c6f434c merged pull request #57004 → cmus: add mpris support on linux → https://git.io/fhpgt
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhhnM
ErAsMuS has joined #nixos
<samueldr> really? 2 hours 20 of inactivity (by humans) and just shy of a page full of notices seems uneventful to me?
<{^_^}> [nixpkgs] @xeji merged pull request #56944 → kustomize: 2.0.1 -> 2.0.3 → https://git.io/fhpYe
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « kustomize: 2.0.1 -> 2.0.3 (#56944) »: https://git.io/fhhnS
<gchristensen> yeah, it isn't the worst thing
<samueldr> (though yeah merge messages should be coalesced)
alex`` has joined #nixos
<reilithion> Kind of soothing, really...
<gchristensen> it is very fun for me that this is a problem
<samueldr> I think we had, in whole, more appreciation said than disapproval about the bot (but yes, a pair of message per merge is not ideal)
<gchristensen> it is a huge improvement over github's irc bot which did ~5 messages per merge
<samueldr> one for the merge, one per commit (max 3) for the merge, then one for the push
<gchristensen> I like the push ones when there isn't a corresponding merge so I can go see what people are pushing :)
<{^_^}> [nixpkgs] @Infinisil opened pull request #57090 → vim-vint: Fix → https://git.io/fhhnd
<samueldr> oh, and a join and a part, since the github bot wasn't staying connected
<{^_^}> [nixpkgs] @xeji merged pull request #56821 → teamspeak_server: 3.5.1 -> 3.6.1 → https://git.io/fhx8G
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « teamspeak_server: 3.5.1 -> 3.6.1 (#56821) »: https://git.io/fhhnA
<{^_^}> [nixpkgs] @kalbasit merged pull request #57065 → datadog-agent: 6.10.0 -> 6.10.1 → https://git.io/fhheG
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Izorkin to master « datadog-agent: 6.10.0 -> 6.10.1 (#57065) »: https://git.io/fhhnh
hamishmack has quit [Ping timeout: 252 seconds]
<yurb> Is it normal that during a nix-env -u I see git-annex running its tests (or at least that's what I suppose it does)?
<ddellacosta> hi folks, more haskell+nix newbie questions: if I want to try 8.6.3, it looks like that's only available in unstable. For my own repo, is The (A?) Right Way to modify the arguments to my default.nix and shell.nix in the repo like so? `{ nixpkgs ? import <nixpkgs-unstable> {}, compiler ? "ghc863" }:`
_kwstas has quit [Quit: _kwstas]
<infinisil> ddellacosta: You should prefer pinning nixpkgs
<infinisil> ,pinning
<ddellacosta> infinisil: cool, thanks--will check that out
<{^_^}> [nixpkgs] @xeji merged pull request #55646 → gbenchmark: 1.3.0 -> 1.4.1 → https://git.io/fhQSL
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « gbenchmark: 1.3.0 -> 1.4.1 (#55646) »: https://git.io/fhhce
<ddellacosta> infinisil: ...sorry, one question: reviewing the Nix 2.0 instructions, it's not clear to me where this file (chunk of code?) goes. Would I drop this somewhere in my project directory, then make sure whatever it returns is passed to default.nix somehow, is that right? And is the purpose to make sure that even though it's unstable it's fixed, vs. not knowing what the latest unstable may bring/break?
<ddellacosta> er, sorry two questions...
<laalf> how/where does linuxpackages_latest get created?
<clever> > builtins.unsafeGetAttrPos "linuxPackages_latest" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 14866; }
<{^_^}> [nixpkgs] @xeji merged pull request #57088 → xpilot-ng: Fix build and cleanup → https://git.io/fhhnE
<{^_^}> [nixpkgs] @xeji pushed commit from @Infinisil to master « xpilot-ng: Fix build and cleanup (#57088) »: https://git.io/fhhcU
<Shouou> Is there a way to see which package provides a binary X without installing anything or reading derivations?
<infinisil> ,locate bin hello
<{^_^}> Found in packages: hello, mbedtls, perkeep.bin, gitlab-runner.bin, haskellPackages.hello
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended)
<{^_^}> [nixpkgs] @xeji pushed commit from @Infinisil to release-19.03 « xpilot-ng: Fix build and cleanup (#57088) »: https://git.io/fhhck
<laas> how does one allow internet access in a package?
<laas> or rather, in a nix expression
<laas> in a derivation
<{^_^}> [nixpkgs] @xeji merged pull request #57089 → vscode: 1.32.0 -> 1.32.1 → https://git.io/fhhng
<{^_^}> [nixpkgs] @xeji pushed commit from @eadwu to master « vscode: 1.32.0 -> 1.32.1 (#57089) »: https://git.io/fhhcq
<simpson> laas: Usually by being fixed-output. What are you working on?
<{^_^}> [nixpkgs] @xeji merged pull request #56945 → podman: 1.1.0 -> 1.1.2 → https://git.io/fhpYt
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « podman: 1.1.0 -> 1.1.2 (#56945) »: https://git.io/fhhcm
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2e92520e21a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57090 → vim-vint: Fix → https://git.io/fhhnd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhhcl
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Infinisil to release-19.03 « vim-vint: Fix »: https://git.io/fhhc8
_kwstas has joined #nixos
<laas> simpson: I'm actually just trying to figure out how the rust build-support stuff works
<tilpner> That works by using cargo-vendor in a fixed-output derivation
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to release-19.03 « vscode: 1.32.0 -> 1.32.1 (#57089) »: https://git.io/fhhc0
<{^_^}> [nixpkgs] @danbst opened pull request #57091 → lib: introduce `foreach`, `combined` and `combined map` idioms → https://git.io/fhhcE
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to release-18.09 « vscode: 1.32.0 -> 1.32.1 (#57089) »: https://git.io/fhhcg
<{^_^}> [nixpkgs] @Infinisil opened pull request #57092 → turses: Fix → https://git.io/fhhca
Dr8128 has quit [Ping timeout: 250 seconds]
<laas> tilpner: what do you mean by fixed-output derivation?
<laas> aren't all derivations fixed-output?
drakonis has joined #nixos
<tilpner> No. A fixed-output derivation declares "when you build this, the output will hash to this"
<infinisil> `runCommand "x" {} "echo $RANDOM > $out"` :P
<tilpner> Every time you provide a hash (usually sha256), it ends up with a fixed-output derivation
<ldlework> wtf, i just `nix-env -iA nixos.mycli` and it failed to install because the package's unit tests failed?!
<ldlework> lol wtf :P
<ldlework> oh yeah nixpkgs has no automated tests so literally any package might be broken
<ldlework> well not no tests
<{^_^}> [nixpkgs] @xeji merged pull request #56947 → containerd: 1.2.2 -> 1.2.4 → https://git.io/fhpY3
<laas> tilpner: so if I provide a hash, I can access the network?
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « containerd: 1.2.2 -> 1.2.4 (#56947) »: https://git.io/fhhcy
<tilpner> laas: Yes
<laas> huh
<laas> nice
<tilpner> laas: By providing a hash, you promise that no external source can affect the final result of this build (if it does build)
drakonis_ has quit [Ping timeout: 245 seconds]
<tilpner> So letting you connect to anything is no longer an impurity
vk3wtf has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<infinisil> ldlework: Well, can't get all 25000 packages to work with all these updates of all the libraries happening constantly
rprije has joined #nixos
<ldlework> infinisil: you could test them all though
<ldlework> maybe? no idea, whatever.
<laas> that would need quite a lot of computing power though tbh
<laas> I mean, it's 25k packages
<infinisil> Yeah..
<laas> maybe you could just check the non-library packages though?
<infinisil> I mean, we do test everything, that's what hydra does
<laas> or some important ones
<infinisil> But testing them doesn't mean it gets fixed automatically
<laas> ah
disasm has joined #nixos
<laas> so you do test, they just don't get fixed
<infinisil> Fixing is still a manual task unfortunately
<johnw> does anyone have a snippet for restarting a Hydra service every N hours?
<laas> well I don't see how you could easily automate fixing lol
asymmetric has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<infinisil> Yeah
<infinisil> There are *some* things that could be automated, like when a build errors with "file: command not found", add file to nativeBuildInputs
<tilpner> It would be possible to not allow failing packages into master though
erasmas has quit [Read error: Connection reset by peer]
<tilpner> And pin the whole tree so nothing changes
<infinisil> *taps on head* Can't get breaking updates if you just don't update
<{^_^}> [nixpkgs] @xeji merged pull request #57059 → ntp: 4.2.8p12 -> 4.2.8p13 → https://git.io/fhphY
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « ntp: 4.2.8p12 -> 4.2.8p13 (#57059) »: https://git.io/fhhcN
zupo_ has quit [Ping timeout: 245 seconds]
<gchristensen> tilpner: it'd be pretty wild to require a gcc patch update to ensure 40,000 builds suceeded
<gchristensen> not that it is out of the question
drakonis has quit [Ping timeout: 258 seconds]
<gchristensen> (how'd we get to 40k? macos, aarch64)
<gchristensen> (...more if we count cross)
monokrome has joined #nixos
<monokrome> yo
rprije has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to release-19.03 « ntp: 4.2.8p12 -> 4.2.8p13 (#57059) »: https://git.io/fhhcA
<monokrome> I'm setting up a server and the ethernet address is `eno1` within the install image. If I install w/ `usePredictableInterfaceNames = true;`, will that change? Once I install/reboot I don't have access unless booting and networking works lol
disasm has quit [Quit: WeeChat 2.0]
jedai has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<ldlework> I have this, and it still fails to install the package with a failure in the test cases: https://gist.github.com/d3ab01dd8d152768371c010d5948ca35
<ldlework> Shouldn't this prevent the package's tests from running?
<infinisil> monokrome: You could write a fancy script that automatically rolls back when it hasn't received a ping 10 minutes after booting
rprije has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57057 → xteddy: init at 2.2 → https://git.io/fhpxb
<{^_^}> [nixpkgs] @xeji pushed commit from @xaverdh to master « xteddy: init at 2.2 (#57057) »: https://git.io/fhhch
<monokrome> infinisil: Sure, but only if the interface name will change :)
<monokrome> Otherwise kind of a waste
<monokrome> Also, this says the option isn't of type "list of submodules" but it seems like what the docs say? https://gist.github.com/monokrome/b7dcd914ff6dd3729d637fc73c21e118#file-configuration-nix-L56-L63
* monokrome scratches her head
<{^_^}> [nixpkgs] @xeji merged pull request #56875 → shotcut: 18.12.23 -> 19.02.28 → https://git.io/fhxSf
<{^_^}> [nixpkgs] @xeji pushed commit from @woffs to master « shotcut: 18.12.23 -> 19.02.28 (#56875) »: https://git.io/fhhcj
zupo has joined #nixos
<ldlework> right?!
mmlb has quit [Ping timeout: 252 seconds]
<gchristensen> hrm that is weird, monokrome
<gchristensen> seems the docs are out of date
disasm has joined #nixos
<ldlework> ryantm: poke
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.elementary-calculator: 1.5.1 -> 1.5.2 »: https://git.io/fhhCe
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to release-18.09 « ntp: 4.2.8p12 -> 4.2.8p13 (#57059) »: https://git.io/fhhCv
<gchristensen> monokrome: let me get you an updated example.
<ddellacosta> so I'm having very basic problems getting a repo going with ghc 8.6.3, it's not finding base--I pushed it up here in case anyone is willing to check it out and tell me what obviously wrong thing I'm doing: https://github.com/ddellacosta/servant-pt1
gilligan_ has joined #nixos
<monokrome> gchristensen: Thanks <3
<gilligan_> evening
<gchristensen> hi gilligan_
<gilligan_> o/
<gchristensen> monokrome: I think you just need to change ip4 to ipv4
<monokrome> oooooooooooh makes sense
<monokrome> thnx :)
erasmas has joined #nixos
<monokrome> Are the docs in GitHub? I'd love to start contributing if possible :)
<gchristensen> they are
<gchristensen> one sec
<gchristensen> https://nixos.org/nixos/options.html#networking.interfaces is reallyhelpful and auto-generated from the modules themselves
<tilpner> infinisil: Arguably there's no point in updating to broken packages
<monokrome> I just rebooted and crossed my fingers lol
<gchristensen> here are the written docs :https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/networking.xml here are written docs on networking
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ldlework> :(
<gchristensen> monokrome: https://butt.holdings/
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « pantheon.elementary-calculator: 1.5.1 -> 1.5.2 »: https://git.io/fhhCU
<monokrome> L O L
disasm has quit [Client Quit]
<tilpner> infinisil: But no, I'm not proposing these per-application channels, they're too expensive
<{^_^}> [nixpkgs] @Infinisil merged pull request #56996 → zsh-git-prompt: switch to a new fork. → https://git.io/fhpuJ
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhhCT
disasm has joined #nixos
<gilligan_> hm, how do I end up in a scenario where the result of `nix-store --query --deriver <some-store-path` yields a .drv path that doesn't exist? (I'm fiddling around with retrieving all derivations that end up in a docker image and running vulnix on them)
<{^_^}> [nixpkgs] @Infinisil pushed commit from @bendlas to release-18.09 « nixos/virtualbox: add warning when for ineffective nixpkgs config »: https://git.io/fhhCk
<monokrome> oh dang
<monokrome> didn't work
<monokrome> lol
<{^_^}> [nixpkgs] @xeji merged pull request #56970 → python2Packages.moinmoin: 1.9.9 -> 1.9.10 → https://git.io/fhpCA
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « python2Packages.moinmoin: 1.9.9 -> 1.9.10 (#56970) »: https://git.io/fhhCL
<{^_^}> [nixpkgs] @xeji closed pull request #48589 → Security Update: pythonPackages.moinmoin: 1.9.9 -> 1.9.10 → https://git.io/fxgtw
<noonien> how is a derivation's hash calculated?
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to release-19.03 « python2Packages.moinmoin: 1.9.9 -> 1.9.10 (#56970) »: https://git.io/fhhCY
* ddellacosta throws up his hands at the nix haskell documentation and goes to find some beer
<noonien> does it include the nix store path?
<noonien> or is it more along the lines of `cd $out; nix-hash --type sha256 --base32 .`?
<gchristensen> monokrome: may I PM? :)
disasm has quit [Client Quit]
<monokrome> gchristensen: Please feel free :)
mmlb has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
kreisys has joined #nixos
<{^_^}> [nixpkgs] @roberth pushed to nixpkgs-pkgs-doc « nixos: Add doc about nixpkgs.{pkgs,overlays} performance »: https://git.io/fhhCC
Denommus has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #56869 → chirp: 20190206 -> 20190304 → https://git.io/fhx1R
<{^_^}> [nixpkgs] @xeji pushed commit from @apeyroux to master « chirp: 20190206 -> 20190304 (#56869) »: https://git.io/fhhC4
reilithion has quit [Quit: Leaving]
<gilligan_> ls $(nix-store --query --deriver $(nix-build -A hello)) -- i'm confused - Running this on nixpkgs root shouldn't the file always be present? It's not though
<gchristensen> ah, no, actually
<{^_^}> [nixpkgs] @roberth pushed 0 commits to nixpkgs-pkgs-doc: https://git.io/fhhCz
<gchristensen> the drv can be garbage collected separately
<gchristensen> there is a nix.conf option which keeps them
<gilligan_> i see
<LnL> in this case the drv would be there since nix-build evaluated it
<gilligan_> well it isn't though x__X
disasm has joined #nixos
<LnL> however the registered deriver is the one that was originally built, not your local one which isn't necessarily the same
<noonien> what does nix-hash use to compute the hash?
<LnL> depends what hash you ask for
<noonien> i mean, what does it use as input to the hashing function?
<noonien> ofcourse it uses the file contents, but, what else?
<gchristensen> I think just the contents?
<dminuoso> Okay wow. The Xfce4 package is *frustrating*.
<LnL> nothing else, unless you're hashing a directory instead of a flat file
<noonien> yes, should have said that, i'm hashing a directory
<gilligan_> LnL, what i'm *actually* trying to do is get the all store paths that go into the result of a dockerTools.buildLayeredImage and run vulnix an all of them - but vulnix fails to parse the .drv file which is always missing. And now i am pretty confused because if vulnix relies on the drv and there is no guarantee for it to be present how does it work in the first place?! :)
<LnL> oh, it uses -q --deriver?
<noonien> does it use the file mtime/atime?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/27b4e71d80a (from 64 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<gilligan_> LnL, well I guess so.. it will explode with output like `Command '['nix-store', '-qR', '/nix/store/r2x1jikav339n7z7spqv0s9l46dacc5m-bash-4.4-p23.drv']' returned non-zero exit status 1.`
<gchristensen> noonien: nix store paths don't have mtimes, they're all set to 1 second past the epoch
<noonien> yes, i know, however, i'm hashing a path outside the nix store
<LnL> gilligan_: oh so it's one of the dependencies that are missing?
<gchristensen> ah, I think it isconverted to a NAR which loses that property
<{^_^}> [nixpkgs] @xeji merged pull request #57078 → nixos/redmine: replace imagemagickBig with imagemagick → https://git.io/fhhY4
<{^_^}> [nixpkgs] @xeji pushed commit from @aanderse to master « nixos/redmine: replace imagemagickBig with imagemagick (#57078) »: https://git.io/fhhCo
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<noonien> a list of files wich each have the exact same sha256sum
disasm has quit [Quit: WeeChat 2.0]
<noonien> however, when doing `nix-hash --type sha256 --base32 .` in each directory i get different results
<gilligan_> LnL, yeah so I'm adding bash to `contents` for example - bash gets added to the resulting docker image.. but the .drv file isn't there
disasm has joined #nixos
<gilligan_> LnL, which i somehow can't make sense of
disasm has quit [Client Quit]
<gilligan_> LnL, long story short : vulnix $(nix-build -A bash .) --> *kaboom*
disasm has joined #nixos
<noonien> I managed to fix it, it also hashes the file paths, and i was hashing the wrong hierarchy
<{^_^}> [nixpkgs] @matthewbauer opened pull request #57094 → [18.09] nix: 2.1.3 -> 2.2 → https://git.io/fhhCi
<LnL> gilligan_: sure, but can't you use nix-instantiate instead?
<gilligan_> LnL, maybe? i'm pretty bad with nix plumbing like that ;-)
<LnL> or is this vulnix being smart by only checking the derivations of runtime paths
shibboleth has joined #nixos
vk3wtf has quit [Ping timeout: 258 seconds]
<gilligan_> LnL, so how can I (?) actually create the .drv given some store path?
kp__ has joined #nixos
<ldlework> There's a Python application who's unit-tests fail on build. I have this package override, and it still fails the same way: https://gist.github.com/d3ab01dd8d152768371c010d5948ca35
<LnL> gilligan_: you can't really, unless they are also cached
_kwstas has quit [Quit: _kwstas]
<gchristensen> definitel yfeels like a bug in cachix
<gchristensen> erm, vulnix
seanparsons has quit [Remote host closed the connection]
<{^_^}> flyingcircusio/vulnix#21 (by plumps, 2 years ago, open): RuntimeError: ('Cannot determine deriver. Is this really a path into the nix store?', '/nix/var/nix/gcroots/booted-system')
<LnL> given that you have the same expressions you can generate "equivalent" derivations, but they could be slightly different from the original ones depending on the nix version, etc.
disasm has quit [Quit: WeeChat 2.0]
Shouou has quit [Ping timeout: 268 seconds]
justanotheruser has joined #nixos
seanparsons has joined #nixos
disasm has joined #nixos
<gilligan_> LnL, well i'm talking about spitting out store paths directly from a dockerTools.buildLayeredImage call - or even wrapping the call in something which then calls vulnix - having a different Nix version is not a concern of mine
<gilligan_> but to me it seems like vulnix really shouldn't be depending on the drv's in the first place
<LnL> if this is to avoid scanning only outputs instead of the entire build closure I think it should be done the other way around
<LnL> start with the entire drv tree and skip everything that's not in the outputs
<LnL> out->drv can change but not drv->out
<LnL> ldlework: try doInstallCheck
<ldlework> LnL my hero!
kp__ has quit [Quit: WeeChat 2.4]
<gilligan_> LnL, actually it does scan the entire build closure.. you end up getting CVEs for subversion scanning some ndoejs app
kp__ has joined #nixos
seanparsons has quit [Remote host closed the connection]
<LnL> yeah I thought so too, then use nix-instantiate and pass the drv directly instead of the output
pie____ has joined #nixos
seanparsons has joined #nixos
<pie____> im trying to build a newer, but still old, version of the capstone bindings and i run into this: capstone-3.0.5rc2-py2-none-manylinux1_x86_64.whl is not a supported wheel on this platform.
<pie____> i have no idea what to doabout it...
<pie____> bennofs[m]: youre listed as maintainer, d oyou maybe have an idea?
<{^_^}> [nixpkgs] @Ekleog closed pull request #51683 → net_snmp: 5.7.3 -> 5.8 → https://git.io/fpSGp
seanparsons has quit [Remote host closed the connection]
<gilligan_> LnL, can you elaborate on "use nix-instantiate" ? :-}
<yl> gchristensen: does ofborg build a job through a comment even if PR has label `work-in-progress`?
<gchristensen> it should
<yl> cool, I'll try it
<pie____> im trying to build https://bpaste.net/show/4f5a6ca63092
<yl> gchristensen: if you have time, I'd like your opinion on https://github.com/NixOS/nixpkgs/pull/57080 before I go too far on it
seanparsons has joined #nixos
<{^_^}> #57080 (by kalbasit, 5 hours ago, open): buildGoModule: building Go binaries in two phases
<LnL> gilligan_: depends on the expression but something like vulnix $(nix-instantiate -A contents) might work
<gchristensen> yikes, go stuff is way outside my wheelhouse, yl
<yl> gchristensen: irrelevant of Go stuff :) I'm redoing the infra to work more or less like bazel's infra
<yl> gchristensen: so fetchAttrs and buildAttrs
<gilligan_> LnL, ah D'OH that easy. ok thanks
<yl> gchristensen: also is it frowned upon to move code around? go-modules provides buildGoPackage, I moved it to go-packages to make room for buildGoModule
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixos-org-configurations] @matthewbauer opened pull request #78 → Add nixpkgs-19.03-darwin to update channels → https://git.io/fhhWJ
<{^_^}> [nixpkgs] @Infinisil opened pull request #57095 → gtk3: Fix for missing symbols (again) → https://git.io/fhhWU
<gilligan_> LnL, ah uhrm, well i just realized that in my case my input will be limited to a file with stores paths - can't run nix-instantiate on those
<gchristensen> you have a drv!
<gchristensen> nix-instantiate ./test.nix -A mycontainer.closure :)
<LnL> not following
<gilligan_> gchristensen, ooooooh. yes of course i do indeed
<gilligan_> LnL, sorry.. graham was helping me on that earlier on. It's not exactly complicated but missing some context i guess
<{^_^}> [nixpkgs] @Infinisil opened pull request #57096 → sonata: Fix build → https://git.io/fhhWn
m0rphism has quit [Ping timeout: 252 seconds]
<gilligan_> So this does work - what remains is the annoyance of vulnix not differentiating between runtime and buildtime dependencies
<gilligan_> don't care about CVEs for `python` and `patch` but that is something that needs to be addressed in vulnix itself i guess
ym555 has quit [Ping timeout: 250 seconds]
<gilligan_> (don't care about python and patch if neither are in the docker image i'm wanting to check that is)
seanparsons has quit [Quit: ZNC 1.7.1 - https://znc.in]
seanparsons has joined #nixos
q6AA4FD has joined #nixos
<{^_^}> [nixos-org-configurations] @grahamc merged pull request #78 → Add nixpkgs-19.03-darwin to update channels → https://git.io/fhhWJ
<{^_^}> [nixos-org-configurations] @grahamc pushed 2 commits to master: https://git.io/fhhWu
ilmu has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/28e30399a90 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
o1lo01ol1o has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
gilligan_ has quit [Ping timeout: 258 seconds]
rcshm has joined #nixos
<selfsymmetric-mu> Hi! I've disabled a patch by overriding with `patch = []`. Is there a way I can get a notification if the patches upstream are updated? In general, is there a way I can tell if my modifications might have the moral equivalent of merge conflicts?
<selfsymmetric-mu> The exact situation I'm in is that `pipenv` is broken in NixOS because it has a bad patchfile that got out of date. I've killed the patch but that could be a nasty bug later on if I don't keep track of how it's affected.
<selfsymmetric-mu> In other package managers (say, el-patch), conflicts coming down the pipe notify the user. Is something like that available here?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
yl has quit [Ping timeout: 246 seconds]
<selfsymmetric-mu> (the issue in question: https://github.com/NixOS/nixpkgs/issues/57008)
<{^_^}> #57008 (by matthew-piziak, 1 day ago, open): Bad virtualenv patch breaking pipenv on Python 3.7.2
illegalprime has quit [Ping timeout: 255 seconds]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
talqu has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
Cale has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #57097 → qtbase: Fix paths returned by qmake -query → https://git.io/fhhW1
<disasm> I'm trying to setup grub (using efi) in place of systemd-boot. I've tried with canTouchEfiVariables but it doesn't seem to be working. efibootmgr doesn't show the path to grub. I also tried with efiInstallAsRemovable but it didn't create the /boot/EFI/BOOT directory (like systemd-boot does).