gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || 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
<krey> clever: hmm, that actually fixed it, thank you
<krey> clever: I mkForce'd the wrong thing earlier
<krey> clever: but it's kind of interesting... like, why don't I have to force NIX_PATH
<clever> how are you setting NIX_PATH?
<krey> clever: that has a default value too, set somewhere
<krey> nix.nixPath
<clever> that option has a merge function on it
<clever> and will concat each list set to it, to form the final option
<clever> then join that final list into a string, that sets environment.NIX_PATH
<krey> clever: ooh, that's pretty cool
Fare has joined #nixos
hiratara has joined #nixos
<clever> and line 423
ottidmes has quit [Ping timeout: 264 seconds]
davidlt has joined #nixos
<krey> clever: what am I looking at?
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<krey> clever: how do you say "concat each list set to it" in nix?
<clever> 338 defines the option as being a listOf strings
<clever> so if you set it in 2 files, nixos will join the 2 values
<clever> and then 423 takes that final list, and turns it into a string
<krey> clever: just by virtue of it being a list?
<krey> clever: so this works for any list option?
<clever> the listOf is just a function that gives a merge function, that can join things
<krey> clever: my mind is totally blown
<krey> clever: but say I wanna set my nix_path
<krey> clever: in a way that overwrites any previous settings
<krey> clever: completely
<krey> clever: do I mkForce then?
<clever> mkForce again
<clever> yep
* krey 's head just blew off
davidlt has quit [Ping timeout: 240 seconds]
<krey> clever: ok, so I just tried it
<krey> clever: and it doesn't quite work
<krey> clever: the default nixPath isn't added in, unless I leave it empty
<clever> mkForce will also delete the defaults
<krey> clever: yeah, but I didn't mkForce
<clever> oh, and also, the default value is a bit special
<clever> and setting it to anything will also wipe the default
nh2 has joined #nixos
d-fish has quit [Quit: Konversation terminated!]
<krey> clever: is it possible to get the default value?
<clever> options.nix.nixPath.default
<clever> and add options to the module args on line 1
<infinisil> krey: I think i told you this earlier today as well
jrolfs has quit [Ping timeout: 240 seconds]
<infinisil> or maybe not, could've been somebody else
<krey> infinisil: oops, I don't think it was me, but could've been
<infinisil> Ah yeah it was phry, the similar looking name confused me
nh2 has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
Wharncliffe has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #37403 → Apple SDK: bump to 10.12 → https://git.io/vxGhJ
<krey> clever, infinisil; it's kinda weird, though. since config is already recursive, couldn't you make the defaults the base case?
<infinisil> krey: i don't get what you mean
<clever> thats done by setting nix.nixPath in the nix module, rather then setting the default
<clever> its mostly up to whoever wrote the module that defines the option
<infinisil> Ah, yeah but also
jrolfs has joined #nixos
kerrhau has quit [Ping timeout: 240 seconds]
<infinisil> config is the fully evaluated config, if you set some option it's set in config
<infinisil> So if you were to do `foo = [ config.foo bar ];` then you get `foo = [ config.foo bar bar ] = [ config.foo bar bar bar ] = ... `
iyzsong has joined #nixos
<infinisil> It's recursive
sigmundv_ has joined #nixos
<abathur> I'm having a little trouble figuring out why something I'm trying to build is having trouble identifying a dependency (specifically, mysql)
<clever> abathur: run nix-store -q --tree on the .drv file, then search for mysql with /
<abathur> probably just a simple gap in my understanding, but it looks like both lib and include are properly getting passed along as flags, so it might just be that the software's method of searching for mysql isn't compatible with the way nix is doing it, or I need to be specifying something specific
<abathur> here's the line where the software is searching, fwiw https://github.com/ldmud/ldmud/blob/master/src/autoconf/configure.ac#L1414
<clever> abathur: and what is the nix expression?
<abathur> clever: I'll need a little hand-holding
silver_ has joined #nixos
<abathur> the whole expression I'm writing to build it?
<clever> yeah
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maximiliantagher has quit [Remote host closed the connection]
<abathur> k; will make a gist
<clever> ah, i see the issue
maximiliantagher has joined #nixos
<clever> it needs to look in ${mysql}/include/mysql
Lisanna has quit [Ping timeout: 268 seconds]
<clever> and the auto-config in nixpkgs cant auto-figure it out
silver has quit [Ping timeout: 240 seconds]
drakonis has quit [Read error: Connection reset by peer]
<clever> i think you need configureFlags = [ "--enable_use_mysql=${mysql}/include/mysql" ]; but that doesnt feel 100% right
<clever> see what --help calls it
<benny> how is it determined how often an unstable release ISO is built? I see the stable is <24h old whereas the unstable release is 20 days old
<abathur> I'll try specifying that as the flag real quick
<abathur> clever: that did the trick; it found it
Ariakenom has quit [Read error: Connection reset by peer]
<abathur> clever: teach me how to fish? what's the difference between how they're looking for mysql and what's normal?
timon37 has quit [Remote host closed the connection]
<abathur> clever: or at least the difference between this and what auto-config is prepared to handle?
<clever> abathur: for everything you put into buildInputs, nix will add the include directory to the default -I path
<clever> abathur: so #include <foo.h> will look for include/foo.h, in every buildInput
<clever> but, mysql decided to put their headers in include/mysql/mysql.h, and refer to it as #include <mysql.h>
<clever> so you must specify the right -I flag to find it
<clever> and the script you linked, is the list of paths it will guess
xcmw has joined #nixos
logzet has quit [Remote host closed the connection]
<abathur> ah
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
jrolfs has quit [Ping timeout: 260 seconds]
<abathur> ok, so something mysql does more so than the one I'm trying to build
<clever> yeah
<clever> glib and a number of other packages also do the same thing
krey has quit [Quit: Lost terminal]
<abathur> k
davidlt has joined #nixos
<abathur> clever: thanks much :)
<clever> yep
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/08101d052da (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
acarrico has quit [Ping timeout: 240 seconds]
<abathur> haha
<abathur> weird moment when I'm googling a compile problem further down the chain
maximiliantagher has quit [Ping timeout: 264 seconds]
<abathur> and the only google result is a gist I completely forgot about posting 4 months ago, before I was running nixos...
<clever> lol
<clever> i have googled problems before, found a stack overflow, and an acceptable answer, that i had already upvoted....
Jackneilll has joined #nixos
ChongLi has quit [Read error: Connection reset by peer]
ChongLi has joined #nixos
nocoolnametom has quit [Ping timeout: 256 seconds]
nocoolnametom has joined #nixos
<abathur> my favorite is googling something that brings back 1-3 pages of results, with all of the non-spam links already clicked
taktoa has quit [Remote host closed the connection]
Jackneillll has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
taktoa has joined #nixos
shachaf has quit [Ping timeout: 256 seconds]
<abathur> got it to build by disabling the "format" hardening flag; on a scale of one to bad, how bad?
<clever> abathur: depends on what triggered the warning, what was the error without that setting?
<abathur> not still in scrollback as an error, but this is the equivalent warning:pkg-mysql.c:328:5: warning: format not a string literal and no format arguments [-Wformat-security]
<abathur> meh, missed: errorf(err_string);
shachaf has joined #nixos
<clever> ah, so it was basically printf(variable1);
<clever> and potentialy, if an attacker can control that variable, he can exploit the machine
sigmundv_ has quit [Ping timeout: 260 seconds]
<clever> in this case, the string came from mysql_error
<clever> things can still malfunction in fun ways if the error happens to contain a %
<clever> it should use something other then errorf
<abathur> so, probably worth filing an issue with its maintainers about, in your estimation?
erictapen has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vxBWY
<{^_^}> → 23d0c171 by @LnL7: picosat: fix darwin build
<{^_^}> → f16db196 by @LnL7: openexrid-unstable: fix clang build
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to release-18.03: https://git.io/vxBWs
<{^_^}> → f6c0edb3 by @LnL7: openexrid-unstable: fix clang build
<{^_^}> → 3976ff79 by @LnL7: picosat: fix darwin build
<clever> abathur: yeah
<abathur> already typing it up :)
Judson has quit [Ping timeout: 256 seconds]
sigmundv_ has joined #nixos
thc202 has quit [Ping timeout: 240 seconds]
blankhart has quit [Ping timeout: 263 seconds]
ma27 has quit [Ping timeout: 246 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
justan0theruser has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « openjdk: get rid of warning »: https://git.io/vxB8Z
justanotheruser has quit [Ping timeout: 240 seconds]
silver_ has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3976ff79e86 (from 29 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « backintime-common: 1.1.12 -> 1.1.24 »: https://git.io/vxB4I
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37167 → backintime-common: 1.1.12 -> 1.1.24 → https://git.io/vxmJK
chrios_ has joined #nixos
chrios has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37241 → radarr: 0.2.0.980 -> 0.2.0.995 → https://git.io/vxYdQ
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « radarr: 0.2.0.980 -> 0.2.0.995 »: https://git.io/vxB43
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37222 → miniupnpd: 2.0.20180203 -> 2.0.20180222 → https://git.io/vxYDu
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « miniupnpd: 2.0.20180203 -> 2.0.20180222 »: https://git.io/vxB4c
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37220 → minissdpd: 1.5.20180203 -> 1.5.20180223 → https://git.io/vxYM7
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « minissdpd: 1.5.20180203 -> 1.5.20180223 »: https://git.io/vxB4W
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37206 → libbitcoin: 3.4.0 -> 3.5.0 → https://git.io/vxYKK
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « libbitcoin: 3.4.0 -> 3.5.0 »: https://git.io/vxB44
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37207 → libbitcoin-client: 3.4.0 -> 3.5.0 → https://git.io/vxY6e
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « libbitcoin-client: 3.4.0 -> 3.5.0 »: https://git.io/vxB40
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37210 → libbitcoin-explorer: 3.4.0 -> 3.5.0 → https://git.io/vxYiz
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « libbitcoin-explorer: 3.4.0 -> 3.5.0 »: https://git.io/vxB4u
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37212 → libbitcoin-protocol: 3.4.0 -> 3.5.0 → https://git.io/vxYP2
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « libbitcoin-protocol: 3.4.0 -> 3.5.0 »: https://git.io/vxB42
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37225 → mod_wsgi: 4.5.24 -> 4.6.2 → https://git.io/vxYyc
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « mod_wsgi: 4.5.24 -> 4.6.2 »: https://git.io/vxB4r
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37229 → mpc-qt: 17.11 -> 18.03 → https://git.io/vxYSm
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « mpc-qt: 17.11 -> 18.03 »: https://git.io/vxB4K
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37348 → mythtv: 0.27.4 -> 29.1 → https://git.io/vx3iR
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @danielfullmer to master « mythtv: 0.27.4 -> 29.1 »: https://git.io/vxB4P
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37290 → fox: 1.6.49 -> 1.6.56 → https://git.io/vxOim
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « fox: 1.6.49 -> 1.6.56 »: https://git.io/vxB4M
maximiliantagher has quit [Ping timeout: 264 seconds]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37115 → simplescreenrecorder: 0.3.9 -> 0.3.10 → https://git.io/vxtTR
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @ryantm to master « simplescreenrecorder: 0.3.9 -> 0.3.10 »: https://git.io/vxBBe
Lisanna has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #36938 → aws-auth: remove → https://git.io/vxTRw
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @risicle to master « aws-auth: remove »: https://git.io/vxBBO
maximiliantagher has quit [Ping timeout: 256 seconds]
kmicklas has quit [Ping timeout: 264 seconds]
<dmj`> is there a fromYaml, similar to how there is a fromJSON
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « openjdk9: 9.0.4+11 -> 9.0.4+12 »: https://git.io/vxBB0
d-fish has joined #nixos
d-fish has quit [Client Quit]
chrios has joined #nixos
chrios_ has quit [Ping timeout: 264 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chisui has quit [Ping timeout: 260 seconds]
sigmundv_ has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
<dmj`> maybe I could convert the yaml to json
mbrgm has joined #nixos
<dmj`> before calling fromJSON
maximiliantagher has quit [Ping timeout: 264 seconds]
<gchristensen> dmj`: convert all your yaml to json and just use json instead, it'll be simpler and your yaml parser will still work.
<gchristensen> I can provide a fromYaml function but it'll only work on a VERY SPECIFIC subset of the yaml standard
<Fare> how stable is 18.03 these days?
<gchristensen> it is beta
<dmj`> gchristensen: I hate writing yaml, but love reading it
<gchristensen> fromYaml = builtins.fromJSON
davidlt has quit [Ping timeout: 240 seconds]
<dmj`> :)
maximiliantagher has joined #nixos
<dmj`> nix-repl> builtins.fromJSON "stack.yaml"
<dmj`> error: unrecognised JSON value
<dmj`> :(
orbekk has joined #nixos
<gchristensen> fwiw I'm not making a joke
<gchristensen> config your yaml to json, save it in the stack.yaml file, it'll work a treat
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> gchristensen: A yaml parser that only works on a subset of yaml can't really be called a yaml parser though :)
<kerrhau> how do you use nix-env do install from an overlay?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<dmj`> gchristensen: not sure how to “config yaml to json”, you mean just rename, or find a subset that works? FWIW I’m using an object, the haskell yaml pkg can convert between the two, I might make a helper utility to do this `main = interact (pack . encode . fromJust . decode . pack)`
<dmj`> s/pack/unpack
<gchristensen> no, JSON is valid YAMLR
<gchristensen> YAML
<gchristensen> so you can just put straight JSON in your stack.yaml and it'll work
<infinisil> kerrhau: put the overlay in ~/.config/nixpkgs/overlays/foo.nix then you can use its stuff like normal with nix-env
<kerrhau> hm, it's in .../overlays/nixpkgs-kerrhau/
<kerrhau> is there any special setup I have to do to make nix-env recognize it?
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #37722 → preview: add Shenandoah GC to jdk packages, by default → https://git.io/vxBRV
<infinisil> kerrhau: it won't work nested like this
n0qqe has joined #nixos
<kerrhau> ah
Zer000 has joined #nixos
<infinisil> Oh actually it might, checking
<kerrhau> moving it out worked, so it might not
<infinisil> Yeah i checked, it doesn't
<infinisil> Oh hold on
<infinisil> It should work if the overlay file is in ~/.config/nixpkgs/overlays/nixpkgs-kerrhau/default.nix
<infinisil> kerrhau: Can you confirm that?
noqqe has quit [Ping timeout: 276 seconds]
n0qqe is now known as noqqe
<kerrhau> infinisil: yup, works
<infinisil> Nice
<Fare> that feeling when chrome persistently stops working :-(
xodbox[m] has joined #nixos
<Fare> chromium is obviously not deterministic and replayable
<{^_^}> [nixpkgs] @dtzWill closed pull request #37718 → gettext: fix dep on libiconv w/musl → https://git.io/vxBGt
<dmj`> gchristensen: oh, I see, yea. I’d like to have it actually be yaml since its easier to read, but I digress
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/48856a91c02 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
orbekk has quit [Ping timeout: 264 seconds]
davidlt has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm closed pull request #37070 → openimageio: 1.8.8 -> 1.8.9 → https://git.io/vxL3g
<{^_^}> [nixpkgs] @ryantm closed pull request #37475 → libgpgerror: 1.27 -> 1.28 → https://git.io/vxnRc
<Fare> looks like the GPU is hosed again.
ndrei has joined #nixos
<Fare> (weird that only chrome is affected)
<Fare> rebooting...
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
Fare has quit [Remote host closed the connection]
iyzsong has joined #nixos
srjek|home has quit [Ping timeout: 240 seconds]
<marusich> Can Nix create a custom Docker base image of NixOS (not just a collection of packages, but the entire OS and its entire init system and the services it would normally start)?
orivej_ has quit [Ping timeout: 264 seconds]
maximiliantagher has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
<marusich> I'm wondering if there is a command similar to this one, but for Docker images: https://nixos.org/nixos/manual/#sec-building-cd
davidlt has quit [Ping timeout: 260 seconds]
pie_ has joined #nixos
<marusich> Or similar to "nixos-rebuild build-vm"
maximiliantagher has quit [Ping timeout: 240 seconds]
orbekk has joined #nixos
orbekk has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
ndrei has quit [Ping timeout: 240 seconds]
leotaku has quit [Ping timeout: 240 seconds]
maximiliantagher has quit [Ping timeout: 264 seconds]
Zer000 has quit [Remote host closed the connection]
pxc has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm closed pull request #37687 → wayland: 1.14.0 -> 1.14.92 → https://git.io/vx8oR
tA63 has joined #nixos
<tA63> Trying to play with Home Manager, I have it writing my .config/bspwm/bspwmrc, and I have in my main configuration.nix the option set to have bspwm's config file set to that same file. but the changes arent taking affect
<tA63> What should I double check?
ZaraChimera has joined #nixos
ZaraChimera has left #nixos ["Counting Tribbles."]
<pxc> so I think I broke NixOS on one of my machines a little bit after a strange power event. Nix was broken, too (SQLite database corruption), but I fixed that. nixos-rebuild still doesn't work
sigmundv_ has joined #nixos
<pxc> nixos-rebuild is complaining about a 'Exec format error': https://pastebin.com/PTu2C0VW
<pxc> any ideas what that means?
<{^_^}> [nixpkgs] @taku0 opened pull request #37723 → thunderbird, thunderbird-bin: 52.6.0 -> 52.7.0 [Security fixes] → https://git.io/vxBuG
<pxc> maybe it's unrelated
schoppenhauer has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #nixos
<Dirt[m]> Anyone here have experience deploying to Google Cloud with nixops? Something weird with SSH keys is going on...
<Dirt[m]> I can use `nixops ssh` to connect, but if I do `nixops deploy` it complains that remote host identification has changed.
davidlt has joined #nixos
<Dirt[m]> It continues to complain about remote host ID even if I remove `~/.ssh/`, which doesn't make any sense to me.
<Dirt[m]> I believe my problem's related to https://github.com/NixOS/nixpkgs/issues/24273#issuecomment-290604096 , but it occurs both with and without the change present.
<Dirt[m]> (Woops, meant to link #33004)
pie_ has quit [Ping timeout: 276 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
fisher_f has joined #nixos
<fisher_f> Hi! I'm installing nixos using the tutorial that has "blogged" in the title. I've booted into nix on my computer and I can't run systemctl start display-manager
<fisher_f> Says: Unit display-manager.service not found.
<unlmtd> fisher_f (IRC): did you enable the x server?
<unlmtd> or is this the live cd?
<unlmtd> maybe you didnt get the graphical version
<fisher_f> I haven't enabled the x server
<fisher_f> It's not the live-usb
<fisher_f> I have setup the partitions, and booted correctly
<unlmtd> well then X isnt installed
<unlmtd> services.xserver.enable = true;
<unlmtd> rebuild
<Dirt[m]> You'll need to enable the X server and maybe pick a desktop/window manager, check out: https://nixos.org/nixos/manual/index.html#sec-x11
<unlmtd> you probaly want to pick a displayManager since slim is the default
<fisher_f> Where is the config file?
<unlmtd> rtm
<fisher_f> Right, the manual. Thanks!
<unlmtd> np
<{^_^}> [nixpkgs] @jwiegley merged pull request #37591 → coq: init at 8.8+beta1 → https://git.io/vxCyc
<{^_^}> [nixpkgs] @jwiegley pushed 2 commits to master: https://git.io/vxBzn
<{^_^}> → 6845b248 by @vbgl: coq: init at 8.8+beta1
<{^_^}> → bee17250 by @jwiegley: Merge pull request #37591 from vbgl/coq-88beta1
sigmundv_ has quit [Ping timeout: 240 seconds]
marusich has quit [Ping timeout: 245 seconds]
marusich has joined #nixos
<{^_^}> [nixpkgs] @shlevy opened pull request #37725 → linux_riscv: 4.16-rc2 -> 4.16-rc6. → https://git.io/vxBzr
blahdodo has quit [Read error: Connection reset by peer]
spear2 has joined #nixos
blahdodo has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to master « linux_riscv: 4.16-rc2 -> 4.16-rc6. »: https://git.io/vxBz5
tA63 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @shlevy merged pull request #37725 → linux_riscv: 4.16-rc2 -> 4.16-rc6. → https://git.io/vxBzr
<{^_^}> [nixpkgs] @shlevy pushed 162 commits to staging: https://git.io/vxBzp
<{^_^}> → 5fbf9dbf by @NeQuissimus: openldap: Fix test
<{^_^}> → 895b9967 by @Infinisil: weston: fix typo in configure flag
<{^_^}> → bd43449a by @ryantm: bareos: 15.2.4 -> 17.2.5
<{^_^}> [nixpkgs] @magnetophon opened pull request #37726 → yoshimi: 1.5.6 -> 1.5.7 → https://git.io/vxBgJ
hariel has quit [Ping timeout: 268 seconds]
blahdodo has quit [Quit: Bye bye]
endformationage has quit [Quit: WeeChat 1.9.1]
coconnor has quit [Remote host closed the connection]
blahdodo has joined #nixos
Lisanna has quit [Ping timeout: 240 seconds]
aarvar has quit [Ping timeout: 248 seconds]
blahdodo has quit [Client Quit]
phry has quit [Ping timeout: 246 seconds]
davidlt has quit [Ping timeout: 264 seconds]
blahdodo has joined #nixos
blahdodo has quit [Quit: Bye bye]
robstr has joined #nixos
orivej has joined #nixos
phry has joined #nixos
blahdodo has joined #nixos
fiddlerwoaroof has quit [Ping timeout: 276 seconds]
Lears has joined #nixos
<fisher_f> After changing my configuration (I added Firefox to system packages), and running nixos-install, do I have to reboot before the changes take effect?
woboats has quit [Ping timeout: 252 seconds]
woboats has joined #nixos
tA63 has joined #nixos
FRidh has joined #nixos
<Dirt[m]> In my experience you generally don't have to reboot. You should be able to launch firefox after a `nixos-rebuild switch`.
<Dirt[m]> I'm not entirely sure if your desktop environment would immediately detect a .desktop entry, though, but you could check if it worked by trying to launch firefox from shell.
xAFFE has joined #nixos
xAFFE has left #nixos ["Error from remote client"]
hariel has joined #nixos
blankhart has joined #nixos
Lears has quit [Remote host closed the connection]
Arcaelyx has joined #nixos
tA63 has quit [Ping timeout: 246 seconds]
jrolfs has joined #nixos
boomshroom-away has quit [Quit: WeeChat 2.0]
marusich has quit [Quit: Leaving]
jrolfs has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterromfeldhk opened pull request #37727 → nodePackages_8_x.swagger: init at 0.7.5 → https://git.io/vxBVK
jrolfs has joined #nixos
Lears has joined #nixos
<typetetris> How do I make pull requests for nixos, is it also https://github.com/NixOS/nixpkgs ?
<symphorien> Yes
<capisce> which package to install to get the "file" command?
<capisce> and is there a general way to search by command name to find which package to install?
chrios has quit [Ping timeout: 260 seconds]
chrios has joined #nixos
<symphorien> nix-index/nix-locate can do that
jrolfs has quit [Ping timeout: 265 seconds]
<capisce> symphorien: thanks, I'll try
<hyper_ch> unstable-small is blocked again and unstable is still blocked :(
jrolfs has joined #nixos
ashgillman has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
roberth has joined #nixos
asuryawanshi has joined #nixos
Lears has quit [Read error: Connection reset by peer]
ashgillman has quit [Ping timeout: 248 seconds]
ashgillman has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
ylwghst has joined #nixos
Wharncliffe has quit [Quit: Lost terminal]
ottidmes has joined #nixos
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 256 seconds]
roberth has quit [Quit: Leaving.]
asuryawanshi has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 264 seconds]
Synthetica has joined #nixos
ma27 has joined #nixos
jrolfs has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
jrolfs has quit [Ping timeout: 276 seconds]
coot has joined #nixos
<typetetris> What is the preferred why to download from gitlab.com ? fetchgit, fetchFromGithub, <something I don't know> ?
<{^_^}> [nixpkgs] @gebner merged pull request #36311 → qgis: 2.18.16 -> 2.18.17 → https://git.io/vAHiR
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxBoC
<{^_^}> → 4aaf23a6 by @lsix: qgis: 2.18.16 -> 2.18.17
<{^_^}> → 9eaefb20 by @gebner: Merge pull request #36311 from lsix/update_qgis
<etu[m]> typetetris: There's a fetchFromGitlab I think :)
<typetetris> It is really tiresome to search, as the support code is in the same tree structure as the call sites :( So I can't just grep for the definition ...
<{^_^}> [nixpkgs] @gebner merged pull request #37726 → yoshimi: 1.5.6 -> 1.5.7 → https://git.io/vxBgJ
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vxBo0
<{^_^}> → a712514b by @magnetophon: yoshimi: 1.5.6 -> 1.5.7
<{^_^}> → ada22a64 by @gebner: Merge pull request #37726 from magnetophon/yoshimi
ottidmes has quit [Quit: WeeChat 1.9.1]
<typetetris> etu[m]: thanks
<srk> typetetris: I'm often using git grep, for definitions git grep 'fetchFromGitlab ='
<srk> my favorite alias is gg='git grep -i' :)
<etu[m]> ripgrep aka rg <3
<etu[m]> such fast
<etu[m]> or something
<typetetris> srk: thanks, I am not so well versed with the nix syntax to come up with the pattern that easily.
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « memtier-benchmark: init at 1.2.11 »: https://git.io/vxBoK
seanparsons has quit [Read error: Connection reset by peer]
<srk> typetetris: https://learnxinyminutes.com/docs/nix/ is nice
iyzsong has joined #nixos
<benny> how is it determined how often an unstable release ISO is built? I see the stable is <24h old whereas the unstable release is 20 days old
<typetetris> How are those package setup hooks used? https://nixos.org/nixpkgs/manual/#ssec-setup-hooks I need the autoconf one, as the package I am dealing with, doesn't provide a configure script with the archive download from gitlab :(
<symphorien> !stuck
<symphorien> benny: ^
<typetetris> Already added `autoconf` to `buildInputs` but it doesn't seem to do it ..
<symphorien> typetetris: iirc it is called autoReconfHook
seanparsons has joined #nixos
<symphorien> And btw it is a nativeBuildInput
<typetetris> But how to use that?
<symphorien> Just put it in nativeBuildInputs
<benny> symphorien: ah, I guess I can use the minimal then or is at the current time unstable = 18.03?
<typetetris> did that, didn't produce a configure.sh
<symphorien> benny: never ever use nixpkgs-unstable or a *small version on nixos
<symphorien> The tests like "it still boots" are only on nixos-unstable
<symphorien> So you could lock yourself out on nixpkgs-unstable
<symphorien> benny: it is ./configure not configure.sh, is it ?
<symphorien> typetetris, sorty
<symphorien> *sorry
<benny> I'll try 18.03, that one had an ISO release since the last time I checked which is good
<symphorien> benny: if you click on the tests on unstable you can notice that installer tests failed earlier this week
<symphorien> For example
<{^_^}> [nixpkgs] @yegortimoshenko pushed to yegortimoshenko-patch-1 « krita: fix incorrect sha256 »: https://git.io/vxBKC
<typetetris> If I entered a nix-shell like `nix-shell -A <package-name> .` in a clone of nixpkgs, how can I take a look at the builder arguments?
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/vxBKW
<{^_^}> → 6a286fcb by @globin: python.pkgs.pygtail: init at 0.8.0
<{^_^}> → 2e6aacb0 by @globin: python.pkgs.logster: 7475c53822 -> 1.0.1
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #37728 → krita: fix incorrect sha256 → https://git.io/vxBK8
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-18.03: https://git.io/vxBK4
<{^_^}> → 4a34e749 by @globin: python.pkgs.pygtail: init at 0.8.0
<{^_^}> → 0058e51c by @globin: python.pkgs.logster: 7475c53822 -> 1.0.1
ilyaigpetrov has joined #nixos
<typetetris> ok `declare -f` seems helpful
<benny> symphorien: that overview is very nice
knupfer has joined #nixos
alex`` has joined #nixos
<typetetris> ahh, you put the autoreconfHook into nativeBuildInputs, not autoconf
<symphorien> yes sorry if it was not clear
vcunat has joined #nixos
asuryawanshi has joined #nixos
logzet has joined #nixos
<typetetris> argl, the package isn't usable with the autoreconfHook out of the box. It provides autogen.sh where it uses autoconf and the like ...., but that is insistent on being called in the src dir :(
<symphorien> can you cd to the correct directory before the hook is called ?
<symphorien> for example preConfigure = '' cd src; '';
hariel has quit [Ping timeout: 264 seconds]
hariel has joined #nixos
<typetetris> at least within the nix-shell, that is read-only ?
<symphorien> what do you mean ?
deepfire has quit [Ping timeout: 256 seconds]
<typetetris> I do `nix-shell -A <packagename> .` in a clone of nixpkgs, and do `unpackPhase; cd $src` -> puts me in a directory in the nix store. If I call `autoreconfHook` or `autogen.sh` I get read-only errors ...
thefloweringash has quit [Ping timeout: 246 seconds]
ndrei has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/vxB6v
<{^_^}> → 304e3a0b by @gebner: Merge remote-tracking branch 'nixos/master' into auto-update/mdds
<{^_^}> → d8525917 by @ryantm: mdds: 1.2.2 -> 1.3.1
<{^_^}> → 856159fe by @gebner: Merge branch 'auto-update/mdds'
<{^_^}> [nixpkgs] @gebner closed pull request #37675 → mdds: 1.2.2 -> 1.3.1 → https://git.io/vx8cn
dbe has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/vxB6s
<{^_^}> → ba70ba82 by @taku0: thunderbird-bin: 52.6.0 -> 52.7.0
<{^_^}> → d0489107 by @taku0: thunderbird: 52.6.0 -> 52.7.0
<{^_^}> → 56fb68dc by @vcunat: Merge #37724:thunderbird*: 52.6.0 -> 52.7.0 (security)
<typetetris> ahh, unpackPhase places the sources in a subdirectory of my cwd, called source ....
<symphorien> normally it automatically cd the root directory of the archive
<{^_^}> [nixpkgs] @gebner merged pull request #37723 → thunderbird, thunderbird-bin: 52.6.0 -> 52.7.0 [Security fixes] → https://git.io/vxBuG
<typetetris> yeah, I didn't get that. So `nix-build` does that in some temporary directory I guess .
<typetetris> Is there a small writeup, which tools works where and what the nixpkgs standard tools do?
<symphorien> not sure
<symphorien> if you pkg compiles quickly, only using nix-build might be less error prone
<symphorien> for example you can easily try the install phase in nix-shell
<typetetris> hmm, so If I call autogen.sh it brings up the same errors as autoreconfHook, `AC_MSG_ERROR` possibly undefinded or some such .. maybe I missed some nativeBuildInput? ACLOCAL_PATH does contain paths with automake and so.
<symphorien> sorry no idea. I don't know how autoconf works
<typetetris> ok, needed to add pkgconfig to nativeBuildInputs, that https://stackoverflow.com/questions/28570244/as-if-and-ac-msg-error-error-possibly-undefined-macro was helpful.
ylwghst has quit [Remote host closed the connection]
hotfuzz has joined #nixos
hotfuzz_ has quit [Ping timeout: 240 seconds]
thefloweringash has joined #nixos
<typetetris> If I use fetchFromGitLab do I still have to provide meta.homepage ? (I see in the source of fetchFromGitLab, that it does something with meta.homepage, but I don't get, how it could possibly alter an attribute of a set, where it is just a value expression to the key "src".)
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #37724:thunderbird*: 52.6.0 -> 52.7.0 (security) »: https://git.io/vxBii
alex`` has quit [Ping timeout: 240 seconds]
<symphorien> you can test: don't set meta.homepage, then at the root of you nixpkgs checkout: nix-repl . , in the prompt : thepackage.meta.homepage
<symphorien> if the attribute exists then it has been set by fetchFromGitLab
thefloweringash has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/vxBPn
<{^_^}> → 8a244db9 by @globin: libsForQt5.qtspeech: enable
<{^_^}> → 1b27260a by @globin: qgroundcontrol: 3.2.7 -> 3.3.0
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-18.03: https://git.io/vxBPW
<{^_^}> → f4770f20 by @globin: qgroundcontrol: 3.2.7 -> 3.3.0
<{^_^}> → 1febd196 by @globin: libsForQt5.qtspeech: enable
<typetetris> symphorien: thanks
<typetetris> How can I garbage collect just a certain path in the nix store?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/34087d0dec1 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<symphorien> nix-store --delete path
<symphorien> --force is unadvisable
<typetetris> thanks
<typetetris> fetchFromGitLab doesn't set meta.homepage in the package derivation, as I expected ... perhaps it is just the meta.homepage of the src derivation it fiddles with.
<{^_^}> [nixpkgs] @vcunat pushed to release-17.09 « Merge #37723:thunderbird*: 52.6.0 -> 52.7.0 (security) »: https://git.io/vxBPg
<symphorien> makes sense
<symphorien> you can check with : "thepackage.src.meta.homepage
<symphorien> "
<typetetris> yep.
<typetetris> fits
thc202 has joined #nixos
<typetetris> setting `nix.useSandbox = true;` in `/etc/nixos/configuration.nix` will affect, what I do as normal user with `nix-build` ?
<vcunat> typetetris: yes, it affects the daemon, and typical setup is that regular users build through the daemon.
<vcunat> (unpriviledged users have no other option anyway, as they can't directly write to nix store)
davidlt has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
chisui has joined #nixos
b has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to staging « qemu-riscv: Don't apply already-applied glibc-2.27 patch »: https://git.io/vxBXz
alex`` has joined #nixos
sigmundv_ has joined #nixos
krey has joined #nixos
ryanartecona has joined #nixos
vaninwagen has joined #nixos
TonyTheLion has joined #nixos
<TonyTheLion> hi! How do I find an installed package in the nix-store again?
<TonyTheLion> I want the path in the nix-store to the package
<krey> TonyTheLion: is there something from the package in your path?
ryanartecona has quit [Ping timeout: 240 seconds]
<TonyTheLion> yes
<krey> readlink `which firefox`
<krey> etc.
thefloweringash has joined #nixos
xcmw has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed to staging « meson: Patch around overly strict struct size check. »: https://git.io/vxB1q
<TonyTheLion> krey: and what if it is a library?
<TonyTheLion> and its not in my path
<typetetris> How can I get nox-review to work on some commits I made? Do I have to do a `git reset --mixed HEAD^^` ?
shapr has quit [Ping timeout: 276 seconds]
lpsmith has quit [Quit: ZNC 1.6.5 - http://znc.in]
lpsmith has joined #nixos
himmAllRight has quit [Remote host closed the connection]
alphor has quit [Ping timeout: 256 seconds]
cross has quit [Ping timeout: 256 seconds]
cross has joined #nixos
coot has quit [Quit: coot]
shapr has joined #nixos
shapr is now known as Guest65698
himmAllRight has joined #nixos
alphor has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/ba2a04f656d (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f4770f20306 (from 47 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Armael has joined #nixos
sigmundv_ has quit [Ping timeout: 264 seconds]
<typetetris> :( `nox-review` doesn't work, cause `pkgs/tools/misc/colord/default.nix` contains garbage at my current checkout which is from today, can anyone help?
<typetetris> didn't change that file .
<{^_^}> [nixpkgs] @vcunat closed pull request #31644 → [WIP] amdgpu-pro: 17.10 -> 17.40 → https://git.io/vFKdY
<gchristensen> typetetris: does `git status` show anything changged about that file?
<{^_^}> [nixpkgs] @TomSmeets opened pull request #37730 → Add a derefPath function that copies a path to the store → https://git.io/vxB1H
<typetetris> nope.
<Armael> I want to add a slightly complex shell as a cron job; how can I do that? Is there a way of dumping some text from configuration.nix to a shell script somewhere, then referencing it?
<typetetris> I changed `maintainers/maintainer-list.nix` does that make nox-review rebuild everything?
<gchristensen> ^ example
<Armael> awesome, thanks
<{^_^}> [nixpkgs] @vcunat pushed commit from @matthewbauer to release-18.03 « Merge #33685: amdgpu-pro: 17.10 -> 17.40 »: https://git.io/vxB1j
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Armael> gchristensen: out of curiosity, where is writeScript's implementation?
<gchristensen> Armael: https://search.nix.gsc.io/?q=writeScript %3D
<gchristensen> ...
<gchristensen> seems my browser is copy-pasting URLs wrong? https://search.nix.gsc.io/?q=writeScript%20%3D
<Armael> :D thanks
<phry> I'm just debugging something in home-manager... I have a config option of type.loaOf that I'm passing an array. They are calling builtins.attrValues on that. That seems to reorder the list in some way. Can you tell me what the right method would be for it NOT to reorder the list?
<phry> (for reference: https://github.com/rycee/home-manager/blob/master/modules/programs/ssh.nix - the string generation at the bottom messes up the order)
<phry> (and they are calling builtins.attrValues on it as it COULD be an attrSet and not a list in some configurations)
<gchristensen> typetetris: it is Nix2 feature :( should probably not be using that alreeady :/
<typetetris> Okay, so I have to upgrade my nix in my nixos box, how do I do that?
<rycee> phry: Assigning a list to matchBlocks should make it honor the order.
<phry> rycee: unfortunately, it doesnt :/
davidlt has quit [Ping timeout: 268 seconds]
<typetetris> yeah, placeholders are already all over the place :(
<phry> rycee: I am passing a list and it completele messes with the order
<gchristensen> typetetris: try `nix-shell -p nixStable2` then run nox review in there
<typetetris> ok
slyfox_ has joined #nixos
<rycee> phry: Hmm, odd. Can you see which attribute names the module system gives the entries?
<rycee> I get
<rycee> nix-repl> builtins.attrNames hmConfig.config.programs.ssh.matchBlocks
<rycee> [ "unnamed-1.1" "unnamed-1.2" "unnamed-1.3" "unnamed-1.4" "unnamed-1.5" "unnamed-1.6" "unnamed-1.7" ]
<rycee> And the numbering should make the ordering the same as in the original list.
slyfox has quit [Ping timeout: 264 seconds]
ottidmes has joined #nixos
<phry> rycee: I'd like to reproduce that, but how did you get the hmConfig variable?
alex`` has quit [Ping timeout: 276 seconds]
<rycee> phry: Sorry. Something like `hmConfig = import [path to home manager]/modules { configuration = import [path to home.nix]; pkgs = import <nixpkgs> {}; }` should work.
<rycee> In nix-repl.
<phry> ah, thx
logzet has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 264 seconds]
ashgillman has quit [Ping timeout: 248 seconds]
blankhart has quit [Ping timeout: 240 seconds]
<typetetris> gchristensen: There is no nixStable2 mentioned in the actual master of nixpkgs. My boxes (out of date) channels don't know about it either.
<gchristensen> how about nixUnstable
nallar has joined #nixos
<phry> rycee: nix-repl> builtins.attrNames hmConfig.config.programs.ssh.matchBlocks
<phry> [ "unnamed-1.1" "unnamed-1.10" "unnamed-1.11" "unnamed-1.12" "unnamed-1.13" "unnamed-1.14" "unnamed-1.15" "unnamed-1.2" "unnamed-1.3" "unnamed-1.4" "unnamed-1.5" "unnamed-1.6" "unnamed-1.7" "unnamed-1.8" "unnamed-1.9" ]
<rycee> phry: And you can run `lib.mapAttrs (n: v: v.host) hmConfig.config.programs.ssh.matchBlocks` to check which attribute name correspond with which host.
John882 has joined #nixos
Ross has quit [Ping timeout: 264 seconds]
nallar is now known as Ross
<phry> rycee: I think that explains it... :/
<phry> rycee: any idea to prevent that?
<typetetris> still downloading, already trying that, but have to wait a bit, bad internet here.
<rycee> Ah, exciting :-)
<phry> xD
<phry> at least it explains the seemingly ordered unordered order I was getting ^^
<rycee> I think that'll need to be fixed in the module library. Seems like unintended behavior.
<phry> so I found a nix bug? exciting indeed
raynold has quit [Quit: Connection closed for inactivity]
<typetetris> gchristensen: ok, now it is running.
<typetetris> Can someone help me, how I can get nix 2 on a 17.09 nixos box? Or is it discouraged?
<rycee> phry: I think so but I might have completely misunderstood the use of loaOf. I'm checking in #nixos-dev :-)
<typetetris> Ok, got "too many heap sections: .." now.
<phry> rycee: okay, please keep me in the loop if you learn something new.
jophish_ has joined #nixos
GiGa|Laptop has joined #nixos
jophish_ is now known as Guest73894
<phry> rycee: should I open an issue with the home-manager github repo on this?
GiGa|Laptop is now known as GiGa|Laptop^
<phry> for documentation
<GiGa|Laptop^> hello
<GiGa|Laptop^> trying to do a "nixos-rebuild switch --upgrade" but just get told "warning: unknown setting 'signed-binary-caches'"
<GiGa|Laptop^> I've been away for 2 weeks so I'
<rycee> phry: Yeah, please do. I'll probably in turn open a ticket on Nixpkgs but its good to keep track of :-)
<GiGa|Laptop^> *I've not changed the config...
<GiGa|Laptop^> any ideas please?
<GiGa|Laptop^> (I'm on unstable{
<GiGa|Laptop^> })
<{^_^}> [nixpkgs] @shlevy pushed to master « riscv-pk: Set platforms properly »: https://git.io/vxByT
<{^_^}> [nixpkgs] @shlevy pushed 17 commits to staging: https://git.io/vxByI
<{^_^}> → 4aaf23a6 by @lsix: qgis: 2.18.16 -> 2.18.17
<{^_^}> → d8525917 by @ryantm: mdds: 1.2.2 -> 1.3.1
<{^_^}> → 304e3a0b by @gebner: Merge remote-tracking branch 'nixos/master' into auto-update/mdds
<phry> GiGa|Laptop^: I'll chime in on your question, I've been seing the same behaviour on my box.
<typetetris> GiGa|Laptop^: Which file of your config contains the string 'signed-binary-caches' ?
<GiGa|Laptop^> phry, Interestingly, if I trigger from Gnome terminal in an X environment it's doing something
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/950de99eff2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<ndrei> GiGa|Laptop^: I goes away once you upgrade to unstable and the nix-daemon restarts
<GiGa|Laptop^> typetetris: None of the files do
<ottidmes> GiGa|Laptop^: You should be able to safely ignore it, or you could set nix.requireSignedBinaryCaches = false; but be careful, you are very unlikely to want to have that in the long run, since in 18.03 this setting will result in the new setting, require-sigs, to be said to false!
<ndrei> I mean, once the the new version of the nix installs (2.0)
slyfox_ is now known as slyfox
<GiGa|Laptop^> ndrei: OK, that's reassuring. Just never noticed it do that before
<ndrei> Yeah it's related to nix 2.0, don't know the details, but a succesful upgrade solved it for me
<GiGa|Laptop^> OK, thanks all.
<GiGa|Laptop^> I'll leave this upgrade running inside my X env. Almost always a bad idea as X gets killed at somepoint in my experience.
<GiGa|Laptop^> Just off to unpack
<typetetris> GiGa|Laptop^: always use tmux or screen
<ndrei> hmm, not for me, although I'm not using a DE and perhaps you do, I always upgrade from X, never had any issues
Rusty1_ has joined #nixos
patrl has joined #nixos
<patrl> hi all. I'm currently in the process of trying to package beaker browser (https://beakerbrowser.com/, src: https://github.com/beakerbrowser/beaker), which uses npm
<patrl> I've managed to get reasonably far just with node2nix, but nix-build fails at the npm install stage
<patrl> I keep getting 404 Not found errors for random node packages, different ones each time I try to build
<patrl> anyone have any experience building with npm on nix? any tips?
<{^_^}> [nixpkgs] @typetetris opened pull request #37731 → procps-ng: updated project location → https://git.io/vxByV
<phry> patrl: you should not call npm install yourself. within the derivation, you have no internet connection. node2nix should do all the downloading for you and you should assume everything is already installed from there on
<phry> oh rycee, I've got another one for you before I forget it xD
<phry> when I use zsh with home-manager, I cannot use nix-replo before seting NIX_REMOTE=daemon manually. am I missing a point or is that material for another github issue? ^^
<phry> *nix-repl
<GiGa|Laptop^> typetetris: Good point!
<patrl> @phry thanks. I'm not calling npm directly - the fact that npm is trying to install packages means that the generated node-env.nix file doesn't specify all the dependencies I guess :(
<phry> patrl: as far as I know there are many problems with post-install scripts in npm packages that try to download additional stuff. but I don't know much more about that, sorry.
GiGa|Laptop^ has quit [Quit: Leaving]
<phry> fpletz: are you here right now and could potentially give some advice on node2nix to patrl?
<typetetris> GiGa|Laptop^: as reasoning: even if screen or tmux get upgraded, the user environment you are using, shouldn't be upgraded, only because you upgrade the system, so the old screen/tmux should stick around and even if your client crashes, this user still has the old version of the client arount, able to connect to the old tmux/screen server which is hopefully still running.
<patrl> @phry no worries, thanks anyways!
<rycee> phry: Hmm, I can't help much with zsh but I assume NIX_REMOTE is something that should be set by the system zsh configuration.
<phry> rycee: if I'm not using home-manager, it is.
gchristensen has left #nixos ["WeeChat 1.9.1"]
gchristensen has joined #nixos
<rycee> infinisil: Maybe you know how the NIX_REMOTE variable is set in zsh on hm?
<{^_^}> [nixpkgs] @globin pushed to master « jsduck: fix build »: https://git.io/vxByN
<typetetris> does nixos 18.03 contain nix version 2 ?
<{^_^}> [nixpkgs] @globin pushed to release-18.03 « jsduck: fix build »: https://git.io/vxByj
<rycee> phry: Hmm again. I think there is something screwy going on with the zsh configuration on NixOS but I've never actually gone to the bottom of it ( mainly since it doesn't affect me as bash user ;-) ).
<rycee> phry: Your issue might be related to https://github.com/NixOS/nixpkgs/issues/33219?
<rycee> phry: But with NIX_REMOTE I'm not certain. Seems like something that still would be set.
<phry> rycee: I don't think that issue relates to me. I've been using zsh as my default shell (with users.extraUsers.phry.shell = "/run/current-system/sw/bin/zsh" ) for about a year now. just getting problems since I changed to home-manager
<phry> rycee: so I guess home-manager doesn't load some /etc/profile-like file that it usually should load
<rycee> phry: Maybe. Though I would guess, that it works a bit like Bash in that ideally you shouldn't have to source any system configuration from your user configuration.
<phry> rycee: usually not. I guess I'll do some digging :)
<rycee> phry: Please open a ticket for it and cc infinisil and uvNikita, maybe they have some better insight than my uninformed ramblings :-)
davidlt has joined #nixos
<{^_^}> [nixpkgs] @LnL7 pushed to master « qscreenshot: fix darwin build »: https://git.io/vxB9c
<phry> rycee: will do :)
<{^_^}> [nixpkgs] @LnL7 pushed to release-18.03 « qscreenshot: fix darwin build »: https://git.io/vxB90
Guest65698 is now known as shapr
shapr has quit [Changing host]
shapr has joined #nixos
<{^_^}> [nixpkgs] @nbp merged pull request #37694 → CODEOWNERS: Add Profpatsch to /lib/generators.nix → https://git.io/vx8bF
<{^_^}> [nixpkgs] @nbp pushed commit from @Profpatsch to master « CODEOWNERS: Add Profpatsch to /lib/generators.nix »: https://git.io/vxB9y
Neo-- has joined #nixos
orbekk has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
MP2E has quit [Remote host closed the connection]
asuryawanshi has quit [Remote host closed the connection]
ndrei` has joined #nixos
nschoe has joined #nixos
acarrico has joined #nixos
coot has joined #nixos
ndrei has quit [Quit: WeeChat 2.0]
nschoe has quit [Client Quit]
humanoyd has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to staging: https://git.io/vxBHu
<{^_^}> → 67b23ee0 by @typetetris: procps-ng: updated project location
<{^_^}> → 59a9165b by @typetetris: procps-ng: took maintainership
<{^_^}> → 38d6699a by @vcunat: Merge #37731: procps-ng: update project location
<{^_^}> [nixpkgs] @vcunat merged pull request #37731 → procps-ng: updated project location → https://git.io/vxByV
patrl has quit [Quit: WeeChat 1.9.1]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2a57fc65b0f (from 32 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<TonyTheLion> does nix have 'librt'?
<TonyTheLion> poix realtime extensions
<TonyTheLion> posix*
davidlt has quit [Ping timeout: 260 seconds]
blankhart has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vxBHM
<{^_^}> → 788ed0e6 by @xeji: snabb: 2016.04 -> 2018.01.2
polytux has joined #nixos
<{^_^}> → 7110d4a6 by @vcunat: Merge #37262: snabb: 2016.04 -> 2018.01.2
<vcunat> TonyTheLion: yes, it's a part of glibc.
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #37262: snabb: 2016.04 -> 2018.01.2 »: https://git.io/vxBHH
<polytux> the best part with logging in to IRC and starting to ask the question is that I normally figure out the issue when asking the question, so thanks for the help! :D
<{^_^}> [nixpkgs] @dezgeg pushed to master « U-Boot: Disable parallel build »: https://git.io/vxBHx
<{^_^}> [nixpkgs] @vcunat merged pull request #37262 → snabb: 2016.04 -> 2018.01.2 → https://git.io/vxO3d
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/vxBQe
<{^_^}> → abc0bf28 by @xeji: telepathy-gabble: fix source URL
<{^_^}> → 902b3a16 by @vcunat: Merge #37702: telepathy-gabble: fix source URL
hariel has quit [Remote host closed the connection]
hariel has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to unstable-aarch64: https://git.io/vxBQU
<{^_^}> → 3131daac by @dezgeg: nixos/tests/installer: Give eval failure on unsupported boot methods
<{^_^}> → a6425fc6 by @dezgeg: ghc: Disable on AArch64
<{^_^}> [nixpkgs] @vcunat merged pull request #37702 → telepathy-gabble: fix source URL → https://git.io/vx4Bh
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @vcunat pushed to release-17.09 « Merge #37702: telepathy-gabble: fix source URL »: https://git.io/vxBQs
John882 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « Merge #37702: telepathy-gabble: fix source URL »: https://git.io/vxBQZ
davidlt has joined #nixos
John882 has joined #nixos
andi- has quit [Ping timeout: 265 seconds]
<gchristensen> it would be cool to have a patched make which can use a shell.nix for its build tools
srjek|home has joined #nixos
<vcunat> I normally run make inside the nix-shell
patrl has joined #nixos
<gchristensen> yeath
<joepie91> polytux: IRC is a great rubberduck :)
andi- has joined #nixos
<polytux> yes :)
ndrei` has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
hamishmack has quit [Read error: Connection reset by peer]
hamishmack has joined #nixos
Guest73894 has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9a8344a7a72 (from 31 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
ndrei has joined #nixos
ndrei has quit [Remote host closed the connection]
ndrei has joined #nixos
acarrico has joined #nixos
ndrei has quit [Read error: Connection reset by peer]
<fearlessKim[m]> how can I search for a substring with nix ?
asuryawanshi has joined #nixos
vaninwagen has quit [Quit: Connection closed for inactivity]
aarvar has joined #nixos
chisui has quit [Ping timeout: 260 seconds]
<ottidmes> fearlessKim[m]: Nix should really have a richer string library, but maybe builtins.match work for you (it does have to match the whole string though)
ndrei has joined #nixos
<ottidmes> I does one change the metric of a network interface? I know I can do it with tools like `ip`, but is there some existing way to configure this? I looked at the options page, but could only find a metric for the default gateway
ndrei has quit [Remote host closed the connection]
<fearlessKim[m]> ottidmes: ty
ndrei has joined #nixos
ndrei has quit [Remote host closed the connection]
ndrei has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
ndrei has quit [Remote host closed the connection]
ndrei has joined #nixos
timon37 has joined #nixos
vidbina has joined #nixos
goibhniu has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<thblt> I may be tired, but I can't find the way to run a nix-shell from a different nixpkgs than the system-wide one (context: my program requires CMake >= 3.9; NixOS 17.09 comes with 3.8).
<vidbina> I just noticed nixos-18.03-small is trailing nixos-18.03... shouldn't nixos-18.03-small be ahead? Or do I misunderstand the idea behind the -small branches?
<vcunat> vidbina: technically there's nothing preventing the situation
<vcunat> though it happens rarely, I believe
<vcunat> They are implemented basically as independent channels.
davidlt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed 4 commits to release-18.03: https://git.io/vxBdw
<{^_^}> → 75276115 by @dezgeg: OVMF: Reformat a bit for readability
<{^_^}> → 7a79af0b by @dezgeg: edk2: Reformat a bit for readability
<{^_^}> → ad57d1ec by @dezgeg: edk2, OVMF: Build on aarch64
<vidbina> vcunat: so it's not that changes are merged into x-small first and then only merged from x-small into x?... workflow-wise?
Ariakenom has joined #nixos
fiddlerwoaroof has joined #nixos
<vcunat> vidbina: it's the same git branch
<vcunat> that's not it
<vcunat> the jobsets on Hydra that control when channels bump are independent for the two
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<vcunat> so it isn't guaranteed that all commits that get evaluated on the big one get also evaluated on the small one
<vcunat> or that some transient errors temporarily block one of them
nuncanada has joined #nixos
fisher_f has left #nixos ["liteIRC for Android"]
ndrei has quit [Remote host closed the connection]
ndrei has joined #nixos
ndrei has left #nixos [#nixos]
<vidbina> vcunat: ahhhh... thanks for clarifying. Where can I read more about the Hydra jobsets? I only read the section about the stable/unstable/small channels in the NixOS manual (ch 4) but that doesn't mentioned how these channels are managed.
ma27 has quit [Ping timeout: 240 seconds]
ndrei has joined #nixos
erictapen has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @sephalon opened pull request #37732 → pcsc-scm-scl011: init at 2.09 → https://git.io/vxBFn
<aminechikhaoui> thblt: you could just do nix-shell -I nixpkgs=/path/to/local/nixpkgs
ndrei has quit [Remote host closed the connection]
<thblt> aminechikhaoui: thanks!
ndrei has joined #nixos
acarrico has quit [Ping timeout: 276 seconds]
maximiliantagher has joined #nixos
goibhniu has quit [Ping timeout: 246 seconds]
ndrei has quit [Remote host closed the connection]
<yorick> catern: package zulip for nix?
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/vxBbe
<{^_^}> → 3131daac by @dezgeg: nixos/tests/installer: Give eval failure on unsupported boot methods
<{^_^}> → a6425fc6 by @dezgeg: ghc: Disable on AArch64
abathur has joined #nixos
jrolfs has joined #nixos
ndrei has joined #nixos
xcmw has joined #nixos
maximiliantagher has quit [Ping timeout: 256 seconds]
ndrei has quit [Remote host closed the connection]
fendor has joined #nixos
ndrei has joined #nixos
<polytux> I have a few services in a container, but they are complaining that no timezone is set which seems to be correct when checking with timedatectl. I've added the normal timezone configuration to the container definition, but it still isn't set after rebuilding. anyone else using containers who've seen (and solved) this issue?
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
<vcunat> vidbina: some description of the process is at https://howoldis.herokuapp.com/
<vcunat> and Graham charts past updates at https://channels.nix.gsc.io/graph.html
maximiliantagher has joined #nixos
coconnor has joined #nixos
davidlt has joined #nixos
ndrei has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 264 seconds]
jrolfs has quit [Ping timeout: 263 seconds]
ma27 has joined #nixos
ndrei has joined #nixos
ndrei has quit [Remote host closed the connection]
iyzsong has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/vxBNC
<{^_^}> → 204a0291 by @fpletz: openra: 20180218 -> 20180307
<{^_^}> → 8df9cf58 by @fpletz: browserpass: 2.0.13 -> 2.0.17
ndrei has joined #nixos
ndrei has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to release-18.03: https://git.io/vxBN6
<{^_^}> → 86508d4e by @tadfisher: browserpass: 2.0.11 -> 2.0.13
<{^_^}> → 4e67f897 by @fpletz: browserpass: 2.0.13 -> 2.0.17
<{^_^}> → 15e3aad1 by @fpletz: openra: 20180218 -> 20180307
ndrei has joined #nixos
Asmadeus has joined #nixos
jrolfs has joined #nixos
ndrei has quit [Remote host closed the connection]
ndrei has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
leat has joined #nixos
maximiliantagher has joined #nixos
vidbina has quit [Remote host closed the connection]
b has quit [Quit: Lost terminal]
davidlt has quit [Ping timeout: 276 seconds]
alex`` has joined #nixos
knupfer has joined #nixos
patrl has quit [Ping timeout: 276 seconds]
maximiliantagher has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #37713 → docker: 18.02 -> 18.03 → https://git.io/vxBTw
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vxBA2
<{^_^}> → b072dcff by @NeQuissimus: docker: 18.02 -> 18.03
<{^_^}> → 62b35077 by @NeQuissimus: Merge pull request #37713 from NeQuissimus/docker_18_03
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « docker: 18.02 -> 18.03 »: https://git.io/vxBAK
leothrix has quit [Ping timeout: 240 seconds]
ndrei has quit [Read error: Connection reset by peer]
alex`` has quit [Ping timeout: 240 seconds]
ndrei has joined #nixos
aarvar has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to release-18.03: https://git.io/vxBAS
<{^_^}> → be44525d by @dezgeg: nixos/tests/installer: Give eval failure on unsupported boot methods
<{^_^}> → e789f6f6 by @dezgeg: ghc: Disable on AArch64
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @wmertens pushed to acme-fix « acme module: update for simp_le v0.8 »: https://git.io/vxBxU
<{^_^}> [nixpkgs] @wmertens opened pull request #37733 → acme module: update for simp_le v0.8 → https://git.io/vxBxT
jrolfs has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
joelpet has quit [Ping timeout: 265 seconds]
pSub has quit [Remote host closed the connection]
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
jrolfs has joined #nixos
alex`` has joined #nixos
ndrei has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rycee opened pull request #37734 → lib.types: fix loaOf behavior of long lists and many merges → https://git.io/vxBxW
ndrei has joined #nixos
<{^_^}> [nixpkgs] @wmertens merged pull request #37733 → acme module: update for simp_le v0.8 → https://git.io/vxBxT
<{^_^}> [nixpkgs] @wmertens pushed 2 commits to master: https://git.io/vxBx4
<{^_^}> → 527e97f3 by @wmertens: acme module: update for simp_le v0.8
<{^_^}> → ea145b68 by @wmertens: Merge pull request #37733 from NixOS/acme-fix
<{^_^}> [nixpkgs] @wmertens pushed 0 commits to acme-fix: https://git.io/vxBxR
lambdamu has joined #nixos
leat has quit [Ping timeout: 240 seconds]
robstr has quit [Quit: WeeChat 1.9.1]
davidlt has joined #nixos
blankhart has quit [Ping timeout: 260 seconds]
leat has joined #nixos
leat has quit [Ping timeout: 265 seconds]
paraseba has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
maximiliantagher has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
davidlt has quit [Ping timeout: 276 seconds]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @knedlsepp opened pull request #37735 → libcdio-paranoia: fix darwin build → https://git.io/vxBp0
ndrei has quit [Remote host closed the connection]
ma27 has quit [Ping timeout: 246 seconds]
ndrei has joined #nixos
<ndrei> :q
<ndrei> sorry about that :)
<{^_^}> [nixpkgs] @volth opened pull request #37736 → babelstone-han: 10.0.2 -> 11.0.0 → https://git.io/vxBp5
ndrei has left #nixos [#nixos]
Judson has joined #nixos
hariel has quit [Ping timeout: 264 seconds]
Judson is now known as Guest87673
ma27 has joined #nixos
<{^_^}> [nixpkgs] @BjornMelgaard opened pull request #37737 → safeeyes: init at 2.0.2 → https://git.io/vxBhJ
asuryawanshi has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 240 seconds]
templis has quit [Read error: Connection reset by peer]
leat has joined #nixos
boomshroom has joined #nixos
<boomshroom> Hello!
<boomshroom> I'm trying to build the RedoxOS toolchain and binutils is complaining that the target has too many arguments. Is it possible for me to override the default target parameter?
ndrei has joined #nixos
chessai has joined #nixos
polytux has quit [Ping timeout: 260 seconds]
ndrei has quit [Remote host closed the connection]
CrazedProgrammer has quit [Ping timeout: 246 seconds]
ndrei has joined #nixos
Myrl-saki has quit [Ping timeout: 240 seconds]
argo has quit [Ping timeout: 265 seconds]
<Guest87673> Does anyone have pointers about producing a reproduction (or something...) for Nix 2 problems
Guest87673 is now known as judson
<judson> That's me with Nix 2 woes
<judson> I've reported an issue on the repo. The most attention it got was Eelco saying "I can't reproduce this"
<judson> Which isn't surprising: with whatever is peculiar to my machine (and at least one other), the symptom is "can't install anything"
ndrei has quit [Read error: Connection reset by peer]
ndrei has joined #nixos
joelpet has joined #nixos
<ottidmes> judson: More info is needed, could you post the results of nix-info?
ndrei has quit [Remote host closed the connection]
<ottidmes> judson: And could you post a link to the issue?
ndrei has joined #nixos
<vcunat> there's probably something special installed in your nix-env
<vcunat> (at least that was my feeling)
alex`` has quit [Quit: WeeChat 2.0.1]
<boomshroom> Does Nix not support newlib as a libc?
leothrix has joined #nixos
<judson> nix-info is sort of what I need - I'm not at that machine at the moment. Will be momentarily on Sunday and I'll attach the issue there.
alex`` has joined #nixos
<judson> ottidmes: the issue is https://github.com/NixOS/nix/issues/1934
<judson> vcunet: I don't think it's too special? It's a nixos stable install, and then I have nixpkgs unstable for one-offs etc.
<LnL> judson: firstly that warning means you're using a combination of 2.0 and 1.11
<ottidmes> judson: You have to uninstall nix 2.0 with nix 1.11.x
ndrei has quit [Remote host closed the connection]
<LnL> judson: /run/current-system/sw/bin/nix-env -u nix
ndrei has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e789f6f6e54 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<judson> LnL: won't be useful, as the affected system is not the one I'm on at the moment.
<etu[m]> Nooo, my kodi-ffmpeg on my rasperry pi doesn't hit the binary cache :(
<judson> ottidmes: I have uninstalled 2 with 1.11.
<etu[m]> So slow
<judson> Can the two versions not co-exist? There was an exhortation to install it and try it out in the talk...
<ottidmes> judson: So if you check the version of nix-daemon, does it report 1.11 now?
<judson> I'll bet it would, since I installed nix 2 with nix-env in my normal user account.
<ottidmes> judson: No, the nix is forward compatible with regards to the data, but not the processes, so nix-daemon 1.11 cannot work with nix 2.0
zybell_ has quit [Ping timeout: 264 seconds]
<judson> Okay. So it's not a casual change to make. But it soundn't be a concern if I upgrade to 18.03, since then it'll be all Nix 2 all the time.
<ottidmes> judson: Yeah, you would need to upgrade everything to 2.0 or stay at 1.11, mixing causes problems
<ottidmes> judson: But don't update to 18.03 just yet, wait for the official release, otherwise you are guaranteed to run into yet other problems (there are still a few serious issues that need fixing)
<judson> That sets my mind at ease. The talk that Eelco gave at NixCon(?) suggested that it was a thing you could just try out.
<judson> Oh, I'm happy to wait for the official release. I just didn't want to brick my system when it happened.
ma27 has quit [Ping timeout: 246 seconds]
<ottidmes> judson: You can, if you were just running Nix (not NixOS), you could safely upgrade to 2.0, and if you run NixOS, you should have upgraded via nix.package = ...;
<judson> Right, that makes sense.
<ottidmes> judson: So it should be easy enough to fix, just purge your custom nix installs from all your nix-env's and keep at 1.11 or upgrade to 2.0, I believe the latest 17.09 version has pkgs.nixStable2 that you could use for nix.package
<judson> Still a great deal more stable than e.g. updating python on Gentoo :)
<judson> That might be cool.
<judson> I'll want to do that after a clean reboot, so that Nix2 is an isolated change I think.
kp__ has joined #nixos
<judson> I've also noticed some weirdness in the output - looks like just terminal glitching.
<ottidmes> judson: That is caused by the version mismatch of the processes
<ottidmes> judson: Older nix-daemon with newer other nix(os) binaries
ma27 has joined #nixos
<judson> Now I'm all excited to get home and try it out. I suppose I could switch on my travel machine now...
<{^_^}> [nixpkgs] @knedlsepp opened pull request #37738 → glyr: enable darwin build → https://git.io/vxRet
paraseba has joined #nixos
ndrei has quit [Remote host closed the connection]
ndrei has joined #nixos
zybell_ has joined #nixos
<lejonet> Anyone here that have setup opencl env on nixos? Can't really find how to do that
johnw has joined #nixos
Myrl-saki has joined #nixos
abrar has quit [Quit: WeeChat 2.0]
<ottidmes> I thought I could use avahi to resolve the hosts in my LAN by name, is there even such a thing? `avahi-browse -a` gives me only my local machine, printer, and chromecast. Currently I just use static IPs as much as possible and store them as part of my NixOS configuration, so I can generate a hosts file, ssh config, etc.
jmc_fr has joined #nixos
abrar has joined #nixos
hotfuzz_ has joined #nixos
<jmc_fr> Hello. Problem with redshift : when I change a parameter (example : services.redshift.temperature.night = newvalue) and the nixos-rebuild switch, it does not take effect. How to get the effect ?
<lassulus> systemctl --user restart redshift.service
<lassulus> oh maybe systemctl --user daemon-reload beforehand
hotfuzz has quit [Ping timeout: 276 seconds]
<gchristensen> !m lassulus
<[0__0]> You're doing good work, lassulus!
<{^_^}> [nixpkgs] @dotlambda pushed to master « pythonPackages.fonttools: 3.24.0 -> 3.24.1 »: https://git.io/vxReH
troydm has joined #nixos
alhariel has joined #nixos
alex`` has quit [Quit: WeeChat 2.0.1]
<jmc_fr> :lassulus the first one is perfect
<jmc_fr> thks
<{^_^}> [nixpkgs] @pSub pushed to master « autossh: 1.4e -> 1.4f »: https://git.io/vxRv4
<{^_^}> [nixpkgs] @pSub pushed to release-18.03 « autossh: 1.4e -> 1.4f »: https://git.io/vxRvz
<{^_^}> [nixpkgs] @globin pushed to master « grpcio: use protobuf3_5 »: https://git.io/vxRvV
cx405 has joined #nixos
<cx405> Hi all! I noticed that I have multiple mesa-no-glu libraries (3, three) when upgrading. How can one find out the reason why they were pulled? Thanks!
erictapen has joined #nixos
<cx405> its "mesa-noglu", sorry
ma27 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dotlambda closed pull request #37716 → pythonPackages.grpcio: 1.9.1 -> 1.10.0; fix build → https://git.io/vxBmC
nwspk has quit [Quit: Quit: *.banana *.split]
<gchristensen> lol nwspk
jsoo has joined #nixos
ixxie has quit [Quit: Lost terminal]
<jmc_fr> :lassulus well in fact both are required
jsoo has quit [Client Quit]
<jmc_fr> :lassulus is there a way to put it in configuration.nix to have it done each time I would change it ?
nwspk has joined #nixos
<lassulus> hmm, you could try: systemd.user.services.redshift.restartIfChanged = true;
coot has joined #nixos
cx405 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos closed pull request #37245 → weston: 3.0.0 -> 3.0.91 → https://git.io/vxYhs
<jmc_fr> no this doesn't work ... any other idea ?
maximiliantagher has quit [Remote host closed the connection]
acarrico has joined #nixos
maximiliantagher has joined #nixos
<ottidmes> jmc_fr: home-manager probably provides you with something that does what you want
fendor has quit [Ping timeout: 276 seconds]
<jmc_fr> ottidmes: thks, going to have a look
<ottidmes> To answer my own question, I have to either install mDNS on all my machines (e.g. provided by Avahi on Linux), or I have to have a powerful enough router (which I don't), or I have to setup a local machine, that is always on, to become a local DNS server
ma27 has joined #nixos
ixxie has joined #nixos
<alhariel> how do i list my graphic drivers?
argo has joined #nixos
<krey> does pkgs "remember" what attrSet it was called with? e.g. pkgs = import <nixpkgs> { stuff = in-here; }
<{^_^}> [nixpkgs] @Mic92 merged pull request #37738 → glyr: enable darwin build → https://git.io/vxRet
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxRJK
<{^_^}> → ad3eb5d8 by @knedlsepp: glyr: enable darwin build
<{^_^}> → 628b944a by @Mic92: Merge pull request #37738 from knedlsepp/enable-glyr-on-darwin
<{^_^}> [nixpkgs] @Mic92 merged pull request #37736 → babelstone-han: 10.0.2 -> 11.0.0 → https://git.io/vxBp5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxRJ6
<{^_^}> → 64c756d5 by @volth: babelstone-han: 10.0.2 -> 11.0.0
<{^_^}> → 04b2eac3 by @Mic92: Merge pull request #37736 from volth/patch-119
<typetetris> Is there a documentation what the branches of the nixpkgs depot are about? What is the difference between staging and master for example?
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vxRJb
<{^_^}> → 6f384b77 by @volth: babelstone-han: 10.0.2 -> 11.0.0
<{^_^}> → e32dee88 by @knedlsepp: glyr: enable darwin build
<ottidmes> alhariel: glxinfo and lspci might help your out
maximiliantagher has quit [Read error: Connection timed out]
<{^_^}> [nixpkgs] @Mic92 merged pull request #37735 → libcdio-paranoia: fix darwin build → https://git.io/vxBp0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxRUk
<{^_^}> → 285ef9be by @knedlsepp: libcdio-paranoia: fix darwin build
<{^_^}> → 394a7099 by @Mic92: Merge pull request #37735 from knedlsepp/fix-libcdio-paranoia-on-darwin
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @knedlsepp to release-18.03 « libcdio-paranoia: fix darwin build »: https://git.io/vxRUL
<typetetris> Thank you very much!
<{^_^}> [nixpkgs] @Mic92 merged pull request #37676 → mediainfo: 17.12 -> 18.03 → https://git.io/vx8CC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxRUs
<{^_^}> → a6942651 by @ryantm: mediainfo: 17.12 -> 18.03
<{^_^}> → 25653abc by @Mic92: Merge pull request #37676 from ryantm/auto-update/mediainfo
fendor has joined #nixos
<elvishjerricco> krey: I think that's what `(import <nixpkgs> {}).config` is
<ottidmes> krey: You can follow this yourself, <nixpkgs> gets evaluted to whatever value nixpkgs has on NIX_PATH, in my case to my local nixpkgs checkout, /wheel/fork/nixpkgs, so it calls /wheel/fork/nixpkgs/default.nix (if you import a dir, it tries to load dir/default.nix), there it loads pkgs/top-level/impure.nix, which provides default values and then calls pkgs/top-level/default.nix, and so on, but if you look the
<ottidmes> values get propagated pretty far, but I do not see any way to get back the original values you supplied
fpletz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #37711 → Enable desktop notifications for keybase-gui → https://git.io/vx4pZ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @jonafato to master « keybase-gui: Enable desktop notifications (#37711) »: https://git.io/vxRUa
jmc_fr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @jonafato to release-18.03 « keybase-gui: Enable desktop notifications (#37711) »: https://git.io/vxRUo
<krey> elvishjerricco: ooh, that sees to work indeed
<rotaerk> hmm it seems like certain packages from hackage just don't build if I have executable profiling enabled
<krey> ottidmes: you're right, I should probably get more comfortable with the code
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<rotaerk> for instance, I added monad-loops to my cabal file, which uses tasty and ultimately HUnit
<rotaerk> and HUnit failed to build unless I disable all profiling
LysergicDreams has joined #nixos
<rotaerk> well, executable profiling at least; testing now what happens if I disable executable but enable library profiling
maximiliantagher has quit [Remote host closed the connection]
srdqty has joined #nixos
maximiliantagher has joined #nixos
ixxie has quit [Ping timeout: 260 seconds]
<mpickering> Can someone merge this PR please? https://github.com/NixOS/nixpkgs/pull/37326
kmicklas has joined #nixos
<pxc> so I never followed up in-channel because I was watching a movie and I wasn't all that worried about the situation
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-18.03: https://git.io/vxRUd
<{^_^}> → 85d5fdce by @globin: protobuf3_5: init at 3.5.1.1
<{^_^}> → bdac630c by @globin: grpcio: use protobuf3_5
<pxc> but last night after my system rebooted after an unexpected zap between me and a USB port
<pxc> I still kind of can't believe how gracefully NixOS handled it
maximiliantagher has quit [Ping timeout: 240 seconds]
<pxc> the SQLite database was hosed; all I had to do was delete it
<pxc> and there were some bad paths in /nix/store, which `nix-store --verify --check-contents` faithfully reported, and which `sudo nix-collect-garbage` fixed
<typetetris> I did an upgrade of my box ot 18.03pre and now `nix-repl` complains with `error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied`. How can I get it back working?
<pxc> I guess the system went down when it was still building nixos-rebuild
<elvishjerricco> typetetris: Dunno. FWIW, 18.03 has Nix 2.0, which has `nix repl`, which obsoletes `nix-repl`
<pxc> anyway kudos; NixOS devs and contributors in the channel should be proud
<pxc> elvishjerricco: yeah, if you have Nix 1 and Nix 2 installed on the same system, Nix 1's `nix-env` also doesn't work with the same message
<typetetris> ah ok
<elvishjerricco> Ah. typetetris do you have a `nix` in your nix-env?
<thoughtpolice> mpickering: I can't build on macOS, but as Borg seems to have stepped in and given it the clear, it LGTM.
<pxc> typetetris: use `nix-repl` instead, and maybe think about getting that copy of nix1 which provides `nix-repl`, wherever it is, off your system :-)
<pxc> sorry I said the opposite of what I meant because I'm an idiot
<pxc> use `nix repl` instead. lol
<elvishjerricco> nix1 doesn't provide nix-repl. nix-repl was a standalone package
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #37326 → open-orienteering-mapper: init at 0.8.1 → https://git.io/vx3YB
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/vxRTU
<{^_^}> → 46a90e32 by @mpickering: clipper: init at 6.4.2
<mpickering> thoughtpolice: It builds for me on macOS, not sure what the problem would be
reinzelmann has joined #nixos
<mpickering> thanks
<{^_^}> → 1e0a60b7 by @mpickering: open-orienteering-mapper: init at 0.8.1
<thoughtpolice> mpickering: I meant "I don't have macOS, so I couldn't test it even if I wanted" :)
<mpickering> oh right ha
vidbina has joined #nixos
<mpickering> It problem works on linux as well but I didn't test on it
<mpickering> *probably
<Baughn> The newest stable Linux kernel breaks my mouse. How neat.
krey has quit [Quit: Lost terminal]
<Baughn> ... It's probably not the kernel.
maximiliantagher has joined #nixos
pie_ has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
Dirt[m] is now known as sorbet
<typetetris> The package `watch` provides the tool with the same name from the procps package (last updated 2008 or something). There also is the `watch` tool in procps-ng, which is actively maintained. nox-review tells me, nothing changes, if i simply delete watch. Is there some reason why there is stiff this very old package lying around?
ndrei has quit [Remote host closed the connection]
blankhart has joined #nixos
<srhb> typetetris: Probably just because it never broke...
<rotaerk> hmm yea HUnit fails if I enable executableProfiling, though it's not failing to build but to run tests/HUnitTestBase.lhs
<typetetris> srhb: Should such a thing be actively removed or is the usual thing to let it lying around? (There isn't even a bug tracker any more for it.)
<srhb> typetetris: I think it would probably be good to remove it :)
<srhb> Stable software is fine, but things that are superceded less so.
<srhb> Also sourceforge *shudder*
<pxc> it's so strange to me, sometimes I still forget
<joepie91> SourceForce: Only Barely Better Than Nothing At All
<pxc> when I was growing up, and still a Windows user, SourceForge was like my go-to. And there was an element of trust, too
vidbina_ has joined #nixos
<srhb> pxc: Same for me. Long gone those days, though. :)
<pxc> and because I use adblock everywhere, I only recently learned that many people now actively avoid it or tell others to, because they sell the same kind of sketchy 'DOWNLOAD NOW' ads as you might find on cnet's mirrors :-(
<pxc> I miss the old SourceForge
<infinisil> Oh my god i just discovered the worst packaged package in nixpkgs
<srhb> infinisil: That sounds like a challenge. :P
fpletz has joined #nixos
<infinisil> srhb: It won't be much of a challenge once you see that one
<srhb> I am intrigued!
<pxc> srhb: yep. At least it's only a matter of nostalgia. F/OSS life is better than ever :-D
<pxc> infinisil: is it my fault? ;-)
<infinisil> pxc: it is not
<pxc> phew
<infinisil> We can blame garbas because he merged it (without even looking at the code), hold on linking to it
vidbina has quit [Ping timeout: 240 seconds]
<infinisil> There are at least 3 very bad things about this, who can list them?
<gchristensen> I dunno, looks like the package is just hostile to packaging
<typetetris> According to #2227 it was added, as procps-ng didn't build on darwin. Hmm, doesn't have a mac, so i can.t check wether that still holds.
<srhb> Eh, I've seen worse. :P
<infinisil> First of all, the package has a Makefile
<srhb> typetetris: ofborg can test that for you.
<mpickering> It's not very nice to single this out publicly. I'm sure it was packaged with good intent
<gchristensen> agreed
<mpickering> perhaps a PR to fix the problems would be a productive step
<gchristensen> !m mpickering
<[0__0]> You're doing good work, mpickering!
<pxc> at least it's just a clunky source package and not an AUR-ish hack on a binary (useful as those can sometimes be) ¯\_(ツ)_/¯
<joepie91> infinisil: neat tool, though
<infinisil> Second, it pulls in a bagillion dependencies, including mpv, pandoc, emacs, fribidi
<infinisil> And none of them are needed to actually use it
<srhb> mpickering: Good point :)
<infinisil> I'm working on a PR right now
<pxc> just reacting a little along the way?
<pxc> that seems fair, hehe
<infinisil> And none of the patching is needed by just wrapping it with a PATH prefix
<gchristensen> my understanding is the patching is preferrable when possible
<{^_^}> [nixpkgs] @bachp opened pull request #37740 → minio: 2018-02-09T22-40-05Z -> 2018-03-19T19-22-06Z → https://git.io/vxRT5
justan0theruser has quit [Ping timeout: 240 seconds]
<infinisil> gchristensen: If it can be done without problems and in a couple lines then ok sure
fpletz has quit [Quit: ^D]
<typetetris> hydra for staging says: "Package ‘procps-3.3.12’ in /nix/store/gi71gymiiqbbfnx7ypi3l5qsk4vbq20w-source/pkgs/os-specific/linux/procps-ng/default.nix:26 is not supported on ‘x86_64-apple-darwin’, refusing to evaluate.", dunno where this is coming from, as default.nix doesn't mention linux or darwin, maybe it is from the path in the repo of default.nix?
fendor has quit [Ping timeout: 246 seconds]
<clever> typetetris: does hydra say anything else on nearby lines?
<typetetris> the line above is "in job ‘docker-gc.x86_64-darwin’:" and then it goes on about allowBroken
justanotherus3r has joined #nixos
<mpickering> The platforms attribute says "linux + cygwin"
<clever> typetetris: it sounds like docker-gc somehow depends on procps-ng
John882 has quit [Ping timeout: 260 seconds]
<clever> typetetris: so now try to nix-build docker-gc on darwin and see what happens
<clever> nix-instantiate pkgs/top-level/release.nix -A docker-gc.x86_64-darwin
<clever> i think
argo has quit [Ping timeout: 265 seconds]
<clever> i can also reproduce that issue on a random rev of nixpkgs i jsut happened to have checked out
<clever> and now i can just --show-trace it
<clever> while evaluating 'makeSearchPathOutput' at /home/clever/apps/nixpkgs/lib/strings.nix:94:42, called from /home/clever/apps/nixpkgs/pkgs/applications/virtualization/docker/gc.nix:23:28:
krey has joined #nixos
<clever> 23 --prefix PATH : "${stdenv.lib.makeBinPath [ docker coreutils procps gnused findutils gnugrep ]}"
<clever> typetetris: and there it is, thed generic docker-gc for all platforms, depends on procps, which is linux-only
<clever> 74a3a2cd7e40 (Tuomas Tynkkynen 2016-08-23 01:06:51 +0300 23) --prefix PATH : "${stdenv.lib.makeBinPath [ docker coreutils procps gnused findutils gnugrep ]}"
<ottidmes> Does anyone know a better Wake-on-LAN package on NixOS than the wol package? It does not allow sending packages to IPs outside the LAN (sure, its in the name), but most often I want to wake up some machine external to my LAN. I am using some Android app right now, which works, but I would love to also have a equivalent on my other machines
<clever> and git blame reveals that one line was modified a few months ago
<clever> but, that blame is false
<clever> - --prefix PATH : "${docker}/bin:${coreutils}/bin:${procps}/bin:${gnused}/bin:${findutils}/bin:${gnugrep}/bin"
<clever> + --prefix PATH : "${stdenv.lib.makeBinPath [ docker coreutils procps gnused findutils gnugrep ]}"
<clever> he simply cleaned the code up, it was already "wrong"
<rotaerk> figured it out; HUnit has a test that fails when profiling is enabled (and it should be a fixable problem); but the workaround is if enableExecutableProfiling = true, set doCheck = false
<clever> typetetris: and further checks with `git log --patch` reveal, docker-gc has been broken on darwin from the very first version
argo has joined #nixos
<vidbina_> Since it's weekend, and I figured I have some time to spare to attempt an upgrade to 18.03 but am running into some roadblocks. During a nixos-rebuild test my system logs me out and ends up unresponsive. Excerpt of journalctl's output at https://gist.github.com/vidbina/91aaba02581e9a175ca6f953b0c1c029
<clever> vidbina_: can you also gist your configuration.nix file?
<typetetris> clever: ok thanks, but does procps-ng really not build on darwin?
humanoyd has quit [Quit: WeeChat 2.1]
<clever> typetetris: most of the tools within it rely on /proc files to work, and darwin doesnt use the same api there
<clever> vidbina_: the journal in that gist looks mostly like a normal reboot
<LnL> there's a package under the darwin attribute that has ps
simukis has joined #nixos
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<vidbina_> clever: Notice at line 6 of the logs that it mentions switching configuration though. Why would my system attempt a restart on that occasion. My config is at https://github.com/vidbina/nixos-configuration/tree/upgrade/18.03
<clever> vidbina_: also, sometimes, its simpler to just `nixos-rebuild boot` and manually reboot, some changes cant be applied at runtime
<vidbina_> clever: *facepalm* aha... will try that right away :P
vidbina_ has quit [Quit: leaving]
<ottidmes> Found the answer to my question, besides the wol package there is also the wakelan package, which works for remote addresses as well
alex`` has joined #nixos
vidbina has joined #nixos
timon37 has quit [Remote host closed the connection]
<krey> does home-manager complain about signatures for anyone else?
mounty has quit [Ping timeout: 264 seconds]
reinzelmann has quit [Quit: Leaving]
argo has quit [Ping timeout: 265 seconds]
acarrico has quit [Ping timeout: 240 seconds]
<vidbina> clever: thank you so much *bow* If I ever run into you in real life I owe you a few beverages of your liking. I'm on 18.03 now
argo has joined #nixos
Myrl-saki has quit [Ping timeout: 260 seconds]
<gchristensen> I think I cracked the code
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bdac630c1dc (from 66 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
mounty_ has joined #nixos
paraseba has quit [Ping timeout: 256 seconds]
<alhariel> is there a list of valid values for services.xserver.videoDrivers?
paraseba has joined #nixos
argo has quit [Ping timeout: 265 seconds]
jrolfs has quit [Ping timeout: 264 seconds]
<ottidmes> alhariel: radeon amdgpu ati_unfree vesa noveau nvidia (on top of my head), not sure where the complete list is
argo has joined #nixos
<alhariel> changing this probably needs a restart to take effect right?
<ottidmes> alhariel: at least a restart of the display-manager
<ottidmes> alhariel: but often you also use some kernel params in combination with your driver, so I always just reboot
<alhariel> i have a hybrid intel/radeon, not sure how to configure this
<alhariel> i set it to [ "intel" "amdgpu" "ati" "modesetting" ]
<alhariel> not even sure what that last one is
raynold has joined #nixos
vidbina has quit [Remote host closed the connection]
<clever> modesetting is a more generic one that uses kernel drivers
<Profpatsch> gchristensen: There was some problem with jing. At least for the module system it was not used because it has too many dependencies I think.
<ottidmes> alhariel: pretty sure ati should be ati_unfree
<Profpatsch> Anyway, good night
<alhariel> ok
krey has quit [Remote host closed the connection]
<alhariel> ive thrown in a "radeon" for good measure
<ottidmes> alhariel: As in, I have been trying to get it to work with my radeon, tried all I could find, and I only have ati_unfree amdgpu (and its pro version, not worth the trouble though) radeon and vesa in my list of tried drivers
<ottidmes> alhariel: who all worked to some degree, I only got it to work properly with ati_unfree unfortunately
<alhariel> i see
<alhariel> should i include vesa also?
<gchristensen> Profpatsch: because it is too heavy for nixos releases or something, but it can be used at dev time :)
<ottidmes> alhariel: It defaulted to vesa when it crashed amdgpu in my case, but its performance was horrible, I think it is similar to modesetting, not enough knowledge about them to tell you anything about them though
mounty_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #37742 → translate-shell: 0.9.6.6 -> 0.9.6.7, fix packaging → https://git.io/vxRLS
<infinisil> Cleaned it up ^^
<{^_^}> [nixpkgs] @ikervagyok opened pull request #37743 → wine: Unstable 3.3 -> 3.4 & reenable wineStaging → https://git.io/vxRLj
<ottidmes> infinisil: What were those .awk files used for? You seem to just have removed them. Is trans the de-factor name used? Why remove the aliases? Is the manpage and stuff still present (not sure if that gets copied by default)?
<infinisil> ottidmes: The makefile properly packaged the multiple awk files into a single executable
<infinisil> ottidmes: And no idea why the initial packager added these aliases, they are not official whatsoever
<infinisil> trans is what the binary should be called
<zybell_> alhariel:modesetting means 'Do read config file, do what it says' vesa means 'Do read vga bios, do what it says'. In other words if these sources are unreliable you're hosed!
<infinisil> ottidmes: manpage still works no problem
<ottidmes> infinisil: Well in that case:
<ottidmes> !m infinisil
<[0__0]> You're doing good work, infinisil!
<infinisil> :)
vidbina has joined #nixos
lambdamu has quit [Ping timeout: 240 seconds]
<infinisil> Python mergers: This PR is ready: https://github.com/NixOS/nixpkgs/pull/37469
<Baughn> Okay, so systemd 238 breaks my mouse.
<Baughn> I really wish that hadn't been backported to 18.03 at this stage.
<gchristensen> cc vcunat
<zybell_> Baughn: I would look into udev-rules shipping with systemd. They are only defaults. Its YOUR Hardware described.
<Baughn> The base cause appears to be that my mouse is also a joystick.
<Baughn> And 238 no longer tags it as both.
<zybell_> Then write it up in udev.
<Baughn> There's no need. It's correctly tagged in its usb descriptors.
<Baughn> The generic configuration should work fine.
<gchristensen> it is not ideal to have this update so late
<{^_^}> [nixpkgs] @Baughn opened pull request #37745 → mpv: Add openal support → https://git.io/vxRt5
<{^_^}> [nixpkgs] @ryantm closed pull request #37265 → appres: 1.0.4 -> 1.0.5 → https://git.io/vxOGE
chessai has quit [Ping timeout: 265 seconds]
blankhart has quit [Ping timeout: 248 seconds]
<flokli> Baughn: we might want to add patch https://github.com/systemd/systemd/commit/0cd6767cf0352c6c987e7d169945aea5fd5b3a96 to systemd
<infinisil> gchristensen: Can anybody ask borg to build something now?
<zybell_> If lsusb says (Config1:HID Mouse)(Config2:Proprietary)(Config3:HID Joy+Mouse) and systemd chooses Conf1 who is to blame?
<Baughn> I would be fine with that.
<gchristensen> infinisil: any nixpkgs contributor cann
<infinisil> Nice
<Baughn> The problem is that it chooses Conf3, and then proceeds to tag the input device as *only* a joystick, dropping the 'mouse' attribute on the floor.
<flokli> Baughn: can you try if this fixes it for you, and add a PR to 18.03 branch?
<Baughn> Sure.
<flokli> The referred commit is the one that seems to fix it in upstream systemd
<flokli> (see upstream issue)
<Baughn> This patch seems like it disables half my buttons...
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/56fb68dcef4 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
fendor has joined #nixos
aarvar has joined #nixos
vidbina has quit [Quit: Lost terminal]
<zybell_> In the referred commit another commit is referred, which seems the root cause of all.
fendor has quit [Ping timeout: 256 seconds]
Lears has joined #nixos
vidbina has joined #nixos
<zybell_> The idea of that commit seems to be a mouse that is a joystick too can't exist.
ixxie has joined #nixos
blankhart has joined #nixos
<zybell_> either that commit is interpreted as meaning: because we (should) allocate a second device node for a device that has a second function and move all this over. But then that patch is incomplete.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zybell_> Or that commit is interpreted: We would never support such evil contraptions. Then that patch must go.
alex`` has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
alhariel has quit [Ping timeout: 276 seconds]
<zybell_> s/seems to be/seems to be:/
<zybell_> ^^^
coot has quit [Quit: coot]
MP2E has joined #nixos
hiratara has quit [Ping timeout: 240 seconds]
coot has joined #nixos
hiratara has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 246 seconds]
LysergicDreams has joined #nixos
lambdamu has joined #nixos
<gchristensen> erm not that one
<boomshroom> Does nix not support using newlib as a libc?
ndrei has joined #nixos
hiratara has quit [Quit: ZNC - http://znc.in]
<boomshroom> Alternatively, is it possible to disable passing `--target` to configure so I can override it?
hiratara has joined #nixos
zybell_ has quit [Ping timeout: 265 seconds]
<ottidmes> boomshroom: I am being pretty ignorant here, but couldn't you override --target in preConfigure and just modify $configureFlags?
<boomshroom> ottidmes: How is --target set in preConfigure?
<{^_^}> [nixpkgs] @magnetophon closed pull request #36925 → padthv1: 0.8.6 -> 0.9.0 → https://git.io/vxTfI
ndrei has quit [Remote host closed the connection]
<ottidmes> What is the difference between `builtins.hasAttr s set` and `set ? "${s}"`, is the latter just considered bad form (not idiomatic Nix), or is there nothing against it?
ndrei has joined #nixos
snail-eyes has joined #nixos
<ottidmes> boomshroom: No idea, I just saw it being defined there plenty of times when doing a quick search in nixpkgs, so I thought that is where they might be overriding it
<ottidmes> boomshroom: did you look at ffmpeg and its crossAttrs, no idea what that does, just seems relevant
orivej has quit [Ping timeout: 264 seconds]
<boomshroom> ottidmes: It looks as though that's setting `--target_os`, no `--target`.
<etu[m]> Hmm, I have NixOS on a raspberry pi 3 and would like to add `display_rotate=3` to /boot/config.txt, is there some nice way in nix to make sure a line exists in a file?
kmicklas has quit [Ping timeout: 276 seconds]
ma27 has quit [Ping timeout: 276 seconds]
aarvar has quit [Ping timeout: 276 seconds]
<ij> Why's «networking.wireless.enable = true» incompatible with «networkmanager.enable = true»? I wanted to compile the installation-cd-base.nix module with network manager and it failed because of this incompatibility.
<boomshroom> looks like configurePlatforms is what I want.
<snail-eyes> Hello, all. Pretty new to nix. I'm trying to install `signal-desktop`, and it looks like there's an existing nix file for it: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/networking/instant-messengers/signal-desktop but I cannot find it when searching. Anyne have any idea?
<symphorien> !unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
coot has quit [Quit: coot]
<symphorien> snail-eyes: ^
<snail-eyes> Ah jeez. Signal is unfree?!
<symphorien> ah sorry I was wrong
<boomshroom> Never mind. That didn't fix it.
<symphorien> snail-eyes: looks like signal was packaged in nixpkgs in november, it is thus not available on 17.09 https://github.com/NixOS/nixpkgs/commit/3c3e1db36408277e6b8590c822146978d59868b2#diff-dc707d692eda803b71863c22b24ddf1d
<snail-eyes> symphorien: got it. Do I have to upgrade to 18.03 to use it?
zybell_ has joined #nixos
<ottidmes> boomshroom: The arm-frc-linux-gnueabi package just seems to set --target itself via configureFlags, does that not work for you?
<symphorien> you can replace nixos-unstable by nixos-18.03 if you want
<ottidmes> boomshroom: As in, what you tried to package already exists?
<boomshroom> It seems using configureFlags works, but configureFlagsArray doesn't.
<boomshroom> ottidmes: I meant that that package seemed to be doing the same thing I was, but in reality it wasn't.
<snail-eyes> symphorien: thanks a lot. Followed the instructions for subscribing to an unstable channel then got this: https://pastebin.com/pnDNd8vv
<symphorien> ah, nix2 is necessary to parse recent nixpkgs
<snail-eyes> !nix2
<symphorien> so put in your configuration.nix something like:
<snail-eyes> thought I could try not asking you what nix2 is lol
<symphorien> nix.package = pkgs.nixUnstable;
<symphorien> (typing it on top of my head)
<snail-eyes> should that go anywhere in particular?
<snail-eyes> i'll give it a try
<symphorien> then rebuild, you will get warnings because nix2 is only moderately happy with a nix 1 daemon
<symphorien> then systemctl restart nix-daemon
<ottidmes> snail-eyes: I you have a recent 17.09 checkout, you might prefer: nix.package = pkgs.nixStable2; instead
<symphorien> and you will run full nix2
<snail-eyes> symphorien: thanks, trying... Currently rebuilding and getting the following: `warning: unknown setting 'signed-binary-caches'`
<symphorien> you can ignore it
<symphorien> (as far as I know)
<boomshroom> Quick question: Nix uses crossSytem to set the target for compilers, and the host for everything else. Is it possible to build a compiler to run on a foregn system?
<ottidmes> snail-eyes: You should be able to safely ignore it, or you could set nix.requireSignedBinaryCaches = false; but be careful, you are very unlikely to want to have that in the long run, since in 18.03 this setting will result in the new setting, require-sigs, to be said to false!
<snail-eyes> symphorien: got it, thanks. I think I rebuilt in the past two weeks but nevertheless having added that line currently in the process of a substantial rebuild.
<snail-eyes> ottidmes: thanks!
<snail-eyes> seems a little dangerous not to require sigs?
<ottidmes> snail-eyes: yep, hence my warning, either ignore the current warning: unknown setting 'signed-binary-caches', or disable requiring sigs, which right now (on 17.09) disables the setting which generates the warning, but if you move to 18.03 or unstable, you would not want to have that attribute set anymore, since then it will also disable require sigs
<boomshroom> Sweet! Binutils: built! Next up: freestanding GCC.
leotaku has joined #nixos
<snail-eyes> symphorien: have run `systemctl restart nix-daemon` and I am being asked whether to run the op as root or user. Does it matter?
<symphorien> user won't work, I guess
<snail-eyes> ottidmes: I'll happily ignore the warnings in exchange for requiring sigs :). thanks for the explanation!
maximiliantagher has quit [Remote host closed the connection]
<snail-eyes> symphorien: thanks thats what I thought, was confused why I was even being given the option
<snail-eyes> symphorien: works! successfully found Signal. appreciate your time!
<ottidmes> snail-eyes: setting nix.requireSignedBinaryCaches = false; while you are on 17.09 (with nix 2.0) is not unsafe, only if you think you will forget about it when upgrading to 18.03, then you'd better just get used to seeing the warnings (not so bad, should not be much longer now until 18.03 is out)
<snail-eyes> ottidmes: got it, thanks!
maximiliantagher has joined #nixos
<snail-eyes> symphorien: Can I not install unstable packages declaratively by putting them in my `configuration.nix`?
<snail-eyes> i.e. do I need to install them imperatively?
<leotaku> snail-eyes: user should work, as long as you are in wheel/have sudo privileges, you can generally prefix systemctl commands with sudo to avoid the prompt
<snail-eyes> leotaku: right I was about to ask that. Makes sense, thanks!
<symphorien> snail-eyes: you can do it declaratively, I think the faq contains the correct snippet
<snail-eyes> symphorien: silly me, thanks!
<ottidmes> snail-eyes: I just made a systemctl function that checks if --user is passed, then it calls it unchanged, and otherwise calls it with sudo, so I can just forget about it
<symphorien> the idea is that the default nixpkgs is imported as pkgs, here you need let pkgs2 = import <channel-name> {}; in to import the alternative channel
<symphorien> then install pkgs2.signal instead of pkgs.signal
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9a8344a7a72 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> [nixpkgs] @matthewbauer pushed to master « texlive: add cxxflags for clang »: https://git.io/vxRsJ
jrolfs has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
snail-eyes has quit [Ping timeout: 260 seconds]
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37728 → krita: fix incorrect sha256 → https://git.io/vxBK8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxRsC
<{^_^}> → 8f0c697a by @yegortimoshenko: krita: fix incorrect sha256
<{^_^}> → d2624156 by @Mic92: Merge pull request #37728 from NixOS/yegortimoshenko-patch-1
chisui has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #37686 → swiften: 3.0beta2 -> 4.0 → https://git.io/vx8wN
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vxRsE
<{^_^}> → a252f83f by @ryantm: swiften: 3.0beta2 -> 4.0
<{^_^}> → b790f92e by @Mic92: Merge pull request #37686 from ryantm/auto-update/swiften
<pbogdan> could I perhaps get some feedback on https://github.com/NixOS/nixpkgs/pull/35881 ? (about to head off to bed so please comment on the PR)
<{^_^}> [nixpkgs] @zimbatm pushed 0 commits to yegortimoshenko-patch-1: https://git.io/vxRsa
<infinisil> pbogdan: Aren't cursors included in theme packages?
<infinisil> Ah maybe not, I haven't checked
maximiliantagher has quit [Ping timeout: 248 seconds]
nikivi has quit [Quit: ZNC 1.6.6 - http://znc.in]
krey has joined #nixos
nikivi has joined #nixos
ndrei has quit [Remote host closed the connection]
dbe has quit [Ping timeout: 264 seconds]
maximiliantagher has joined #nixos
alhariel has joined #nixos
ndrei has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
maximiliantagher has quit [Ping timeout: 264 seconds]
ndrei has quit [Remote host closed the connection]
ashgillman has joined #nixos
<{^_^}> [nixpkgs] @tylermauthe opened pull request #37748 → i3-gaps: 4.14.1 -> 4.15.0.1 → https://git.io/vxRGQ
simukis has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed to master « skhd: 0.0.10 -> 0.0.12 »: https://git.io/vxRGF
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/902b3a161c6 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jrolfs has quit [Ping timeout: 240 seconds]