gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<{^_^}> [nixpkgs] @xeji closed pull request #52663 → timescaledb: 1.0.0 -> 1.1.0 → https://git.io/fhJLG
<{^_^}> [nixpkgs] @xeji merged pull request #53250 → plata-theme: 0.4.9 -> 0.5.0 → https://git.io/fhmYv
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « plata-theme: 0.4.9 -> 0.5.0 (#53250) »: https://git.io/fhbOL
jluttine has quit [Ping timeout: 245 seconds]
lsyoyom has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #55215 → pmd: 6.10.0 -> 6.11.0 → https://git.io/fhSNi
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pmd: 6.10.0 -> 6.11.0 (#55215) »: https://git.io/fhbOY
<{^_^}> [nixpkgs] @xeji merged pull request #55245 → openfst: 1.6.9 -> 1.7.1 → https://git.io/fh9UU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « openfst: 1.6.9 -> 1.7.1 (#55245) »: https://git.io/fhbO3
<ajs124> I'm trying to "resurrect" a kernel that was dropped from nixpkgs upstream through an overlay, but copy&pasting the "linux_4_18 = " and "linuxPackages_4_18 = " lines from all-packages.nix fails with undefined variable 'kernelPatches'
<ajs124> And yes, I _could_ just fork nixpkgs and revert that patch, but I'd really prefer not to do that
<{^_^}> [nixpkgs] @xeji merged pull request #54027 → worker: 3.15.2 -> 3.15.3 → https://git.io/fhWav
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « worker: 3.15.2 -> 3.15.3 (#54027) »: https://git.io/fhbOZ
o1lo01ol1o has quit [Ping timeout: 246 seconds]
dramforever has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #56271 → squeezelite: fix 'cfg' reference (fixes eval!) → https://git.io/fhbOC
<ryantm> ajs124: You could also fetch an earlier version of nixpkgs and import it just for that.
dermetfan has joined #nixos
<ryantm> ajs124: part way down in https://vaibhavsagar.com/blog/2018/05/27/quick-easy-nixpkgs-pinning/ there is an example of using fetchFromGitHub to get a specific version of nixpkgs
rprije has quit [Quit: Leaving]
<ajs124> ryantm, right, yes. That seems like an option. I forgot that's something I could do. Will try now.
<{^_^}> [nixpkgs] @dtzWill merged pull request #56271 → squeezelite: fix 'cfg' reference (fixes eval!) → https://git.io/fhbOC
<{^_^}> [nixpkgs] @dtzWill pushed to master « squeezelite: fix 'cfg' reference (#56271) »: https://git.io/fhbO8
pjan has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
iqubic has joined #nixos
lsyoyom has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #43791 → fluentd: 0.14.11 -> 1.2.3 → https://git.io/fNneQ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbOz
<{^_^}> [nixpkgs] @xeji merged pull request #55251 → live555: 2018.12.14 -> 2019.02.03 → https://git.io/fh9Tx
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « live555: 2018.12.14 -> 2019.02.03 (#55251) »: https://git.io/fhbOg
schjetne has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #55247 → mercurialFull: 4.8.2 -> 4.9 → https://git.io/fh9US
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mercurialFull: 4.8.2 -> 4.9 (#55247) »: https://git.io/fhbOa
<iqubic> I'm not sure how many people use haskell and emacs in here, but I still feel like asking my question.
<iqubic> So I have "services.hoogle.enable" set to true in my configuration.nix. Is there a way to view and query this documentation in haskell.
<iqubic> I'd like it to work while offline, if possible.
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
eadwu has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56204 → calcurse: 4.3.0 -> 4.4.0 → https://git.io/fhbOo
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « calcurse: 4.3.0 -> 4.4.0 (#56204) »: https://git.io/fhbOK
<{^_^}> [nixpkgs] @xeji merged pull request #56214 → caddy: 0.11.1 -> 0.11.4 → https://git.io/fhbOi
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « caddy: 0.11.1 -> 0.11.4 (#56214) »: https://git.io/fhbOP
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #56116 → libgcc: fix build on darwin → https://git.io/fhFIA
<ddellacosta> iqubic: you may find more help in #haskell if you haven't already asked there, I've found it's a tossup whether I get help here or in #haskell when I have a haskell+nix-related question
<ddellacosta> as far as hoogle, I think you'd have to run an instance locally to get that working, but I'm not sure how you'd do that in nix
init_6 has joined #nixos
asymmetric has quit [Ping timeout: 255 seconds]
<ddellacosta> sorry that link appears to be busted, but that thread in particular is about hoogle + nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56070 → xavs: build on darwin → https://git.io/fhdiK
<{^_^}> [nixpkgs] @xeji pushed commit from @jacereda to master « xavs: build on darwin (#56070) »: https://git.io/fhbOD
<ddellacosta> oh guess you already figured some stuff out and asked on #haskell, my bad
* ddellacosta considers setting up a local instance of hoogle himself...
<{^_^}> [nixpkgs] @ryantm closed pull request #44874 → hyper-haskell: 0.1.0.2 -> 0.2.1.0 → https://git.io/fN7Wd
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « rtv: 1.24.0 -> 1.25.1 (#55836) »: https://git.io/fhbO9
<{^_^}> [nixpkgs] @xeji merged pull request #55836 → rtv: 1.24.0 -> 1.25.1 → https://git.io/fh5ez
vidbina has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #56180 → pandoc: Remove unneeded postInstall → https://git.io/fhF6Y
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to master « pandoc: Remove unneeded postInstall (#56180) »: https://git.io/fhbOH
vidbina has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #55821 → sundials: 4.0.2 -> 4.1.0 → https://git.io/fh7Nq
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « sundials: 4.0.2 -> 4.1.0 (#55821) »: https://git.io/fhbOQ
o1lo01ol1o has quit [Ping timeout: 246 seconds]
thc202 has quit [Ping timeout: 272 seconds]
doyougnu has joined #nixos
softinio has quit [Quit: Connection closed for inactivity]
tdbgamer has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #55526 → mblaze: 0.4 -> 0.5 → https://git.io/fhHp7
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « mblaze: 0.4 -> 0.5 (#55526) »: https://git.io/fhbOF
dermetfan has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
hedning has quit [Quit: hedning]
wavewave has quit [Quit: Connection closed for inactivity]
dramforever has quit [Ping timeout: 250 seconds]
<bpye> Hey, when I'm writing a script am I better using say "${pkgs.coreutils}/bin/mktemp" or just "mktemp" as mktemp is in coreutils which I'm pretty sure is always in teh system path?
<bpye> Or even "echo" vs "${pkgs.coreutils}/bin/echo"
<{^_^}> [nixpkgs] @xeji merged pull request #54922 → vale: 1.3.0 -> 1.3.1 → https://git.io/fh1d7
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « vale: 1.3.0 -> 1.3.2 (#54922) »: https://git.io/fhbOh
<infinisil> bpye: I often do `export PATH=${lib.makeBinPath [ coreutils <whateveryouneed> ]}` at the beginning
<infinisil> (coreutils might be a bit overkill though, should be available everywhere)
init_6 has quit []
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #55521 → Fix minuet → https://git.io/fhHpn
<{^_^}> [nixpkgs] @xeji pushed 3 commits to staging: https://git.io/fhb3e
schjetne has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #54809 → skaffold: 0.19.0 -> 0.21.1 → https://git.io/fhi54
<{^_^}> [nixpkgs] @xeji pushed commit from @vdemeester to master « skaffold: 0.19.0 -> 0.21.1 (#54809) »: https://git.io/fhb3k
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhb3m
schjetne has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #54662 → caddy: 0.11.1 -> 0.11.2 → https://git.io/fh6n4
<bpye> I also think I'm being dumb, how can I hoist that let configFile = outside the service definition? https://gist.github.com/benpye/f43ed72447bb59ca34a66a1265a1655e
<clever> bpye: no real way to access stuff hidden in a let block, your only choice is to copy the code out
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<bpye> Ah okay
<bpye> I guess I'll probably end up splitting these out into more general modules anyway, but to get it working it's easier to do it inline like this it seems
<bpye> Is there a plan for what NixOS is going to do when we run out of service UIDs?
<{^_^}> [nixpkgs] @xeji merged pull request #54121 → awless: 0.0.14 -> 0.1.11 → https://git.io/fhldh
<{^_^}> [nixpkgs] @xeji pushed commit from @swdunlop to master « awless: 0.0.14 -> 0.1.11 (#54121) »: https://git.io/fhb33
<ottidmes> bpye: probably try and move more services to systemd's temporary users
<bpye> I was about to ask :)
<bpye> I guess that's the way to go for services that don't need to store persistent data?
xeji has quit [Quit: WeeChat 2.2]
<ottidmes> bpye: persistent data is OK too, its more about whether other things need to access that persistent data too, like other services, then it becomes a problem
dramforever has joined #nixos
<ryantm> gchristensen: How can the nixos test pass for aarch64-linux when the package doesn't build? https://github.com/NixOS/nixpkgs/pull/56256
<{^_^}> #56256 (by Anton-Latukha, 6 hours ago, open): handbrake: 1.2.1 -> 1.2.2, rm callPackage dep
<infinisil> bpye: We don't need to allocate static uids, just creating a user without a static uid works too and is perfectly fine
<bpye> ottidmes: Sweet, that sounds like a good fit
<infinisil> DynamicUser if it works is still pretty good though
<bpye> infinisil: Sure, but then don't we end up in a weird state if you deploy a config with userA, write some data, deploy a new config with userA and userB, and then a config with just userB?
<infinisil> bpye: NixOS remembers which users got which uids
<infinisil> bpye: In /var/lib/nixos/gid-map
<infinisil> bpye: And /var/lib/nixos/uid-map
doyougnu has quit [Ping timeout: 245 seconds]
<Izorkin> infinisil: checked PR to nginx?
<bpye> ottidmes: Is DynamicUser in 18.09?
<bpye> Hm yeah, looks like it is!
<{^_^}> [nixpkgs] @nomeata opened pull request #56272 → Avoid problematic test case of llvm6 on Android → https://git.io/fhb3B
<ottidmes> bpye: yep, I have used it in 18.09 myself
doyougnu has joined #nixos
georges has quit [Ping timeout: 244 seconds]
<lopsided98_> ryantm: That looks like an ofborg bug to me, there is no log for the test
<lopsided98_> https://logs.nix.ci/?key=nixos/nixpkgs.56256&attempt_id=96ab84ab-9fe6-4a38-ba56-18c9ad46783f
doyougnu has quit [Client Quit]
<bpye> ottidmes: That's great, thank you!
o1lo01ol1o has joined #nixos
georges has joined #nixos
lord| has quit [Quit: WeeChat 2.4]
schjetne has joined #nixos
Makaveli7 has quit [Ping timeout: 255 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
lord| has joined #nixos
o1lo01ol1o has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<gchristensen> ryantm: sure looks like it is lying
yokyolu has joined #nixos
jluttine has joined #nixos
o1lo01ol1o has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
<infinisil> Izorkin: Nope, I'd comment if I do
<Izorkin> ок
o1lo01ol1o has quit [Ping timeout: 257 seconds]
silver has quit [Read error: Connection reset by peer]
acarrico has joined #nixos
schjetne has quit [Ping timeout: 246 seconds]
<bpye> How can I get autoUpgrade to upgrade the stable channel and the few unstable packages I've pulled in?
<bpye> Sorry for asking what feel like really stupid questions
<infinisil> ,unstable bpye
<bpye> nixos-unstable, I have my packages installed but system.autoUpgrade only updates the stable channel
o1lo01ol1o has joined #nixos
jluttine has quit [Ping timeout: 259 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
acarrico has quit [Ping timeout: 245 seconds]
jluttine has joined #nixos
goibhniu has quit [Ping timeout: 245 seconds]
iyzsong has joined #nixos
init_6 has joined #nixos
Supersonic has quit [Ping timeout: 250 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
o1lo01ol1o has joined #nixos
Supersonic has joined #nixos
sondr3 has quit [Quit: WeeChat 2.3]
dramforever_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
dramforever has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @pjones opened pull request #56275 → gromit-mpx: 1.2 -> 1.3 → https://git.io/fhbst
<yokyolu> i'm trying to add a haskell package from a pinned nixpkgs to an overlay
<yokyolu> but once in shell cabal doesn't see it there
<{^_^}> [nixpkgs] @ryantm merged pull request #56256 → handbrake: 1.2.1 -> 1.2.2, rm callPackage dep → https://git.io/fhbsq
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/fhbsm
<bpye> Hm, any idea why curl would fail in a DynamicUser service? " curl: (27) Out of memory"
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
<bpye> wget works but I guess I'd prefer curl..
schjetne has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
schjetne has quit [Ping timeout: 245 seconds]
rcshm_ has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
o1lo01ol1o has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
ym555 has quit [Quit: leaving...]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
o1lo01ol1o has joined #nixos
wedens has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm_ has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
ottidmes has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<Arahael> bpye: I've seen that before with an odd openssl or certificate issue, I forget the details entirely, though.
rcshm has quit [Read error: Connection reset by peer]
<Arahael> (And that was on a mac, too)
<bpye> That seems possible, it's a https request. To make wget happy I had to make it store the hsts list to tmp
rcshm has joined #nixos
<bpye> Hm, I wonder, with DynamicUser can I set two services to the same StateDirectory or is that a crazy idea?
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> bpye: Can't do that
eadwu has quit [Quit: WeeChat 2.4]
<infinisil> bpye: Every dynamicUser service runs as a different user, and StateDirectory sets up a private directory for the services user
<infinisil> So either systemd complains that they use the same state directory, or it just fails for one of them, because the directory got created with permissions for the other
<infinisil> I just recently realized that while DynamicUser works well when your service is self-contained, it quickly falls apart when you need interaction between services
<infinisil> systemd has a lot of other sandboxy features you can enable for your service to make it more secure though
<bpye> It seems that setting User=xyz might make it work? Shouldn't they both end up as the same user? Obviously that has to be acceptable for your specific service...
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<bpye> In my case I'm testing setting up a DNS server and auto updating a blacklist. The former is long running but the latter needs to be able to change files they both read
<infinisil> bpye: If you use an already existing user in the User= setting it won't use dynamic users
<infinisil> If the user doesn't exist yet it must throw some error, because it would try to create two users with the same name
<bpye> That doesnt seem to be the behaviour
<infinisil> Oh?
<infinisil> What is the behavior?
<bpye> "When used in conjunction with DynamicUser= the user/group name specified is dynamically allocated at the time the service is started, and released at the time the service is stopped — unless it is already allocated statically (see below). If DynamicUser= is not used the specified user and group must have been created statically in the user database no later than the moment the service is started, for example using the
<bpye> sysusers.d(5) facility, which is applied at boot or package install time." It seems the first (in my case the long running service) with allocate the user dynamically, the second seems to run as the same user as it does suceed
schjetne has joined #nixos
DrLambda has joined #nixos
freeman42x has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<infinisil> Oh interesting I didn't know this
<bpye> Looks like BindReadOnlyPaths can be used as well https://github.com/systemd/systemd/issues/7260#issuecomment-342382377 - does kinda feel like they are all hackish solutions though
yokyolu has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @matix2267 opened pull request #56277 → vim_customizable: Include manpages in the output → https://git.io/fhbsd
<infinisil> With BindReadOnlyPaths the permissions of the files still need to permit the other user to access it
<infinisil> The DynamicUser+User way doesn't seem half bad though
<infinisil> But, then again, it doesn't really get the benefit of DynamicUser (it being isolated from other services), if any service can just get access to the services state directory too if it has the correct settings..
<infinisil> :/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5f2252cc6af (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<bpye> I guess one hopes that you only configure your system that way IF you know you need it, BindReadOnlyPaths would work for me as one service only needs read access, the other needs rw, so i guess the service with rw would "own" the directory, and the read only service would bind it
<{^_^}> [nixpkgs] @matthewbauer pushed to master « harfbuzz-icu: disable error for cast-align »: https://git.io/fhbGU
yokyolu has joined #nixos
vidbina has joined #nixos
<yokyolu> i'm trying to add a haskell package from a pinned nixpkgs to an overlay
<yokyolu> but once in shell cabal doesn't see it there
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<infinisil> yokyolu: (Nobody can help you if you don't post the code)
<kyren> I'm experiencing a very strange behavior, and I'm not sure how to track this down
<kyren> after a recent update, if I run, just as an example `nix-shell -p xorg.xeyes`, I get "error: getting status of '/<hash>-<hash>-<hash>.tar.gz': No such file or directory
<kyren> if I revert to an earlier nixpkgs, the error goes away
<kyren> this happens with *any* nix-shell invocation
<kyren> aha, okay it looks like that path exists in the nix store, where it just the contents of nixpkgs
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<kyren> okay, this is starting to make sense, but I'm still not sure why it's broken... my NIX_PATH is basically just '/etc/nixpkgs', and this path is valid
<clever> kyren: NIX_PATH=/etc/nixpkgs means to look for <nixpkgs> at /etc/nixpkgs/nixpkgs
<clever> kyren: just like -I/usr/include makes #include <foo.h> look at /usr/include/foo.h
<kyren> well, no it's NIXPKGS='nixpkgs=/etc/nixpkgs'
<kyren> sorry
<clever> you probably want NIX_PATH=nixpkgs=/etc/nixpkgs
<clever> kyren: you can also test it with nix-instantiate --find-file nixpkgs
<kyren> that's what it is, sorry I wasn't being precise
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<kyren> I haven't bisected it or anything, but this behavior started recently, like within the last few days
<ryantm> Why does GitHub consider this PR to be open https://github.com/NixOS/nixpkgs/pull/51500 ?
<{^_^}> #51500 (by colemickens, 11 weeks ago, merged): noto-fonts: update 2017-10-24 -> 2018-11-30
<clever> kyren: can you pastebin the output of `nix-instantiate --find-file nixpkgs -vvvv` ?
<clever> kyren: and also `echo $NIX_PATH`
schjetne has quit [Ping timeout: 244 seconds]
<clever> kyren: looks like its working just fine, what exactly is the problem?
<clever> kyren: rm -rf ~/.cache/nix/tarballs/
pie__ has joined #nixos
<clever> kyren: what is the contents of /etc/nixpkgs/ ?
<kyren> nixpkgs, like COPYING, default.nix, README.md, etc
<kyren> it's currently at git sha 19eedaf867da3155eec62721e0c8a02895aed74b
<clever> kyren: strace -o logfile -ff nix-shell -p hello -vvvv
<clever> and then pastebin the logfile it creates
<kyren> oh, yeah that's a good idea
drakonis has quit [Quit: WeeChat 2.3]
pie___ has quit [Ping timeout: 245 seconds]
ibrahims has joined #nixos
<clever> readlink("/etc/nixpkgs", "static/nixpkgs", 1024) = 14
<kyren> it looks like it has to do with reading a link relative to.. yeah that exactly
<clever> readlink("/etc/static/nixpkgs", "../../xp7gm5nq3r2m16cwhfk71kwqj4"..., 1024) = 119
<clever> kyren: how did you configure /etc/nixpkgs ?
<kyren> so that link exists in the nixpkgs store, and it's valid for where the final target of the link is
<ibrahims> Hello people, i am having difficulty installing ghc844 since yesterday, it tries to build from source and fails miserably, any idea why i might be missing the cache?
<kyren> er, sorry it's valid for where /etc/static/nixpkgs points to
<clever> kyren: it sounds like a bug in nix, when following multiple relative symlinks
<clever> kyren: https://github.com/cleverca22/nixos-configs/blob/master/nixops-managed.nix#L12-L16 is how i do the same thing, and it doesnt have this issue
Mateon3 has joined #nixos
<clever> ibrahims: it was broken in nixos-unstable for a few days, but has already been fixed
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
disasm has quit [Ping timeout: 255 seconds]
<justanotheruser> I'm trying to figure out what to search here. Is there a term for the configuration.nix equivalent which is specific to a user, rather than the system?
<ibrahims> clever: thanks, any idea when it would reflect on 'nix-channel --update'?
<clever> kyren: looks like something worth filing a bug against nixpkgs, but you can use my example as a work-around
lsyoyom has quit [Ping timeout: 246 seconds]
<clever> justanotheruser: config.nix
<justanotheruser> thanks
<clever> ibrahims: i think its already in the latest channel, but i havent confirmed that
<kyren> clever: so you think this is a bug in nix or nixpkgs? Should I file a bug for nixpkgs if it's unclear?
<ibrahims> clever: thank you!
<clever> kyren: hmmm, it could be either, it could be setup-etc.pl breaking things when handling relative links, or it could be a bug in nix, following relative links
<clever> kyren: setup-etc.pl is part of nixpkgs
fusion809 has joined #nixos
schjetne has joined #nixos
sigmundv has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
ircuser5678 has joined #nixos
ircuser5678 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<kyren> clever: okay, thanks a lot for the help, I'll file a nixpkgs bug for lack of a better idea of where the bug is, and the way you have your nix path set up is just as simple as the way I'm doing it, so that works for me as a workaround
schjetne has quit [Ping timeout: 245 seconds]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #52624 → terra: 2016-06-09 -> 1.0.0-beta1 → https://git.io/fhf3P
o1lo01ol1o has quit [Ping timeout: 272 seconds]
fusion809 has quit [Ping timeout: 264 seconds]
vidbina has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #56253 → networkmanager: 1.14.4 -> 1.14.6 → https://git.io/fhbGV
<{^_^}> [nixpkgs] @dtzWill pushed to staging « networkmanager: 1.14.4 -> 1.14.6 (#56253) »: https://git.io/fhbGw
lsyoyom has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
yokyolu has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
vidbina has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
work__ has joined #nixos
rcshm_ has quit [Remote host closed the connection]
rcshm has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ivan> I see a lot of transient 503's that break my nixos-rebuilds e.g. warning: unable to download 'https://cache.nixos.org/nar/0fl6a6iy1zha6pnnvygpprmvcb7wqbg28vjmb4cbjz19zxi8yr6v.nar.xz': HTTP error 503; retrying in 349 ms
<ivan> not enough retries?
Rusty1 has quit [Quit: Konversation terminated!]
o1lo01ol1o has joined #nixos
<clever> ,cache ivan
orivej has joined #nixos
<ivan> I have IPv4 only
<ivan> ah --keep-going
<clever> that will make it build other things, and fail later on
<clever> but youll get more progress done per retry
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Zer000 has joined #nixos
Maxdamantus has quit [Ping timeout: 268 seconds]
fusion809 has joined #nixos
Maxdamantus has joined #nixos
<kyren> clever: thanks a lot, your method works great and now I can upgrade and have wayland enabled alacritty
<kyren> unrelated question though, are dead symlinks ever automatically cleaned up from /etc?
<clever> kyren: setup-etc.pl will keep track of the symlinks it makes, and delete them when it next updates /etc/
<clever> if they are missing from the config
<kyren> I updated and I seem to now have a dead symlink
<clever> the nixpkgs one?
<kyren> yeah
<kyren> I mention because it's possible it's related to the bug... question mark?
<clever> add it to the ticket on nixpkgs, i'm guessing setup-etc.pl is further confused by a symlink to a symlink
<kyren> okay, added, thanks a ton!
<kyren> ++clever
<kyren> wait, did I do that correctly
<dramforever_> clever++
<{^_^}> clever's karma got increased to 102
dramforever_ is now known as dramforever
<kyren> postincrement copies clever and increments the copy, then throws the original clever away :/
nek0 has joined #nixos
<clever> lol
<dramforever> that sounds functional
<clever> ive seen a haskell guy get ++c and c++ mixed up, and translated it to haskel the wrong way, and refused to understand the difference
<Zer000> Halp! I get "Cannot mix incompatible Qt library (version 0x50b01) with this library (version 0x50b03)" when I try to start drumkv1. It used to work!
<clever> Zer000: that happens if you mix qt versions in nix-env vs systemPackages, uninstall everything QT in `nix-env -q`, and add anything you want to keep to systemPackages
<Zer000> I will do that
endformationage has quit [Quit: WeeChat 2.3]
<Zer000> worked LIKE A CHARM. Thank you clever.
<Arahael> Hmm, ANdroid Studio doesn't work properly on nixos, afterall. Just says "Error configuring".
<clever> Zer000: yep
<Arahael> Presumeably, this must be at the NDK setup where it's attempting to use the NDK binaries it just downloaded.
<clever> Arahael: probably, something like the steam-run chroot may help
<Arahael> clever: I'm surprised that the nixos package doesn't do something like that by default. :/
<clever> Arahael: same, but ive not been into android since i switched to nixos
<Arahael> clever: Fair enough. :)
<Izorkin> How to write a file in the let section with awk processing ?
<Arahael> clever: I'm thinking that the sweet spot for a pragmatist developer is to use something like Debian or Fedora - with nix packages.
<clever> Arahael: i would use debian under virtualbox personally
<Arahael> (Though, then again, nixos is *nice*)
<Arahael> clever: Also a great option! I do have a good KVM setup here.
<clever> Arahael: of note, virtualbox doesnt use kvm, and partially conflicts with it
<clever> Arahael: both kvm and virtualbox use the same cpu extensions, and while you can load both drivers at once, only one can be actively using those features
<Arahael> clever: I'm not actually a fan of virtualbox, anyway. :)
<clever> if you start a vbox vm, then qemu-kvm will hard-fail on startup
<clever> but if you close the vbox vm, qemu-kvm instantly begins to work
<Arahael> Been burned by it too many times - I have a fairly low tolerance for crappy software (and it *is* crappy software on windows and macos, it's Oracle, too)
<clever> no need to disable or reset things
<clever> i have noticed the gui has gotten worse after the latest update
<clever> if your confortable with qemu, that also works great
<Arahael> Yes, it's slower, and for some reason I've had windows bluescreen on it, too.
yokyolu has joined #nixos
<Arahael> clever: I'm using the kernel kvm drivers, I believe.
<clever> [clever@system76:~/nixos-configs]$ lsmod | grep -i vbox
<clever> vboxdrv 434176 2 vboxnetadp,vboxnetflt
<clever> kvm_intel 225280 0
<Arahael> virt-manager. :)
<clever> ah, ive not tried that yet
<Arahael> Though, using the 'QEMU/KVM User session', so it does seem qemu is in there somewhere.
<Arahael> WOrks really well, for kicks, I tried tails and Android-x86 on it. Very nice.
rauno has quit [Remote host closed the connection]
<Arahael> So perhaps yes, the ideal pragmatic option is to use nixos as the host, and project-specific VM's for complicated dev setups.
<clever> teto: `--store ssh://foo` requires that $USER (the remote user by the same name as local) be trusted on the remote box, or it cant add things to its /nix/store/
<clever> teto: i think you want --option builders ssh://foo
slack1256 has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
rcshm has quit []
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
palo1 has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #56279 → btpd: init at 0.16, add module → https://git.io/fhbZn
Xal has quit [Ping timeout: 250 seconds]
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
Xal has joined #nixos
iyzsong has quit [Ping timeout: 246 seconds]
schjetne has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
schjetne has quit [Ping timeout: 244 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
emacsomancer has quit [Quit: WeeChat 2.3]
slack1256 has quit [Ping timeout: 255 seconds]
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #56280 → nginx: formating the config file → https://git.io/fhbZr
<Izorkin> Mic92: please check this PR #56280 and #56255
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56280 (by Izorkin, 1 minute ago, open): nginx: formating the config file
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56255 (by Izorkin, 12 hours ago, open): nginx: do not run anything as root
<sphalerite> clever: no, --store is nice for remote building when you're *not* a trusted-user
<sphalerite> teto: it only works with ssh-ng, not with ssh
<sphalerite> teto: so if you just replace ssh with ssh-ng in the command it should work
<sphalerite> clever: --store builds remotely as if it were building locally, i.e. instantiates all the drvs there and obtains all the dependencies by building or from the cache configured remotely, thus not requiring trust
<sphalerite> clever: of course it has some disadvantages too, like not being able to use multiple builders
<slack1256> What is ssh-ng?
<clever> sphalerite: related, ive noticed that you can copy .drv files, even if you arent trusted, because the path is based on a hash of the contents, no trust is needed
<sphalerite> and the long period of no user feedback while it does lots of round-trips instantiating each drv one by one (a "mass-instantiate" protocol message would be nice)
<slack1256> I never knew of such a project
mkoenig has quit [Remote host closed the connection]
<sphalerite> slack1256: yeah it's a bit of a confusing name, ssh-ng just refers to nix's "ng" way of communicating via SSH
<clever> slack1256: its just the name of a protocol within nix, for accessing remote stores
<slack1256> Wow!, where do I read more?
<clever> slack1256: https://gist.github.com/cleverca22/bc86f34cff2acb85d30de6051fa2c339 has random notes ive made about the new store URI's
<slack1256> Cool
<clever> sphalerite: related, i'm having some trouble with signatures on my binary cache
<clever> sphalerite: i can see a sig: in here
<clever> [root@amd-nixos:~]$ nix path-info --store https://hydra.angeldsis.com /nix/store/hwfaajd788v6djj04rc9ss8cfhyj21s2-timeit-2.0 --json | jq
<clever> sphalerite: but this reports no signature
<{^_^}> [nixpkgs] @etu merged pull request #56220 → acpilight: init at 1.1 → https://git.io/fhbZM
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhbZD
<iqubic> How hard is it to get a development environment/nix-shell with the haskell reflex-dom library on nixos?
<jluttine> Can I ask fetchPypi to pass `--pre` flag so that I can use a release candidate?
<sphalerite> clever: cached?
<sphalerite> although path-info doesn't do caching, does it?
<clever> sphalerite: *doh*, thats it
<clever> [root@amd-nixos:~]$ rm -rf ~/.cache/nix/binary-cache-v6.sqlite*
<sphalerite> oh lol
<clever> that fixed path-info
<sphalerite> wheeee I helped clever
emacsomancer has joined #nixos
<clever> :D
mkoenig has joined #nixos
<clever> 3am, and there is just so much to remember, easy to forget things sometimes
<clever> and i dont know how i managed to overlook this on my hydra for so long
<clever> i dont think its ever been signing things?
<{^_^}> [nixpkgs] @dotlambda merged pull request #56268 → pythonPackages.pykerberos: take krb5 as a nativeBuildInput → https://git.io/fhbmP
<{^_^}> [nixpkgs] @dotlambda pushed commit from @catern to staging-next « pythonPackages.pykerberos: take krb5 as a nativeBuildInput (#56268) »: https://git.io/fhbZy
<sphalerite> nix sign-paths --all lol
aanderse has quit [Ping timeout: 250 seconds]
<clever> sphalerite: already started that, but i dont think hydra takes advantage of any nix2.0 features
<clever> secret-key-files = /etc/nix/keys/secret-key-file
<clever> nix.conf is already set to sign everything, so it should have already had a signature anyways
<yokyolu> infinisil: silly me, sorry
<LnL> clever: I pass that in the store_uri query parameters
<sphalerite> clever: doesn't it depend on the remote builders for hydra?
xkapastel has joined #nixos
<yokyolu> i'm trying to pass a lens package from a pinned nixpkgs
<clever> LnL: i setup `store-uri = file:///nix/store?secret-key=/etc/nix/keys/secret-key-file` and hydra didnt add `Sig:` to its narinfo files
<LnL> also the fact that the narinfo cache never invalidates entries is pretty annoying
<yokyolu> but cabal doesn't see it
<sphalerite> LnL: does it really *never* invalidate thme?
<clever> LnL: for positive cache hits, it caches it for days, which can be a problem
<clever> for negative hits, it caches it for a few hours i think
<clever> narinfo-cache-negative-ttl = 3600
<clever> narinfo-cache-positive-ttl = 2592000
<clever> > 2592000 / 3600
<{^_^}> 720
<clever> 1h and 720 hours
<clever> > 2592000 / 3600 / 24
<{^_^}> 30
<LnL> clever: I mean if eg. substitution fails
<clever> ouch, 30 days!
<clever> LnL: yeah, thats part of where iohk ran into trouble, hydra would GC something, and then for 30 days, anything using the cache would fail hard, because the cache says it exists, but it doesnt
aanderse has joined #nixos
<clever> LnL: we got around it by just switching to s3://, which cant GC
<LnL> yeah, separating the cache to file/s3 is better than serving the local store directly
<clever> also better for security
<clever> but i dont have infinite storage for my personal hydra, so GC is a must
<teto> sphalerite: clever: thanks for the answers, I will post your ansers on the discourse if that's ok with you
<clever> teto: sure
<LnL> so aparently the option is secret-key-files but the query parameter is secret-key
<clever> LnL: was just thinking of that, create a local cache, that can be hosted with static file hosting
<clever> but it lacks GC support, so it will grow costly
<clever> LnL: but i did just have an idea, what about local?root=/foo/, then its a full store (with GC) yet isolated from your secrets
<LnL> oh interesting, but I don't know if hydra will create proper roots for that
zupo has joined #nixos
<clever> LnL: the gc root stuff has a lot of problems with local=
<clever> ive got a few issues open on that in nix
<teto> gosh discourse has badges for everything, I added an emoji, BAM NEW BADGE !
<{^_^}> [nixpkgs] @matthewbauer opened pull request #56281 → Statically built Nix → https://git.io/fhbZF
<clever> LnL: while checking for my issues, i found https://github.com/NixOS/nix/issues/2675#issuecomment-466742841
<{^_^}> [nix] @matthewbauer opened pull request #2698 → Add --whole-archive to include all store implementations → https://git.io/fhbZb
<LnL> oh :/
gagbo has joined #nixos
work__ has quit [Quit: Connection closed for inactivity]
dramforever has quit [Quit: Leaving]
<{^_^}> nix#2174 (by cleverca22, 39 weeks ago, open): nix-collect-garbage doesnt obey local?root=/mnt
<{^_^}> nix#2125 (by cleverca22, 42 weeks ago, open): indirect roots dont work with local?root=/mnt
orivej has quit [Ping timeout: 245 seconds]
kisik21 has quit [Quit: WeeChat 2.4-dev]
<{^_^}> [nixpkgs] @etu merged pull request #56280 → nginx: formating the config file → https://git.io/fhbZr
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhbnJ
knupfer has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @FRidh closed pull request #56262 → trezor: adding glibcLocales to build inputs → https://git.io/fhbqx
dermetfan has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ad2585e3501 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
FRidh has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fhbnG
jb55 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @vcunat merged pull request #52833 → netatalk: 3.1.11 -> 3.1.12 → https://git.io/fhUF4
<{^_^}> [nixpkgs] @vcunat closed pull request #55722 → pythonPackages.pkgconfig: use same setupHook as pkgconfig → https://git.io/fh7qN
<{^_^}> [nixpkgs] @FRidh pushed 189 commits to staging-next: https://git.io/fhbnn
schjetne has joined #nixos
infinii has joined #nixos
jb55 has joined #nixos
_kwstas has joined #nixos
domogled1 has joined #nixos
<domogled1> h
orivej has joined #nixos
domogled1 is now known as domogled
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhbnV
_kwstas has quit [Quit: _kwstas]
<{^_^}> [nixpkgs] @pSub pushed to update-parallel « parallel: 20190122 -> 20190222 »: https://git.io/fhbnr
sicklorkin has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghcjs: disable Hydra builds while the build is marked as broken »: https://git.io/fhbno
<{^_^}> [nixpkgs] @pSub opened pull request #56282 → parallel: 20190122 -> 20190222 → https://git.io/fhbnK
agander has joined #nixos
<sphalerite> clever: I was thinking recently about how remote building performance could be much better if there were a mass path query operation (to avoid 1 RTT per path queried), and even started implementing it. But I think that might be a bit of a short-sighted approach, since it doesn't address any other operations like instantiation. I think a new daemon protocol which supports multiple operations in parallel would
<sphalerite> be really nice, or even just opening multiple nix-daemon --stdio instances on the same ssh connection
<clever> sphalerite: something ive thought of, that would improve the perf of hydra
<clever> sphalerite: lets say you have 2 build slaves, A has nothing in the store, B has 80% of some closure
<clever> then you need to build something, which slave do you pick for the job?
<sphalerite> mumble mumble https://github.com/NixOS/nix/issues/2236
<{^_^}> nix#2236 (by lheckemann, 35 weeks ago, open): Treat remote builders as substituters?
Glider_IRC__ has joined #nixos
<clever> sphalerite: i was thinking more to reduce how much you have to copy, to get the builder up to speed, but your issue also helps, if one of the builders happens to have a finished product
<sphalerite> yeah
<clever> [clever@amd-nixos:~/apps/cachecache]$ nix-build https://github.com/nixos/nixpkgs/archive/master.tar.gz -A haskellPackages.pipes-async
<clever> sphalerite: pipes-async is also busted on master
Glider_IRC_ has quit [Ping timeout: 250 seconds]
<sphalerite> but by that reasoning you'd typically end up building everything on one machine, no?
petrkr has joined #nixos
<etu> Is there any variable (like $out) that specify the build directory? I'm building a derivation that hardcode /tmp/.whatever-something and tries to write things there during build
<clever> sphalerite: you would also obey max-jobs, and maybe try to keep things balanced
<clever> so it would have to use weights, and prefer something with more of the inputs, but not force it
<clever> etu: $NIX_BUILD_TOP i believe
<clever> etu: thats the output of running `env` in a bare env (not even the stdenv is present)
<etu> clever: ah, thanks :-)
<etu> found it in the manual now when I knew what to search for
<clever> etu: TMPDIR, TEMP, and TMP also point to the same path
<etu> noted
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhbnD
otulp has quit [Remote host closed the connection]
sicklorkin has joined #nixos
schjetne has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-base-compat-batteries: fix build with ghc 8.2.2 and 8.4.4 »: https://git.io/fhbnQ
<Izorkin> How to need to merge this PR #54903 #51902 #44343 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54903 (by Izorkin, 3 weeks ago, open): pythonPackage.psutil: 5.4.8 -> 5.5.1
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 10 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44343 (by Izorkin, 29 weeks ago, open): mariadb: 10.2.17 -> 10.3.12
domogled1 has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
domogled1 is now known as domogled
<{^_^}> [nixpkgs] @etu merged pull request #56275 → gromit-mpx: 1.2 -> 1.3 → https://git.io/fhbst
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhbnb
<{^_^}> [nixpkgs] @matthewbauer opened pull request #56284 → libglvnd: fix darwin → https://git.io/fhbnN
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fhbnA
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fhbnx
<{^_^}> [nixpkgs] @peti pushed 5 commits to master: https://git.io/fhbnp
gagbo has quit [Quit: I'm out !]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 191 commits to python-unstable: https://git.io/fhbcv
hedning has joined #nixos
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhbck
<{^_^}> [nixpkgs] @srhb closed pull request #56008 → pandoc: remove bit no longer needed → https://git.io/fhdtU
alex`` has joined #nixos
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #55469 → waf: 2.0.13 -> 2.0.14 → https://git.io/fhHVg
<{^_^}> [nixpkgs] @FRidh pushed commit from @bhipple to staging « waf: 2.0.13 -> 2.0.14 »: https://git.io/fhbct
Maxdamantus has quit [Ping timeout: 244 seconds]
infinii has quit [Ping timeout: 245 seconds]
Maxdamantus has joined #nixos
kisik21 has quit [Quit: ERC (IRC client for Emacs 26.1)]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
hellrazor has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Mic92 merged pull request #56235 → glibc: fix cross-build → https://git.io/fhbcn
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fhbcc
schjetne has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « glibc: fix cross-build »: https://git.io/fhbcl
agander_ has joined #nixos
<{^_^}> [nix] @matthewbauer closed pull request #2135 → Add "arx" scripts to release → https://git.io/vp2N0
agander__ has joined #nixos
agander is now known as Guest42501
Guest42501 has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
agander__ is now known as agander
Ariakenom has joined #nixos
agander_ has quit [Ping timeout: 250 seconds]
simukis has joined #nixos
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #56286 → apache-httpd: formating the config file → https://git.io/fhbcz
xeji has joined #nixos
agander has quit [Ping timeout: 250 seconds]
johanot has joined #nixos
<{^_^}> [nixpkgs] @eonpatapon opened pull request #56287 → mpdris2: 0.7 -> 0.8 → https://git.io/fhbci
<{^_^}> [nixpkgs] @tokudan opened pull request #56288 → burp: 2.2.16 -> 2.2.18 → https://git.io/fhbc1
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56282 → parallel: 20190122 -> 20190222 → https://git.io/fhbnK
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fhbc7
gagbo has quit [Quit: I'm out !]
ng0 has joined #nixos
gagbo has joined #nixos
shabius has quit [Ping timeout: 258 seconds]
shabius has joined #nixos
<{^_^}> [nixpkgs] @jokogr opened pull request #56289 → mattermost-desktop: 4.1.2 -> 4.2.0 → https://git.io/fhbcF
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.09: https://git.io/fhbcA
<{^_^}> [nixpkgs] @xeji merged pull request #55514 → vcs_query: init at 0.4.0 → https://git.io/fhHNa
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « vcs_query: init at 0.4.0 (#55514) »: https://git.io/fhbcx
shabius has quit [Ping timeout: 250 seconds]
Zer000 has quit [Ping timeout: 246 seconds]
gagbo has quit [Quit: I'm out !]
<{^_^}> [nixpkgs] @LnL7 opened pull request #56291 → cmake: fix darwin bootstrapping → https://git.io/fhbCJ
joko has joined #nixos
Thra11 has joined #nixos
_kwstas has joined #nixos
Ariakenom has quit [Quit: Leaving]
kisik21 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #55911 → bfs: 1.3.2 -> 1.3.3 → https://git.io/fh58e
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « bfs: 1.3.2 -> 1.3.3 (#55911) »: https://git.io/fhbCq
silver has joined #nixos
rembo10_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @jtojnar opened pull request #56292 → luakit: 2017.08.10 → 2.1 → https://git.io/fhbCO
<joko> Hey, does r-ryantm pick both pname and name in packages?
<{^_^}> [nixpkgs] @xeji merged pull request #55488 → dirvish: init at 1.2.1 → https://git.io/fhHDC
<{^_^}> [nixpkgs] @xeji pushed 5 commits to master: https://git.io/fhbCG
rembo10 has joined #nixos
ng0 has quit [Remote host closed the connection]
ng0 has joined #nixos
kisik21 has joined #nixos
rembo10 has quit [Client Quit]
orivej has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos
kisik21 has quit [Remote host closed the connection]
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56269 → nomachine-client: 6.4.6_1 -> 6.5.6 → https://git.io/fhbmA
<{^_^}> [nixpkgs] @xeji pushed commit from @talyz to master « nomachine-client: 6.4.6_1 -> 6.5.6 (#56269) »: https://git.io/fhbCl
ottidmes has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
rembo10 has joined #nixos
aszlig has joined #nixos
rembo10 has quit [Client Quit]
rembo10 has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56252 → xorg: update misc packages, fix xf86inputlibinput to use proper version → https://git.io/fhbCu
<{^_^}> [nixpkgs] @xeji pushed 3 commits to staging: https://git.io/fhbCz
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/48b4e1c6bf2 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<kyren> I feel like I'm missing something basic, but I'm writing a script with nix-shell where several packages are made available, and I need a file out of the nix store for one of those packages
<kyren> I could write a nix expression that references that package and does string interpolation, thus getting the path in the nix store that way
<kyren> but if I just have a quick nix-shell script, I feel like there should be a way to find the path to the store of one of the available packages so I can reference a file inside of it
<{^_^}> [nixpkgs] @pSub pushed 0 commits to update-parallel: https://git.io/fhbCV
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @ikervagyok to staging « xorg/xfsinfo: init at 1.0.6 »: https://git.io/fhbCS
<{^_^}> [nixpkgs] @xeji pushed commit from @ikervagyok to staging « xorg/xstdcmap: init at 1.0.4 »: https://git.io/fhbC9
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/235487585ed (from 64 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @xeji closed pull request #56260 → [staging] x11 updates → https://git.io/fhbqs
<johanot> kyren: I think "${pkgs.foo}/path/to/file" would be the right way to reference a file in the store from a script. Perhaps I misunderstand what you are trying to do?
<kyren> johanot: I mean a bash script using #! /usr/bin/env nix-shell
<kyren> concretely, I need OVMF_CODE.fd out of '${pkgs.OVMF.fd}/FD/OVMF_CODE.fd'
<kyren> I could do it with nix-build '<nixpkgs>' --no-build-output -A OVMF.fd
<kyren> which is sort of right, but I feel like I'm doing the same thing twice
<kyren> I could also just write a separate .nix file
<johanot> kyren: yeah, you could do that. I think I would consider generating the script itself from a nix expression. This makes it easier to template in stuff, obviously.
<{^_^}> [nixpkgs] @xeji merged pull request #55622 → yanone-kaffeesatz: init at 2004 → https://git.io/fhQaL
<{^_^}> [nixpkgs] @xeji pushed commit from @mt-caret to master « yanone-kaffeesatz: init at 2004 (#55622) »: https://git.io/fhbCN
thc202 has joined #nixos
<kyren> alright, that makes sense, thanks!
xeji has quit [Quit: WeeChat 2.2]
zupo has joined #nixos
zupo has quit [Client Quit]
Makaveli7 has quit [Quit: Leaving]
Makaveli7 has joined #nixos
slyfox has quit [Quit: :)]
ottidmes has quit [Ping timeout: 246 seconds]
NickHu has quit [Quit: WeeChat 1.9.1]
slyfox has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #56293 → ocamlPackages.ocamlbuild: 0.12.0 -> 0.14.0 → https://git.io/fhbWt
emily has quit [Remote host closed the connection]
emily has joined #nixos
<betawaffle> does anyone know how to get the nftables-compat stuff on nix? (like all the {ip,arp,eb}tables translators)
o1lo01ol1o has joined #nixos
orivej has joined #nixos
<johanot> betawaffle: looks like they're part of the iptables package
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<betawaffle> but that conflicts with nftables, doesn't it?
<johanot> that depends on what rules you add with either of the cli's I guess. The compat-tools add global chains, just like iptables. Whereas nft supports better namespacing with custom tables and chain hooks.
<betawaffle> ok, but i could probably just put in the old style rules i want, then pull them out as nftables stuff, right?
<johanot> that's possible yes
_kwstas has quit [Quit: _kwstas]
<betawaffle> thanks
<betawaffle> hmmm... Problem with the specified Ethernet protocol '802_1Q', perhaps /etc/ethertypes is missing.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/235487585ed (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e04f56eb754 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
kisik21 has quit [Quit: ERC (IRC client for Emacs 26.1)]
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #55739 → qutebrowser: choose correct executable when restarting → https://git.io/fh7cB
<{^_^}> [nixpkgs] @dotlambda pushed to master « qutebrowser: choose correct executable when restarting (#55739) »: https://git.io/fhbW6
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh pushed commit from @Izorkin to staging-next « pythonPackages.psutil: 5.4.8 -> 5.5.1 »: https://git.io/fhbWM
kenshinCH has joined #nixos
justjoe has joined #nixos
justjoe has left #nixos ["Leaving"]
shabius has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #56225 → esphome: 1.10.1 -> 1.11.1 → https://git.io/fhbWd
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhbWF
johanot has quit [Ping timeout: 246 seconds]
vdemeester` has joined #nixos
petrkr_ has joined #nixos
petrkr has quit [Read error: Connection reset by peer]
kisik21 has quit [Remote host closed the connection]
arjen-jonathan has joined #nixos
<aanderse> in nixos mysql is pretty awesome because of services.mysql.ensureDatabases and services.mysql.ensureUsers... this can allow for some really clean module code if we wanted. i'm pretty sure postgres has the equivalent of mysqls unix socket authentication, so does anyone know why there isn't a services.postgresql.ensureDatabases and services.postgresql.ensureUsers?
<srhb> aanderse: I can't answer your question directly (I don't know exactly what those options are) but I do know that the postgres module has been up for overhaul for a long, long time, and unfortunately hasn't gotten into master yet. People might be slightly wary of making modifications until we have that in, which should hopefully get us out of version limbo a bit more?
<srhb> aanderse: Talking to the authors of some of those PRs might also help (check the pull requests for "postgresql")
<aanderse> srhb: ok, thanks for the info
petrkr_ has quit [Ping timeout: 258 seconds]
<aanderse> yeah there is quite a bit of nasty module code for postgres which could be simplified so much if postgres had the same options for having nixos setup databases... i'll ping some people :)
<srhb> aanderse: Sounds great, thanks for your attention on the subject :)
<dminuoso> ancarda: It's not as nice. You can provide an initialScript to create the respective database roles though.
<dminuoso> aanderse: ^-
<dminuoso> Interesting, apparently weechat grabs recently mentioned names on tab completion now.
<aanderse> dminuoso: i've only ever used postgres as a developer, and only minimally there, so i'm not familiar with the authentication methods as much
<aanderse> a quick search said the same end result (as mysql socket auth) could be achieved, though
kisik21 has joined #nixos
<aanderse> the mysql module just executes the code needed to create the databases, users, and permissions every time it starts
vdemeester` has quit [Quit: ERC (IRC client for Emacs 26.1)]
<aanderse> dminuoso: yeah, that looks good. i was very briefly reading about combining the "trust" auth-method with....
<aanderse> something... i can't remember
<aanderse> to make it the equivalent of mysql socket auths end result
<dminuoso> aanderse: I dont know how mysql authentication works, so..
<aanderse> it locks authentication to a logged in user
o1lo01ol1o has joined #nixos
<dminuoso> aanderse: postgres calls that ident
<aanderse> so if you create a user called aanderse in your mysql database and say they authenticate via unix sockets then they don't need a password anymore
<dminuoso> Or peer.
<dminuoso> aanderse: Ah yes. That's called 'peer' in postgresql hba
<aanderse> ah ok
<aanderse> so...
<aanderse> services.postgresql.ensureUsers = [ { name = "aanderse"; ensurePermissions = { "mydatabase.*" = "ALL PRIVILEGES"; "anotherdb.someTable" = "SELECT"; } } ]
<aanderse> if you could do that there are some modules that could be greatly cleaned up
NickSeagull has joined #nixos
<dminuoso> aanderse: Contributions are always welcome Id say.
<dminuoso> :-P
<aanderse> i'd contribute but have never worked with postgresql in a sysadmin way (yet?)
ponpinu[m] has joined #nixos
<aanderse> if you're willing to provide advice and review...
<aanderse> i might tackle it
<aanderse> or someone who knows *way* more about postgresql than i do
<aanderse> heh
<{^_^}> [nixpkgs] @dotlambda closed pull request #56036 → pythonPackages.sortedcontainers: 2.0.5 -> 2.1.0 → https://git.io/fhdCq
eadwu has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
jtcs has joined #nixos
pinkypie has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
yokyolu has quit [Ping timeout: 246 seconds]
dramforever has joined #nixos
<betaboon> is there a way to package an application wine-wrapped ?
<DigitalKiwi> i was wondering that the other day
<DigitalKiwi> if you find out let me know ;)
<betaboon> DigitalKiwi: will do :)
<gchristensen> I asked that a few years ago and the answer I got was "are you sure you want to maintain a wine-wrapped package?"
<betaboon> gchristensen: i would love something like a mk
<DigitalKiwi> i packaged ocrmypdf but i had a few questions about doing a PR for it and making it good enough
<{^_^}> [nixpkgs] @Profpatsch opened pull request #56295 → nettee: init at 0.3.4 → https://git.io/fhblw
<betaboon> *mkWineWrapped { src, wineTricks= [ ]};
<MichaelRaskin> gchristensen: why do I have a suspicion that maintaining some non-Wine-wrapped packages is noticeably worse?
acarrico has joined #nixos
<gchristensen> some software is hard to package for sure
<betaboon> but better hard to package-once than hard install-always
agander has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @seppeljordan opened pull request #56296 → nix-prefetch-github: 2.0 -> 2.1 → https://git.io/fhblQ
<DigitalKiwi> i guess the first question is it needed a newer version of pdfminer_six, i just added the right one, but i think the existing one should be updated? but what if the things that already use it don't work with the newer version then do i update those too? and how do i test them and stuff
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/235487585ed (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
o1lo01ol1o has joined #nixos
<betaboon> DigitalKiwi: the need to wrap something in wine just disappeared ;)
hyperfek has joined #nixos
ixxie has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<DigitalKiwi> oh how so?
<{^_^}> [nixpkgs] @jluttine opened pull request #56298 → pythonPackage.XlsxWriter: 1.1.2 -> 1.1.5 and pythonPackage.can: 3.0.0 -> 3.1.0 → https://git.io/fhblp
<hyperfek> Is there any canonical way to reexport a module's options in a modified way? Say I want to add an 'abc' option to services.xyz and export it as services.def
<DigitalKiwi> https://dpaste.de/JdC1/raw here're the files i added
<betaboon> DigitalKiwi: just kinda decided it was not worth it.
<DigitalKiwi> they probably need cleaned up a bit
<DigitalKiwi> betaboon: oh, yeah, all too familiar sentiment >.>
<DigitalKiwi> i never got the setuptools_scm_git_archive package to work
johanot has joined #nixos
Ariakenom has joined #nixos
<hyperfek> Also I'm still looking for a way to copy a function's formal arguments :/
EoF has joined #nixos
<DigitalKiwi> gchristensen: can you help me make these PR worthy? or anyone else i'm not picky i don't know who's who
<joepie91> yeah... pango is /definitely/ broken in steam-run
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> Mmm, is there a way to use xmonad with cabal-install so I can manage dependencies with v2-*?
<dminuoso> Or do I have to roll my own here?
<{^_^}> [nixpkgs] @dotlambda merged pull request #55846 → python37Packages.pytest-httpbin: 0.3.0 -> 1.0.0 → https://git.io/fh5TH
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.pytest-httpbin: 0.3.0 -> 1.0.0 (#55846) »: https://git.io/fhb8e
Ariakenom has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
petrkr has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
o1lo01ol1o has joined #nixos
<infinisil> dminuoso: xmonad can really just be a normal haskell project
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.09: https://git.io/fhb8c
cantstanya has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat merged pull request #55893 → samba: 4.7.10 -> 4.7.12 [18.09] → https://git.io/fh5Z4
goibhniu has joined #nixos
<Ariakenom> do I need a boot partition?
cantstanya has joined #nixos
cantstanya has quit [Remote host closed the connection]
johanot has quit [Ping timeout: 246 seconds]
<symphorien> with a bios you don't
cantstanya has joined #nixos
init_6 has quit []
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<__monty__> Depends what bootloader and filesystem you use though. I need one because of LVM for example.
<Ariakenom> I am trying to use LVM, yeah
<__monty__> I needed it either because of syslinux or because of btrfs. Probably the latter but not sure.
dramforever has quit [Quit: Leaving]
<Ariakenom> But I'm just going for old ext4
<__monty__> Ah, it's because syslinux doesn't support LVM. So if you use grub you don't need the seperate partition.
<__monty__> I may have been mixing things up with btrfs's partitionless functionality.
<{^_^}> [nixpkgs] @jluttine opened pull request #56300 → nano-wallet: 16.3 -> 18.0 → https://git.io/fhb8V
agander has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jluttine opened pull request #56301 → pythonPackage.pvlib: 0.6.0 -> 0.6.1 → https://git.io/fhb8r
agander has joined #nixos
vidbina has joined #nixos
sondr3 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fhb86
o1lo01ol1o has joined #nixos
Uniaika has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #55890 → samba: 4.7.10 -> 4.7.12 → https://git.io/fh5GP
o1lo01ol1o has quit [Ping timeout: 272 seconds]
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nixpkgs] @srhb merged pull request #56296 → nix-prefetch-github: 2.0 -> 2.1 → https://git.io/fhblQ
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fhb8y
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jluttine opened pull request #56302 → pythonPackage.eth-utils: 1.2.1 -> 1.4.1 → https://git.io/fhb85
<[Leary]> dminuoso: The functionality is less useful on NixOS since you can easily manage extra dependencies in configuration.nix, but xmonad does have contingencies to be recompiled via cabal or stack: when asked to recompile, if it finds an executable ~/.xmonad/build then it will run it with a target path as an argument before restarting with the binary it finds at that path.
<[Leary]> So you make a cabal project around your xmonad.hs, and have the script build it and move/link the binary.
o1lo01ol1o has quit [Ping timeout: 255 seconds]
vidbina has quit [Read error: Connection reset by peer]
vidbina has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0f43790d2ce (from 49 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<ivegotasthma> how can I instal vue-cli in nixos?
<ivegotasthma> it has a binary that I need to generate a project with
<ivegotasthma> I've tried to generate a nix expression with node2nix, but the binary is not there
Ariakenom has quit [Remote host closed the connection]
pinkypie has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #53472 → virtscreen: init at 0.3.1 → https://git.io/fhsvn
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/fhb4f
<ivegotasthma> my node-packages.json is -> [ "@vue/clie" ] and I run `node2nix -i node-package.json`. Whenever I try to run the generated `default.nix` file I get an error: `nix-shell requires a single derivation`
<Ariakenom> where do I change the keyboard layout?
<ivegotasthma> Ariakenom: this is how I do it: https://dpaste.de/Hbf7/raw
<ivegotasthma> Ariakenom: it's via the configuration.nix, I change it with alt + shift
<Ariakenom> Also I just got everything up and running smoothly :D. copied /home from other distro and nothing burned so far
<Ariakenom> thanks. what about the i18n console layout thing?
petrkr has quit [Ping timeout: 258 seconds]
<ivegotasthma> Ariakenom: https://nixos.org/nixos/options.html#i18n all the options mention virtual consoles
<ivegotasthma> which I doubt is what you want to configure
<ivegotasthma> but you can wait around for someone to answer
petrkr has joined #nixos
<Ariakenom> well I probably want that one fixed too. consoleKeyMap = "sv" is probably what I want
<[Leary]> I just set i18n.consoleUseXkbConfig = true;
<Ariakenom> Oh nice
FRidh has quit [Quit: Konversation terminated!]
<Ariakenom> [Leary]: does that replace font, keymap, and locale?
<[Leary]> Xkb is just about the keymap, though I'm not sure how it interacts with locale... I do set that separately. Font is orthogonal.
<infinee> Does anyone have a shell.nix they can share with me that sets up nodejs with nodePackages?
petrkr has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
petrkr has joined #nixos
Ariakenom has quit [Quit: Leaving]
petrkr_ has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #56303 → Initialize python pyviz stack and intake → https://git.io/fhb4R
vidbina has quit [Read error: Connection reset by peer]
petrkr has quit [Ping timeout: 258 seconds]
petrkr_ has quit [Remote host closed the connection]
petrkr_ has joined #nixos
petrkr_ has quit [Remote host closed the connection]
hyperfek has quit [Ping timeout: 256 seconds]
petrkr_ has joined #nixos
petrkr_ has quit [Remote host closed the connection]
petrkr_ has joined #nixos
<jluttine> How do you fetch updates to nixpkgs repo from github? i'm getting constant timeouts apparently because there's some much to fetch..
<infinisil> jluttine: No idea what you mean, can you be a bit more specific?
<joepie91> okay, so - cc samueldr - when you run into issues with all text just being blocks/squares and no font being rendered, for software that's running via `steam-run`, and with a bunch of Pango-related errors on the terminal... the workaround is to make a packageOverride for Steam that sets nativeOnly to true; that may break other stuff though, since it no longer uses the vendored Steam libraries
<joepie91> guess I'll have to file a bug about this
<jluttine> infinisil: when fetching from github.com nixpkgs, i get: "error: RPC failed; curl 18 transfer closed with outstanding read data remaining"
<samueldr> hm, good to know I guess :) thanks joepie91
<joepie91> packageOverrides = pkgs: { steam = pkgs.steam.override { nativeOnly = true; }; };
<infinisil> jluttine: Fetching what?
<joepie91> samueldr: (also, keyword spam to make it googleable from the logs :P)
<jluttine> infinisil: git fetch upstream, so i think it fetches all branches
<infinisil> Oh well that certainly looks like a GitHub issue, nothing Nix related
<infinisil> Or your network
<infinisil> Or git
<infinisil> (or the possibly hundred other parts of hardware/software involved in transmission)
Ariakenom has joined #nixos
<jluttine> infinisil: yeah, no problem in nix. just wondering if others have similar issues as it's probably related to the huge repo size with github.
ottidmes has joined #nixos
<infinisil> Yeah :)
<infinisil> (I don't have any such issues right now)
vidbina has joined #nixos
alex`` has quit [Ping timeout: 255 seconds]
PirBoazo has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to staging-next: https://git.io/fhb4M
<{^_^}> [nixpkgs] @vcunat merged pull request #56291 → cmake: fix darwin bootstrapping → https://git.io/fhbCJ
<{^_^}> [nixpkgs] @Izorkin opened pull request #56304 → apache-httpd: do not run anything as root → https://git.io/fhb4y
<PirBoazo> Hi all
freeman42x has joined #nixos
<PirBoazo> I am seeking support about an issue with the kernel 4.14.102
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/494f3ca6888 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<PirBoazo> \quit
PirBoazo has left #nixos [#nixos]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
petrkr_ has quit [Remote host closed the connection]
petrkr_ has joined #nixos
petrkr_ has quit [Remote host closed the connection]
petrkr_ has joined #nixos
tg has quit [Ping timeout: 258 seconds]
petrkr__ has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #56257 → matrix-synapse: restore service wrapper script → https://git.io/fhb4j
<{^_^}> [nixpkgs] @Ekleog pushed 4 commits to master: https://git.io/fhbBe
vidbina has quit [Read error: Connection reset by peer]
petrkr_ has quit [Ping timeout: 258 seconds]
dwdr has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/fhbBf
tg has joined #nixos
<{^_^}> [nixpkgs] @jluttine opened pull request #56305 → pythonPackage.Nikola: 8.0.1 -> 8.0.2 → https://git.io/fhbBJ
<{^_^}> [nixpkgs] @xeji merged pull request #56288 → burp: 2.2.16 -> 2.2.18 → https://git.io/fhbc1
<{^_^}> [nixpkgs] @xeji pushed commit from @tokudan to master « burp: 2.2.16 -> 2.2.18 (#56288) »: https://git.io/fhbBT
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<infinee> if I have cloned nixpkgs locally. How do I specify it in my `~with import <nixpkgs> {}~ ?
<symphorien> replace <nixpkgs> by /path/to/clone
<samueldr> > <nixpkgs>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
<samueldr> the angled brackets syntax basically resolves to a path
<samueldr> > <nixpkgs/nixos>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/nixos
petrkr__ has quit [Remote host closed the connection]
eadwu has quit [Quit: WeeChat 2.4]
<infinee> thanks
<samueldr> >> Paths can also be specified between angle brackets, e.g. <nixpkgs>. This means that the directories listed in the environment variable NIX_PATH will be searched for the given file or directory name.
<Izorkin> Not work command - post-configFile = pkgs.runCommand "httpd.conf" ''awk -f ${awkFormat} ${httpdConf} | sed '/^\s*$/d' > $out''; error cannot coerce a function to a string. How to fix?
softinio has joined #nixos
petrkr__ has joined #nixos
cswl has joined #nixos
<softinio> is there a hosted hydra service anywhere ?
eadwu has joined #nixos
eadwu has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
agander has quit [Ping timeout: 245 seconds]
eadwu has joined #nixos
rauno has joined #nixos
Guilherme has joined #nixos
<Guilherme> I was making a package
<Guilherme> when I do
infinee has quit [Quit: brb]
<Guilherme> installPhase = '' cp ../out/category-theory-for-programmers.pdf $out cp ./aa.txt $out mkdir -p $out/bin cp ./aa.txt $out/bin '';
<Guilherme> it works
petrkr__ has quit [Remote host closed the connection]
petrkr__ has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #44573 → nixos/cloudstack-image: initial import → https://git.io/fNML9
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbBn
<Guilherme> I dont know how to specify stdenv.mkDerivation if is a folder or not
<dminuoso> [Leary]: Ah I see, so I could just provide a shell script that runs `cabal v2-run myxmonad`? The reason this is useful to me is because I have some dependency not available as a nixpkg
<ryantm> Guilherme: What happens when it doesn't work?
infinee has joined #nixos
<sphalerite> softinio: I don't think so
<symphorien> Guilherme: $out does not exist when you start building, so you are responsible to create it with mkdir if you want $out to be a directory, or to move a file
<symphorien> to it if you want it to be a file
<ryantm> Guilherme: You can also use `install` to automatically make the directory and copy the file.
kisik21 has quit [Remote host closed the connection]
kisik21 has joined #nixos
<Guilherme> thank you, it was really the problem
<[Leary]> dminuoso: Unless you need to hack on that dependency and have the changes seen on recompile without rebuilding your NixOS system, it's better to produce a nix derivation for that dependency and make it available via the options exposed for xmonad.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/494f3ca6888 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
petrkr__ is now known as petrkr
<[Leary]> Either way, I don't think you'll be able to get v2-run to help you; xmonad needs your script to produce a binary that /it/ runs. Maybe v2-install can take a target path argument, otherwise you need to v2-build, find the binary in dist-new and move it.
<dminuoso> [Leary]: That's actually surprisingly easy. Using v2-run you can just find the binary using 'which' :-)
<dminuoso> Its how I have been extracting build artifacts for slim docker containers for a while now
NickSeagull has quit [Quit: WeeChat 2.2]
<[Leary]> Ah, if you're only using it for something like which then yeah.
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fhbBz
kisik21 has quit [Remote host closed the connection]
Guilherme has quit [Quit: Page closed]
kisik21 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-18.09: https://git.io/fhbBa
NickSeagull has joined #nixos
simukis has quit [Quit: simukis]
vidbina has quit [Read error: Connection reset by peer]
PirBoazo has joined #nixos
simukis has joined #nixos
<NickSeagull> Speaking of XMonad, is there a way of linking the config through its Nix expression like one can do with i3?
<PirBoazo> Bonjour , Hello
<NickSeagull> I used to do a `i3Cfg = writeFile ...` and then `i3.configFile = i3Cfg`, whilst with the XMonad nix expression I cannot seem to be able to do that
<NickSeagull> Hello PirBoazo :)
eadwu has quit [Quit: WeeChat 2.4]
eadwu has joined #nixos
<PirBoazo> I am seeking support about an issue with kernel 4.14.102
kisik21 has quit [Quit: ERC (IRC client for Emacs 26.1)]
o1lo01ol1o has quit [Ping timeout: 255 seconds]
kisik21 has joined #nixos
<PirBoazo> where find forms to report an issue?
<sphalerite> PirBoazo: you can open an issue on the nixpkgs github repo (https://github.com/nixos/nixpkgs/issues) or ask your question here if you're not sure if it's a bug
<sphalerite> PirBoazo: also, #nixos-fr speaks french :)
<PirBoazo> I think it's bug , i don't have issue with the 4.14.98
endformationage has joined #nixos
<PirBoazo> :-) merci sphalerite
kisik21 has quit [Remote host closed the connection]
kisik21 has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
<rycee> dminuoso: The issue with `nix-env -qaP` should be resolved now. Try updating HM and see if it works.
<dminuoso> rycee: Absolutely, can you point me to the relevant commit (Im curious)?
kisik21 has quit [Remote host closed the connection]
kisik21 has joined #nixos
<PirBoazo> sphalerite: nobody on #nixos-fr
alex`` has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a13f0a1dcd5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
oida has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
hellrazor has quit [Quit: WeeChat 2.4]
<{^_^}> #51206 (by Lassulus, 12 weeks ago, open): xmonad service: add .config option
o1lo01ol1o has joined #nixos
<NickSeagull> How bad is the idea of taking that file and adding to my private set of nix expressions infinisil ?
<infinisil> "private set of nix expressions"?
<NickSeagull> Errr, I have some Nix expressions in my dotfiles repo that I use to build specific stuff, rather than having my own fork of nixpkgs
alex`` has quit [Read error: Connection reset by peer]
shabius has quit [Quit: Leaving]
<NickSeagull> Dont know whats the best way of calling that ^_^"
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
tdbgamer has joined #nixos
<dminuoso> rycee: Ill let you know tomorrow, since I don't want to run a GC right now (I realized that it's quite annoying if you do this right before hopping onto a train..)
shabius has joined #nixos
sondr3 has quit [Ping timeout: 268 seconds]
sondr3 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #55596 → vagrant: 2.2.0 -> 2.2.3 → https://git.io/fhQEd
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhbRU
alex`` has joined #nixos
PirBoazo has quit [Quit: PirBoazo]
_kwstas has joined #nixos
work__ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
hellrazor has joined #nixos
work__ has quit []
work_ has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
xkapastel has joined #nixos
shibboleth has joined #nixos
justanotheruser has quit [Ping timeout: 255 seconds]
<rycee> dminuoso: No worries. I just happened to see your comment and figured you might want to know it had been fixed 😃
<{^_^}> [nixpkgs] @1000101 opened pull request #56307 → [18.09] backport pythonPackages: trezor: 0.10.2 -> 0.11.1 → https://git.io/fhbRO
ij has joined #nixos
<dminuoso> rycee: Very wonderful thank you. I looked at the commit, I was a bit surprised at what the connection might have been.
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @1000101 closed pull request #56307 → [18.09] backport pythonPackages: trezor: 0.10.2 -> 0.11.1 → https://git.io/fhbRO
alex`` has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
rcshm has joined #nixos
rcshm has quit [Client Quit]
<infinisil> NickSeagull: Those are just Nix files I guess :P
<infinisil> NickSeagull: I don't think the PR actually works as of now, if you really want to specify the xmonad config reliably in your configuration.nix, I recommend just making a standard haskell project out of it, buliding that, and setting services.xserver.windowManager directly
rcshm has joined #nixos
NickHu has joined #nixos
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
oida has joined #nixos
ij has quit [Ping timeout: 255 seconds]
kenshinCH has quit [Ping timeout: 255 seconds]
<NickSeagull> infinisil: So basically it would be like the "standard" way of having an XMonad stack project and relying on that instead of the XMonad package on nixpkgs right? :)
ddellacosta has joined #nixos
Xyliton has joined #nixos
<Xyliton> How do I fetchurl a zip archive? right now it just tells me that it doesn't know how to unpack them
<infinisil> NickSeagull: Yeah something like that
<infinisil> Xyliton: fetchzip instead
<Xyliton> ohh, thanks! infinisil
<infinisil> :)
<NickSeagull> Awesome infinisil thanks for the valuable help
<infinisil> At some point I'll migrate my xmonad setup to this way too, hopefully
<NickSeagull> ^_^
eadwu has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
<NickHu> Hi all, would anyone be free to review one of my stalled prs? It's just a simple one for getting a printer driver in:
<{^_^}> #55664 (by NickHu, 1 week ago, open): cups-brother-hl3140cw: init at 1.1.4-0
eadwu has joined #nixos
eadwu has quit [Client Quit]
<dminuoso> NickSeagull: Id rather use cabal v2-* than stack though. :)
<{^_^}> [nixpkgs] @livnev opened pull request #56308 → gem-config: add native taglib dependency to taglib-ruby gem → https://git.io/fhbRR
eadwu has joined #nixos
<{^_^}> [nixpkgs] @aristidb pushed to master « standardnotes: 2.3.12 -> 3.0.6 »: https://git.io/fhbR0
<NickSeagull> dminuoso: I have been using Stack sucessfully a lot of time, and didn't see what's wrong with it through all these years
<NickSeagull> I really don't understand the Cabal vs Stack wars tbh :)
<dminuoso> NickSeagull: cabal v2- gives nix style builds.
<dminuoso> NickSeagull: Many discussions predate the existence of v2-*/new-* style commands.
<NickSeagull> Yeah I have seen them, but I don't see the current advantage of using cabal over stack currently. Also I use hpack in all of my projects which stack has support for :P
agander has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/42daebc9838 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<infinisil> NickSeagull: If you use Nix, you can avoid a lot of pain if you don't use stack. cabal works really well with Nix
<infinisil> I started out with stack, but it was too annoying, so I switched to cabal
<Xyliton> Does nix provide 32 bit libc dev headers on a 64 bit system?
_kwstas has quit [Quit: _kwstas]
<Xyliton> I was trying to compile a program but it throws lots of errors looking for gnu/stubs-32.h
lekstowsky has joined #nixos
<symphorien> Would building 32-bits only work for you ?
<Xyliton> What would that imply?
<symphorien> That is not multilib, pure 32 bits
<Xyliton> I kinda have to run this on a 64bit machine though :/
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56218 → Reclassify printer drivers erroneously marked as GPL → https://git.io/fhbRX
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhbR1
<symphorien> 64 bit machines can usually run 32 bit binaries
<Xyliton> ah, then sure. I don't care if it is pure 32 or multilib as long as I can run it :shrug:
eadwu has quit [Quit: WeeChat 2.4]
<infinisil> Xyliton: Use pkgsi686Linux.callPackage, that should do it
<symphorien> the solution is to use pkgsi686Linux instead of pkgs
eadwu has joined #nixos
eadwu has quit [Client Quit]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<Xyliton> hm... can't figure out where to replace that. I neither use callPackage nor pkgs. I have an `with import <nixpkgs> {};` at the top of the file though
eadwu has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<siers> The 19.03 release branch hasn't been created yet, has it?
Ariakenom has joined #nixos
<Xyliton> Is it possible to supply flags to the compiler from a derivation?
<samueldr> so, tomorro
<samueldr> w
<siers> woo!
reinhardt has joined #nixos
<infinisil> Xyliton: The equivalent would be `with (import <nixpkgs> {}).pkgsi686Linux;`
justanotheruser has joined #nixos
fusion809 has quit [Ping timeout: 268 seconds]
kisik21 has quit [Remote host closed the connection]
kisik21 has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
rauno has quit [Remote host closed the connection]
hyperfekt has joined #nixos
<NickSeagull> Well, that's a very nice reason actually infinisil
rcshm has quit [Remote host closed the connection]
Guilherme has joined #nixos
rcshm has joined #nixos
<Xyliton> how would passing a flag to the compiler work in a derivation?
<infinisil> Xyliton: Gotta be a bit more specific than that, because I think you're not looking for the answer "by calling the compiler with the flag"
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #56309 → nixos/hdaps: automatically enable the hdapsd kernel module → https://git.io/fhbRN
<Xyliton> infinisil: I got a normal stdenv.mkDerivation call and I want to pass "--disable-multilib" to gcc so it stops looking for 32bit stuff
otulp has joined #nixos
<Guilherme> In nix, we have a dictionary in default.nix. But we just can build using "nix-build '<nixpkgs>' -A pan"
<infinisil> Xyliton: I think that would be `NIX_CFLAGS_COMPILE = [ "--disable-multilib" ];`
<Guilherme> Is it usually better to say the user to use this command? What is the best way to deal with that?
<infinisil> Guilherme: Better than what?
<Guilherme> One way, it is to say at readme.md. To compile, run this command "nix-build '<nixpkgs>' -A pan"
<Guilherme> another way is creating like, shell.nix. And say in readme.md. Compile using "nix-build shell.nix"
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nix] @matthewbauer opened pull request #2700 → Get relative path of NIX_DATA_DIR → https://git.io/fhb0e
<{^_^}> [nixpkgs] @Ekleog pushed 7 commits to master: https://git.io/fhb0f
dwdr has quit [Ping timeout: 245 seconds]
<Guilherme> let nixpkgs = import <nixpkgs> {}; in nixpkgs.callPackage ./default.nix {}
<Guilherme> the shell.nix will be that way
rcshm has quit [Read error: Connection reset by peer]
kenshinCH has joined #nixos
agander_ has joined #nixos
rcshm has joined #nixos
<symphorien> <Xyliton> hm... can't figure out where to replace that. I neither use callPackage nor pkgs. I have an `with import <nixpkgs> {};` at the top of the file though << replace with: with (import <nixpkgs> {}).pkgsi686Linux ;
agander has quit [Ping timeout: 255 seconds]
<symphorien> oh it has already been said, sorry
<{^_^}> [nixpkgs] @Ekleog merged pull request #53143 → aspell: add all missing official dictionaries → https://git.io/fhtP1
<Xyliton> infinisil: is there something I can set to pass that flag to `configure` too? looks like that is where it actually has to go :/
_kwstas has quit [Remote host closed the connection]
agander_ is now known as agander
o1lo01ol1o has joined #nixos
b1000101 has joined #nixos
_d0t has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
lekstowsky has quit [Remote host closed the connection]
hedning has quit [Remote host closed the connection]
<symphorien> configureFlags = [ "--disable-multilib" ];
eadwu has quit [Quit: WeeChat 2.4]
arjen-jonathan has quit [Ping timeout: 250 seconds]
<b1000101> Hi guys, I'd like to backport a python package to 18.09 but it depends on higher versions of click and construct packages. Now, I am more than happy to create PR for those two packages but my question is, what is the best way of doing such backport and what are the chances I break other packages by doing this?
eadwu has joined #nixos
<infinisil> b1000101: How much higher?
<infinisil> If it's only a minor update I doubt it would break much
<MichaelRaskin> b1000101: also, do you know that installing pythong from unstable into a nix-shell while on stable for the system is a supported workflow?
MarcWeber has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
<b1000101> infinisil: same as in master - click 6.7->8.0 construct 2.8.x -> 2.9.x
rcshm has joined #nixos
<b1000101> infinisil: sry, click 6.7->7.0
<infinisil> I see a lot of packages in nixpkgs depending on click, so I'd rather not have this backported
<{^_^}> [nixpkgs] @msteen opened pull request #56311 → nix-upfetch: init at 0.1.0 → https://git.io/fhb0R
<infinisil> You could however add a `click_7_0` package, separate from the normal one, and use this as a dependency for your package
<b1000101> infinisil: yeah, well, that's what I was worried about, too
<b1000101> infinisil: aaah, interesting point, didn't know that would be tolerable :)
<infinisil> b1000101: Or, as MichaelRaskin suggested, use some ad-hoc way to get different packages
<infinisil> (which would be my preference)
<Xyliton> with the default makeWrapper it my package tries to install into `/usr/local/bin`; is there any way I can change that?
<b1000101> MichaelRaskin: I'm trying it out in nix-shell - packages from master, my version being 18.09, that works, but I'd like to make this available to other people, too
<infinisil> Xyliton: makeWrapper doesn't have anything to do with /usr/local/bin, that's the packages makefile or so doing that, most makefiles have an option to change the destination directory (often called DESTDIR)
hedning has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #56312 → Fixes for broken python packages for python-unstable → https://git.io/fhb0u
<{^_^}> [nixpkgs] @srhb opened pull request #56313 → Backport: flashplayer: 32.0.0.114 -> 32.0.0.142 → https://git.io/fhb0z
<MichaelRaskin> Well, you can nix-env stuff from master, too
mek42 has quit [Quit: Leaving]
<b1000101> infinisil: sure, I could do it that way I guess - oh, by the way...would it be possible to serve such package to other users? I'm thinking about setting up a dedicated server for serving these types of packages
<MichaelRaskin> In what sense? Binary cache?
<b1000101> MichaelRaskin: basically yes - I found this article and thought I'd give it a go: https://nixos.org/nix/manual/#sec-sharing-packages
<infinisil> a python package that has all dependencies built by hydra already probably doesn't even need a binary cache, they are pretty fast to build
fendor has joined #nixos
tdbgamer has joined #nixos
<emily> b1000101: check out https://cachix.org/
<gchristensen> does dbus have some sort of in memory database which I can write read from and write to?
<b1000101> emily: yeap, I know cachix, but I was thinking about making a local cache at my company, don't know if it makes sense
<gchristensen> I have two programs which don't really go whining time, but I would look still like the results to be shared with each other.
arjen-jonathan has joined #nixos
<b1000101> and I thought hydra would be a bit of an overkill since what I probably need is only sharing packages between machines as described in the nixos manual?
<aristid> gchristensen: how about a sqlite file? :D
<MichaelRaskin> Well, it doesn't matter where packages come from, they are built — they can be shared
<MichaelRaskin> _Upstream_ Hydra for master can be a valuable source of binary packages
<aristid> gchristensen: what does "whining time" mean? not an expression i'm familiar with
<gchristensen> oops, "typo". they don't really run at the same time.
<MichaelRaskin> Damn you Dragon?
_kwstas has joined #nixos
<gchristensen> exactly
_kwstas has quit [Client Quit]
asymmetric has joined #nixos
<b1000101> MichaelRaskin: thanks for the tip with the unstable channel, I didn't realize you can have both and just call the other by name when installing a package
<asymmetric> this is kinda funny: i set the wrong initialHashedPassword for root, and now i am locked out of `su`
<asymmetric> i have no sudo for my user
<asymmetric> is there anything i can do?
<aristid> gchristensen: ok, any reason why a sqlite file does not suit your needs, then? :D
<gchristensen> sure, reboot in to the install environment and mount all your disks in to /mnt as you did when you did the installation, and then run nixos-install
<infinisil> b1000101: Really just try it without a cache, the build might take a minute maximum (unless your python package does special compilation stuff), really not worth it
rcshm has quit [Read error: Connection reset by peer]
<gchristensen> aristid: no, that might work fine :-)
<asymmetric> gchristensen: you mean boot from a livecd/liveusb?
<b1000101> infinisil: I'm on it. Thanks a million!
rcshm has joined #nixos
<aristid> gchristensen: it doesn't involve any dbus though /o\
<gchristensen> asymmetric: yeah, exactly, the NixOS install image.
<gchristensen> aristid: I don't mind, really :)
<{^_^}> [nixpkgs] @P-E-Meunier opened pull request #56314 → Carnix: 0.9.7 -> 0.9.8 → https://git.io/fhb06
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Guilherme has quit [Quit: Page closed]
Acou_Bass has joined #nixos
kisik21 has quit [Remote host closed the connection]
<gchristensen> aristid: I have dreams of minimizing power consumption, but I'm already running a Windows ten VM, so I'm not sure that is feasible :-)
<aristid> gchristensen: i think sqlite is quite power-efficient ;-)
<gchristensen> aye
<b1000101> infinisil: MichaelRaskin: wow, that was fast and easy, cheers!
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
sigmundv has joined #nixos
<infinisil> Wait what was fast and easy? cachix?
ddellacosta has quit [Quit: WeeChat 2.2]
<MichaelRaskin> Installing Hydra-built Python from unstable channel, I guess
rcshm has quit [Read error: Connection reset by peer]
<b1000101> infinisil: installing it from the unstable
<infinisil> Ah yeah :)
rcshm has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « maintainers.vcunat: add .keys »: https://git.io/fhb0M
rfold has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « xxHash: 0.6.4.20171222 -> 0.6.5 »: https://git.io/fhb0S
sigmundv has quit [Ping timeout: 255 seconds]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
JosW has joined #nixos
jboy has quit [Remote host closed the connection]
jboy has joined #nixos
arjen-jonathan has quit [Ping timeout: 250 seconds]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
sigmundv has joined #nixos
neminis has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
sicklorkin has quit [Ping timeout: 245 seconds]
sicklorkin has joined #nixos
grumble has quit [Quit: grumble]
grumble has joined #nixos
arjen-jonathan has joined #nixos
jtcs has quit [Remote host closed the connection]
zupo has joined #nixos
petrkr has quit [Remote host closed the connection]
johanot has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jtcs has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
johanot has joined #nixos
alex`` has quit [Quit: WeeChat 2.3]
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
wedens has quit [Quit: Connection closed for inactivity]
b1000101 has quit [Ping timeout: 256 seconds]
rcshm has joined #nixos
rcshm_ has quit [Read error: Connection reset by peer]
elninja44 has joined #nixos
aristid has quit [Quit: WeeChat 2.3]
o1lo01ol1o has joined #nixos
aristid has joined #nixos
Xyliton has quit [Quit: Lost terminal]
justanotheruser has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Zer000 has joined #nixos
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @bhipple opened pull request #56315 → pkg-config: enable check → https://git.io/fhbEj
<{^_^}> [nixpkgs] @artemist opened pull request #56316 → neovim: Update ruby provider to 0.8.0 → https://git.io/fhbue
<{^_^}> [nixpkgs] @yrashk opened pull request #56317 → ogre: 1.10.11 -> 1.11.5 → https://git.io/fhbuf
vk3wtf has quit [Ping timeout: 264 seconds]
agander has quit [Ping timeout: 245 seconds]
fendor has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
Glider_IRC_ has joined #nixos
neminis has quit [Quit: WeeChat 2.2]
o1lo01ol1o has quit [Ping timeout: 255 seconds]
Glider_IRC__ has quit [Ping timeout: 255 seconds]
agander has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #56300 → nano-wallet: 16.3 -> 18.0 → https://git.io/fhb8V
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbuB
asymmetric has quit [Remote host closed the connection]
<noonien> does anyone have any experience installing nixos on the RaspberryPi Zero W board?
<noonien> yes, that's what i'm trying to follow
<noonien> i've managet to get nixos by writing dezgeg's image into an sd card
<iqubic> so how does one get a development environment with the haskellreflex-dom library set-up on nixos?
<noonien> it boots up fine, however, i don't have an otg adapter (mini-usb male to usb female), so i can't configure the OS
agander has quit [Quit: Leaving]
shabius has quit [Quit: Leaving]
elninja44 has quit [Remote host closed the connection]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<noonien> oh, i get `sd-image-raspberrypi.nix can be only built natively on ARMv6; it cannot be cross compiled` :(
shabius has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « scdoc: 1.8.1 -> 1.9.0 »: https://git.io/fhbuo
ym555 has joined #nixos
<noonien> hmm
<noonien> where can i find the git repo for the latest stable channel?
<noonien> hmm, i see the unstable channel doesn't have that assertion
<noonien> how can i use the unstable channel in a nix-build?
shad has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
shad has joined #nixos
<noonien> i've got `imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix> ];` this imports from the `nixos` channel from what i undedrstand, how can i import from the nixos-unstable channel(which i've setup)?
<{^_^}> [nix] @matthewbauer closed pull request #2700 → Get relative path of NIX_DATA_DIR → https://git.io/fhb0e
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
_kwstas has joined #nixos
zupo_ has quit [Ping timeout: 250 seconds]
_kwstas has quit [Read error: Connection reset by peer]
<clever> noonien: <nixos-unstable/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix>
<noonien> oh, nice!
<noonien> is nixpkg = <nixos> by default?
<clever> yeah, <nixpkgs> is mapped to the nixos channel by default
<clever> and for all other names, it generally goes to a channel by the same name
<ryantm> <nixpkgs> equals whatever the NIX_PATH env var has nixpkgs is set to
<noonien> ah, that makes a lot of sense, thanks!
<ryantm> clever: your suggestion requires a nixos-unstable channel, right?
fenlomat has joined #nixos
<clever> ryantm: yeah
<noonien> argh, i still get `error: linux_rpi not supported on 'x86_64-linux'`, i guess there's no way around this
vk3wtf has joined #nixos
<clever> noonien: you need to set nixpkgs.localSystem.system i think
<ryantm> Alternatively, you could add to NIX_PATH nixos-unstable=https://github.com/NixOS/nixpkgs-channels/archive/19eedaf867da3155eec62721e0c8a02895aed74b.tar.gz then reference it like clever suggests
<fenlomat> hey! i'm on a lives, trying to fix an existing system, how do i do a nixes-rebuild the underlying system?
<noonien> ryantm: i've already setup the nixos-unstable channel
<fenlomat> i mounted the partition in /mnt
<clever> fenlomat: nixos-enter
<fenlomat> *i'm on a liveusb
<clever> noonien: i was using this when testing something similar: nixpkgs.system = "armv7l-linux";
<laas> does anyone know why nixpkgs.gcc is not the same as nixpkgs.gcc8?
ij has joined #nixos
ekleog has quit [Quit: back soon]
<clever> 6754 gcc = gcc7;
<clever> laas: line 6754 of all-packages.nix, gcc is assigned to be gcc7
rcshm has quit [Read error: Connection reset by peer]
<clever> 6765 gcc7Stdenv = overrideCC gccStdenv gcc7;
<clever> 6766 gcc8Stdenv = overrideCC gccStdenv gcc8;
<samueldr> laas: last news was that darwin had issues with gcc8
<clever> laas: if you want a specific gcc, use one of these stdenv's
<{^_^}> [nixpkgs] @ryantm merged pull request #53465 → gitAndTools.pre-commit: 1.11.1 -> 1.14.2 → https://git.io/fh3NI
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbux
rcshm has joined #nixos
<siers> so haskellPackages' mkDerivation cannot have a meta?
<laas> thanks
isidore has joined #nixos
<clever> siers: which meta field are you trying to set?
<samueldr> laas: ah, looks like it went into staging 18 days ago
<samueldr> laas: so probably soon be the default
<{^_^}> #53760 (by fpletz, 6 weeks ago, merged): [WIP] Build nixpkgs with gcc 8 by default
Uniaika has left #nixos [#nixos]
<noonien> clever: thanks for the suggestion, it seems to have moved past that error, however, i now get another error
<noonien> `nix-build '<nixos-unstable/nixos>' -A config.system.build.sdImage -I nixos-config=./sd-image.nix` on http://vpaste.net/0o1mD gives http://vpaste.net/cwdva
<jonreeve[m]> Anyone know how to jailbreak a Haskell package? This is as far as I've gotten: https://gist.github.com/JonathanReeve/c20bbc6fc8359a1682b5789b18279510
<siers> clever, I think this settles it "haskell-modules/generic-builder.nix:12:1 called with unexpected argument 'meta'"
rcshm has quit [Read error: Connection reset by peer]
<siers> clever, but I made a package that's intended for osx only, so I wanted to set the platforms
<clever> > lkl.meta.description
<{^_^}> "The Linux kernel as a library"
rcshm has joined #nixos
<laas> nice
<{^_^}> #40038 (by matthewbauer, 42 weeks ago, closed): gcc8.x86_64-darwin failing
ekleog has joined #nixos
<clever> siers: mkDerivation directly accepts platforms, and will move it to meta for you
<fenlomat> clever: can i do nixos-rebuild after nixes-enter? i'm getting an error
rcshm has quit [Read error: Connection reset by peer]
rcshm_ has joined #nixos
<clever> fenlomat: you cant do switch/test, only boot/build
<siers> clever, nice!
<fenlomat> perfect, thanks
<jonreeve[m]> I think there's just something about these nix files I don't understand
<jonreeve[m]> Like, what is super? How do I import it?
<clever> noonien: the lkl package only works on 64bit x86, and 64bit arm, so it wont work on 32bit arm
<clever> jonreeve[m]: `super: x` defines a function, that takes 1 argument called super, and returns x
<noonien> yeah, i wonder why it tries to use it
<clever> noonien: --show-trace should say
<fenlomat> clever: i get the same error with nixos-boot: System has not been booted with systems as init system
<clever> fenlomat: nixos-rebuild boot
<fenlomat> yeah sorry, was a typo, i get the error with nixos-rebuild boot clever
jmeredith has joined #nixos
<jonreeve[m]> clever: how do I import that? I'm just trying to jailbreak one package. No idea how that should work
knupfer has quit [Ping timeout: 264 seconds]
<clever> fenlomat: you can also just re-run nixos-install, that is just a bash script that runs nixos-rebuild for you, inside a chroot
jackdk has joined #nixos
<clever> jonreeve[m]: one min...
ij has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/42daebc9838 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<dminuoso> Perhaps someone can guide me here. So when I run X with Xfce as the desktop manager (with Xmonad), lid close events are somehow caught and turn into xscreensaver - even though logind is seemingly receiving the lid close events and its configured to suspend.
<dminuoso> The bizarre thing is, if I shutdown the display manager, then closing the lid suspends my laptop just normally.
<dminuoso> If logind receives the lid event even with X is running, why is it not suspending my computer?
<jonreeve[m]> clever: Thanks. Although it says `attribute 'doJailbreak' missing`. Am I not importing that one right?
kvda has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #53749 → psc-package: 0.4.2 -> 0.5.1 → https://git.io/fhZKT
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbzU
<clever> jonreeve[m]: haskellLib ? (import <nixpkgs> {}).haskellPackages
<clever> jonreeve[m]: that is not where you find haskell.lib
<jonreeve[m]> clever: Ah. That's just copypasta, really. What should I be using instead?
<fenlomat> clever: my problem is that i set mutableUsers = false but set the wrong root password. can i reset it from a liveusb without doing a nixos-rebuild?
<clever> jonreeve[m]: updated the gist again
Makaveli7 has quit [Quit: Leaving]
<clever> fenlomat: you could just edit the configuration.nix, and then re-run nixos-install, and it will update the system for you
eadwu has quit [Quit: WeeChat 2.4]
<jonreeve[m]> clever: It says `infinite recursion encountered`.
eadwu has joined #nixos
<clever> jonreeve[m]: i think i got super and self backwads
<clever> flip them around the other way
xkapastel has quit [Quit: Connection closed for inactivity]
eadwu has quit [Client Quit]
eadwu has joined #nixos
<jonreeve[m]> clever: cool, that seems to have worked! Thanks! Is that the easiest way of jailbreaking something, just out of curiosity? Seems like there's a lot involved in circumventing a package that won't build
zupo has joined #nixos
nhbh^ has joined #nixos
<clever> jonreeve[m]: yeah, thats fairly normal setup
<{^_^}> [nixpkgs] @ryantm merged pull request #53849 → enpass: 5.6.5 -> 6.0.1 → https://git.io/fhnCM
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbz3
<fenlomat> clever: yeah, but then i need to deal with wireless from the installer... wonder if i could just use passwd?
<clever> fenlomat: because mutable users is false, nixos will undo the pw change on bootup
<clever> fenlomat: another option, is to just boot the nixos with `init=/bin/sh` (and tell it to continue when it claims it doesnt exist)
<clever> fenlomat: then its fully booted, and bypasses all login prompts
rcshm_ has quit [Ping timeout: 244 seconds]
<fenlomat> clever: could i override mutableUsers wherever it's stored?
<clever> fenlomat: the files its stored in are even less mutable, and nix will get very upset if you try to change them
<clever> nixos-rebuild or nixos-install are required to update them
<fenlomat> clever: how do i boot with init=/bin/sh ?
<clever> fenlomat: edit the kernel cmdline in grub by hitting e
dermetfan has quit [Quit: WeeChat 2.3]
<noonien> hmm, can i run a "2-stage" nix-build? i want to run nix-build in a qemu with nixos installed
random_yanek has quit [Ping timeout: 272 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> > vmTools.runInLinuxVM pkgs.hello
<{^_^}> "<derivation /nix/store/59lpz4pb8wpkky46ciwrcvzgj32py8jn-hello-2.10.drv>"
<clever> noonien: that will automatically run any derivation, to run inside qemu, as root
<{^_^}> [nixpkgs] @tohl opened pull request #56319 → sbcl updated, tested on nixos x86_64 → https://git.io/fhbzl
<fenlomat> clever: and once i do that, what should i do? should i run NixOS-rebuild boot?
<clever> fenlomat: yeah
eadwu has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @spacekitteh opened pull request #56320 → Fix sc2-headless map hash → https://git.io/fhbzE
eadwu has joined #nixos
justanotheruser has joined #nixos
<spacekitteh[m]> So it seems, if you change the UNZIP parameter for fetchzip, it doesn't check for a new hash if it's already downloaded. So it worked on my testing image, because it already had it prefetched :(
ixxie has quit [Remote host closed the connection]
<ottidmes> thats the danger of fixed-output derivations
<spacekitteh[m]> Indeed :<
work_ has quit [Quit: Connection closed for inactivity]
isidore has quit [Quit: WeeChat 2.4]
random_yanek has joined #nixos
<spacekitteh[m]> clever: any chance that could be merged within the next few hours? :3
<{^_^}> [nixpkgs] @delroth opened pull request #56321 → nginx-sso: 0.15.1 -> 0.16.0 → https://git.io/fhbzQ
<clever> spacekitteh[m]: currently eating
<spacekitteh[m]> Fair enough :D
orivej has quit [Ping timeout: 246 seconds]
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @bendlas opened pull request #56322 → virtualbox: add warning when for ineffective nixpkgs config → https://git.io/fhbz7
<{^_^}> [nixpkgs] @costrouc opened pull request #56323 → Move ansible to python-modules and use toPythonApplication + ansible related packages → https://git.io/fhbz5
<noonien> does this mean an sd-image can be created from a system other than an armv6l?
<samueldr> tbenst[m]: (cold ping) are you around? about your issue with 18.09 and switch_root
<noonien> what's [m], btw?
<samueldr> a common suffix for the matrix bridge
<noonien> oh, i see
eadwu has quit [Quit: WeeChat 2.4]
arjen-jonathan has quit [Ping timeout: 252 seconds]
eadwu has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
kvda has joined #nixos
<earldouglas> Is there a standard way to run npm install within mkDerivation? It stopped working for me a few months back, and I haven't figured out a solution:
<earldouglas> > npm ERR! network request to https://registry.npmjs.org/nodemailer failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
<{^_^}> error: syntax error, unexpected '!', expecting ')', at (string):218:8
fenlomat has quit [Ping timeout: 256 seconds]
<earldouglas> Something about DNS not working during mkDerivation.
<noonien> earldouglas: only fixed output derivations have network access
<earldouglas> What's a fixed output derivation?
<noonien> i believe there are helpers for building apps packaged with npm
<earldouglas> That's what I suspected -- any idea where to look for that?
<clever> earldouglas: you want to use yarn2nix
<noonien> earldouglas: a fixed output derivation is a derivation that checks the hash of the result, usually you have something like "sha256 = ...", our "outputHash = ..."
<samueldr> anyone has a more elegant way to print the configured kernel (as per configuration.nix) (and not necessarily the currently built generation)? `nix eval --raw '(import <nixpkgs/nixos> {}).options.boot.kernelPackages.value.kernel'`
<tilpner> Huh, I ran stack2nix on prometheus-matrix, and now I have a 46kloc default.nix that depends on cuda
<clever> tilpner: that nix file contains all of hackage, with the changes defined in your stack.yaml
<clever> tilpner: you need to use -A to select your own package, or its going to try to build all of hackage
<tilpner> Oh, that explains a lot
o1lo01ol1o has joined #nixos
<tilpner> Not quite something I can put into a git repo though :/
<clever> tilpner: thats almost always whats done with it, to save others the time spent generating
<noonien> earldouglas: see node2nix also, it generates files like this one: https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/web-apps/codimd/CodeMirror/node-packages.nix
<clever> tilpner: it also cant be made with IFD, so you cant have nix build it on the fly
<noonien> maybe yarn2nix does something similar and is better, i've not used either tbh
<tilpner> clever: But it's so big (2M)... I'll push that if I can't find a smaller alternative
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @P-E-Meunier closed pull request #50923 → Carnix: 0.8 -> 0.9 → https://git.io/fpBAH
kenshinCH has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_kwstas has quit [Quit: _kwstas]
szicari has quit [Quit: ZNC - http://znc.in]
<noonien> can i use runInLinuxVM to run a different architecture?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<clever> noonien: qemu-user is probably simpler, one min
<clever> noonien: add this to your imports, and then set qemu-user.arm = true;, and rebuild-switch the host
<clever> and then....
<{^_^}> [nixpkgs] @ryantm merged pull request #50597 → heptio-ark: 0.9.6 -> 0.10.0 → https://git.io/fpcza
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbgc
<clever> noonien: use nix-build --option system aarch64-linux or armv7l
<clever> noonien: `--option system X` will trick nix into thinking the current platform is X, and qemu-user allows it to actually run such binaries
<noonien> hmm, i see, sounds really hacky
eadwu has quit [Quit: WeeChat 2.4]
<noonien> also, really interesting that one can install qemu as an "interpreter"
iqubic has quit [Ping timeout: 268 seconds]
rfold has quit [Quit: leaving]
<clever> noonien: binfmt-misc is what allows that
fluxi- has joined #nixos
eadwu has joined #nixos
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #54727 → afio: update 2.5.1 -> 2.5.2 → https://git.io/fh6FQ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbgu
<{^_^}> [nixpkgs] @andir merged pull request #55972 → buildRustCrate support editions → https://git.io/fh5HL
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/fhbgz
nhbh^ has quit []
nuh^ has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @makefu opened pull request #56324 → init pythonPackages.firetv for home-assistant → https://git.io/fhbgw
tmaekawa has joined #nixos
fluxi- is now known as fluxit
szicari has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
xkapastel has joined #nixos
<siers> can I remove attrs by name with builtins/nixpkgs functions? I'm doing "{this, that, ...}@args: foo (args // {other = this; other_ = that;})"
<symphorien> > lib.removeAttrs { a = 1; b = 2 } [ "a" ]
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):218:32
<symphorien> > lib.removeAttrs { a = 1; b = 2; } [ "a" ]
<{^_^}> attribute 'removeAttrs' missing, at (string):218:1
<clever> > builtins.removeAttrs
<{^_^}> <PRIMOP>
<symphorien> > builtins.removeAttrs { a = 1; b = 2; } [ "a" ]
<{^_^}> { b = 2; }
<siers> I looked at nixpkgs attrs… I thought they wouldn't be in the builtins :)
<siers> silly
<siers> thanks
<symphorien> oh usually there is a copy of builtins in lib
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm merged pull request #56314 → Carnix: 0.9.7 -> 0.9.8 → https://git.io/fhb06
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhbg5
<siers> > builtins.head (({a ? 1, b ? null}: [(a + 1) (b.x)]) {})
<{^_^}> 2
<siers> it really is lazy
<clever> b.x turns into an thunk containing an ExprSelect, which does a somewhat expensive map lookup
rprije has joined #nixos
<clever> so it defers it until later
o1lo01ol1o has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
sigmundv has quit [Ping timeout: 245 seconds]
rprije has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<siers> How could I fill an array with trailing nulls if it's too short? I need four elements. I could do take 4 (array ++ [null null null null]), but I can't find take.
<siers> I could also go to sleep. :))))
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56313 → Backport: flashplayer: 32.0.0.114 -> 32.0.0.142 → https://git.io/fhb0z
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-18.09: https://git.io/fhbgj
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.isbnlib: 3.9.5 -> 3.9.6 »: https://git.io/fhb2e
<clever> > map (x: null) (lib.range 1 3)
<{^_^}> [ <CODE> <CODE> <CODE> ]
<clever> siers: range creates a list of numbers, from 1 to 3, map then takes each, and `x: null` ignores the number and just nulls every row
<siers> I know it's going to be 4 elements long, so that's fine for now. :)
<siers> lib/lists.nix's take!
cejota[m] has joined #nixos
<earldouglas> I am having no success with this. Is there no standard way to build an npm package?
<earldouglas> I suppose I should rewrite this thing in Haskell, but until then it'd be nice to be able to build it from nix..
sigmundv has joined #nixos
o1lo01ol1o has joined #nixos
<jackdk> I saw someone mention yarn2nix earlier this morning, perhaps that's useful?
tmaekawa has joined #nixos
<earldouglas> It's probably useful, but I'm out of my depth. I don't know yarn, or how I need to port my npm commands to work with it.
<earldouglas> I tried that, plus mkYarnPackage, both to no avail.
<clever> earldouglas: just replace npm with yarn, and your done
<clever> earldouglas: and you need to run yarn once outside of the sandbox, to create yarn.lock
<{^_^}> [nixpkgs] @ryantm merged pull request #56087 → Hostapd bump → https://git.io/fhd78
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhb2l
eadwu has quit [Quit: WeeChat 2.4]
<siers> are merges ever squashed around here?
<earldouglas> clever: It almost works, but it doesn't copy any of the source code -- just the dependencies.
<earldouglas> I think I need to give up on this for now. Thanks for the help!
<clever> earldouglas: you may need to add an installPhase to the expression, like i did in daedalus
<samueldr> siers: not often, especially if the commits were signed by their author
<samueldr> in fact, it'd have to be only one commit to be squashed and merged, as PRs should have logical commits per "thing" they do
<clever> i try to squash my own PR's so it only has 1 commit
<samueldr> a good chunk of PRs having more than one commit are commits that shouldn't be squashed together, otherwise context would be lost
<{^_^}> [nixpkgs] @ryantm merged pull request #54770 → piper: 0.2.902 -> 0.2.903 → https://git.io/fhiZC
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhb2R
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @xeji merged pull request #56287 → mpdris2: 0.7 -> 0.8 → https://git.io/fhbci
<{^_^}> [nixpkgs] @xeji pushed commit from @eonpatapon to master « mpdris2: 0.7 -> 0.8 (#56287) »: https://git.io/fhb22
o1lo01ol1o has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
hellrazor has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @uvNikita opened pull request #56326 → sshd: fix startWhenNeeded and listenAddresses combination → https://git.io/fhb21
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed 389 commits to staging: https://git.io/fhb2M
<{^_^}> [nixpkgs] @xeji merged pull request #56241 → nixos-rebuild: add edit command → https://git.io/fhb2S
<{^_^}> [nixpkgs] @xeji pushed commit from @LnL7 to master « nixos-rebuild: add edit command (#56241) »: https://git.io/fhb29
o1lo01ol1o has joined #nixos