gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
cryptix has quit [Ping timeout: 252 seconds]
alex`` has quit [Quit: WeeChat 2.2]
`_ has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #45829 → pythonPackages.httpsig: init at 1.2.0 →
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
hellrazor has quit [Ping timeout: 252 seconds]
thc202 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAcAq
`_ has quit [Quit: WeeChat 2.1]
rprije has joined #nixos
`_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45831 → gpsprune: 19 -> 19.1 → https://git.io/fAcAB
aarvar has joined #nixos
ArahaelPi has quit [Ping timeout: 252 seconds]
pie_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45832 → gnustep.system_preferences: 1.1.0 -> 1.2.0 → https://git.io/fAcxR
<gchristensen> I think this is the first install matrix report I feel really good about: http://gsc.io/report-d.html it highlights a bug in the default Nix install: on fedora (which has selinux) it tries to setup the daemon but fails, and should instead use the single-user installation which would have succeeded.
joehh has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
ArahaelPi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45833 → ethtool: 4.17 -> 4.18 → https://git.io/fAcpT
<`_> So, I may have overlooked something small here, but I have a box that I've set up nix-serve on. I then generated a keypair on it, ran `nix sign-paths -k /my/key --all`, then added its url and public key to my configuration.nix. Problem is that when I attempt nix-build locally, I'm seeing issues along the lines of "warning: substituter 'https://cache.example.io' does not have a valid signature for path
<`_> '/nix/store/aqhld814irl57k6fbj5szh4ds4hkzai0-cabal2nix-2.9.2'"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45834 → eternal-terminal: 4.1.2 -> 5.1.0 → https://git.io/fAcp3
mayhewluke has quit [Ping timeout: 252 seconds]
<clever> `_: nix-serve does not support the signatures managed by `nix sign-paths`, you must give nix-serve the path to the secret, and it will sign things on-demand
mayhewluke has joined #nixos
Supersonic has quit [Ping timeout: 240 seconds]
<`_> clever: I've given nix-serve the path to the secret as well, to no avail
<clever> `_: what does `ps aux | grep nix-serve` show?
<clever> `_: ah wait, on min
<clever> one
<clever> `_: grep NIX_SECRET_KEY_FILE /etc/systemd/system/nix-serve.service
<clever> `_: and does the local machine have the public in `nix.conf` ?
<`_> clever: Environment="NIX_SECRET_KEY_FILE=/my/key" for the grep, and it's not in `nix.conf`, however it is in configuration.nix under `nix.binaryCaches`. Do I also need to set it as trusted?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45835 → git-cola: 3.1 -> 3.2 → https://git.io/fAcpK
<clever> `_: you must add both the URL and the pubkey in configuration.nix
Supersonic has joined #nixos
<`_> clever: I have both the URL and pubkey in configuration.nix
silver has quit [Read error: Connection reset by peer]
<clever> `_: and they appear in /etc/nix/nix.conf as well?
<`_> clever: No they're not in nix.conf. Do they need to be?
<clever> thats what configuration.nix should be doing
<clever> did you nixos-rebuild after editing it?
<`_> Yes
<`_> Let me try nixos-rebuilding again just to be sure
v0|d has quit [Remote host closed the connection]
<`_> clever: no dice
<clever> can you pastebin the contents of configuration.nix and /etc/nix/nix.conf ?
<`_> clever: give me a sec
<`_> clever: nix.conf with only domain changed, configuration.nix with irrelevant information removed: https://pastebin.com/1R1NNE7n
jperras has joined #nixos
<`_> If you need more info let me know
<clever> `_: the public key is in nix.conf
<`_> clever: correct, it's after the cache.nixos.org pubkey
<`_> clever: Internal Server Error
<`_> D:
<clever> does the nix-serve user have permission to read the private key?
<`_> You know what I'll bet that's it
<`_> clever: So after adjusting permissions I get a number of headers back containing relevant store information
<`_> However nix-build still fails
jperras has quit [Ping timeout: 246 seconds]
<clever> what does the Sig: header in the narinfo say?
<`_> oh
<`_> clever: Sig: cache.example.io-1:psf6QsKTBwM+5qq0bH2+fYupiR5jZOnJvG/igxxBpMLFtNZ7EZp/gTd0aKa09Ht7ck8oQ/ieD0k+/yjHUf30Ag==
<clever> and does the domain actually match what is in nix.conf on the client machine?
<`_> Yes.
<clever> i cant see mistakes like that when its censored
<clever> double-check that the pubkey in the server matches the pubkey in nix.conf
<`_> Eh I'll uncensor from here on out if it helps, the only thing I'm changing is the name in the domain
<`_> clever: they match.
<clever> what does `nix-store -r -vvvvv /nix/store/aqhld814irl57k6fbj5szh4ds4hkzai0-cabal2nix-2.9.2` output?
<`_> At least according to a cursory glance of the first 5 letters, the last 5 leters, and 5 letters in the middle
jperras has joined #nixos
drakonis__ has joined #nixos
<clever> `_: oh right, there is a bug in nix-serve at one point
<`_> Oh?
<clever> `_: it repeats one of the steps twice when signing, and creates invalid signatures
<clever> `_: will this machine be running hydra?, some of the config implies it is
<`_> It isn't. It was at one point
<clever> ah
<clever> the hydra UI also includes a nix-serve compatible cache, so you can also just use hydra.example.io as a cache
<clever> if its enabled
<`_> Unfortunately it isn't anymore
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon1 has joined #nixos
jperras has quit [Ping timeout: 246 seconds]
<`_> Actually, if this is a bug in nix-serve, and enabling hydra would fix it, could we just enable hydra again?
<clever> yep
<`_> I'm not one for using unnecessary resources but if it's unavoidable at the moment due to a bug I'm all for it
<`_> Alright I'll give that a shot. Thanks
drakonis__ is now known as drakonis
<`_> clever: is there anything special I need to do with Hydra regarding the keypair
wpcarro has quit [Ping timeout: 240 seconds]
<clever> `_: cant remember if it needs to be configured or not, check the curl i gave above, on the hydra domain, and see what it says
<`_> clever: will do, thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45836 → facter: 3.11.3 -> 3.11.4 → https://git.io/fAcjm
filterfish has joined #nixos
lassulus_ has joined #nixos
lassulus_ is now known as Random_int
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45837 → dico: 2.5 -> 2.6 → https://git.io/fAcjn
lassulus has quit [Ping timeout: 260 seconds]
Random_int is now known as lassulus
<`_> clever: curl doesn't even spit back a Sig header
<clever> `_: try adding nix.extraOptions = "secret-key-files = /etc/nix/keys/secret-key-file"; to configuration.nix on the server
<clever> with the right path
<`_> Will do
acarrico has quit [Ping timeout: 264 seconds]
<`_> clever: So I've got hydra on the box and I'm getting the same issue as I was with nix-serve
nisstyre has quit [Quit: WeeChat 2.2]
nisstyre has joined #nixos
<`_> Like, the `nix-store -r -vvvvv` command is giving the same output as before, except this time it locked the thread to CPU 3 instead of 1
<clever> `_: is curl returning the same sig for that path?
<`_> Exact same sig
<clever> run `nix-store --verify --check-contents` on the server
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45838 → cutecom: 0.45.0 -> 0.50.0 → https://git.io/fACeT
<`_> Nothing alarming so far, it's yelling about 2 things regarding python/azure having been modified
<`_> Ooh actually double that now
<clever> nothing at all should have been modified
<`_> I don't understand how they could have been. As far as I know this system has done nothing regarding python/azure
<`_> Even if they are a dependency of something else it doesn't make sense
<clever> if you re-run the last command with --repair, it will repair them
<`_> Okay. It's not quite done yet.
<`_> clever: Ran repair on the nix store, 5 paths fixed, still no dice on the `nix-store -r -vvvvv` command. This time it locked to CPU 0
<clever> doesnt matter which core it locks
<`_> I know lol
<`_> That was just a cheekier way of saying the output didn't change
<clever> one minor thing, cache.nixos.org is missing from your binary cache list
<clever> if you re-add that, it can get cabal2nix from there, but the problem will remain for anything you built yourself
<`_> Right that's why I don't have it in there at the moment
<clever> ah
<clever> i cant think anything else to check
<`_> Both systems are the same arch, only a patch number difference
<`_> This is weird
<`_> I'll try adding back cache.nixos.org
<`_> clever: adding cache.nixos.org seems to cause _more_ signature errors to come from my cache
<clever> it probably got past cabal2nix and passed a bottleneck, then tried to download 5 things at once from your cache
<clever> when previously, it wasnt getting that far
<`_> Oh ok
<`_> Well it seems cabal2nix is still part of the errors
<`_> This is an interesting one. I may try it on another box and see how that goes
<`_> clever: Definitely appreciate all the help
jperras has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #45839 → treewide: write better docstrings for tor-browser things → https://git.io/fACfm
alexteves has quit [Remote host closed the connection]
jmeredith has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #45840 → fbreader: 0.99.4 -> 0.99.6, switch to fetchFromGitHub, add more build options → https://git.io/fACf4
<{^_^}> [nixpkgs] @ryantm merged pull request #45829 → pythonPackages.httpsig: init at 1.2.0 → https://git.io/fAcNR
<{^_^}> [nixpkgs] @ryantm pushed commit from @srhb to master « pythonPackages.httpsig: init at 1.2.0 »: https://git.io/fACf2
timj1 has joined #nixos
timj has quit [Ping timeout: 260 seconds]
sibi_ has joined #nixos
aarvar has joined #nixos
worldofpeace has quit [Ping timeout: 240 seconds]
drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @oxij opened pull request #45841 → some `recurseIntoAttrs` hackery → https://git.io/fACJu
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/a37638d4670 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<teej> I really like nix so far.
<{^_^}> [nixpkgs] @Kaali opened pull request #45842 → cocoapods: 1.5.0 -> 1.5.3 → https://git.io/fACJX
<teej> I like the name of the verbose setting: `“Vomit”: print vast amounts of debug information.` Thats's funny.
logzet has joined #nixos
sb0 has quit [Quit: Leaving]
orivej has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45843 → bison: 3.0.5 -> 3.1 → https://git.io/fACUO
rprije has quit [Ping timeout: 240 seconds]
<Glenn> I thought I was going to have to spend the afternoon learning what dnsmasq is, but I just discovered services.nixops-dns and it works straight off, no messing. Really impressed.
trcc has joined #nixos
periklis has joined #nixos
periklis has quit [Remote host closed the connection]
periklis has joined #nixos
<teej> Glenn: Nice.
jbgi has joined #nixos
<teej> Typically how long will it take for new python version (e.g., python3.7) packages to show up in the nix-env unstable repo?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45844 → bro: 2.5.4 -> 2.5.5 → https://git.io/fACUj
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45845 → bdf2psf: 1.184 -> 1.185 → https://git.io/fACTL
trcc has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jtojnar pushed to master « pulseeffects: 4.3.1 → 4.3.3 »: https://git.io/fACTu
Purple-mx has joined #nixos
<Purple-mx> wow I joined!
`_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #45835 → git-cola: 3.1 -> 3.2 → https://git.io/fAcpK
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fACT2
<Purple-mx> question: Which user is pulling the inputs for a hydra job? Iv added an ssh key for the hydra user but it still cant pull from my git
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45846 → bareos: 17.2.5 -> 17.2.7 → https://git.io/fACTo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45847 → at: 3.1.20 -> 3.1.23 → https://git.io/fACT5
<{^_^}> [nixpkgs] @Mic92 merged pull request #45822 → doc/python: convention for attributes names → https://git.io/fAcHG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fACTx
trcc has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #45638 → incron: init at 0.5.12 → https://git.io/fAmCG
<{^_^}> [nixpkgs] @jtojnar pushed 19 commits to master: https://git.io/fACkf
trcc has quit [Read error: Connection reset by peer]
trcc has joined #nixos
rprije has joined #nixos
jbgi has quit [Ping timeout: 250 seconds]
NightTrain has quit [Ping timeout: 245 seconds]
hamishmack has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #45848 → augeas: 1.10.1 -> 1.11.0 → https://git.io/fACko
orivej has quit [Ping timeout: 246 seconds]
ilikeheaps has joined #nixos
orivej has joined #nixos
<Purple-mx> found my problem: missing 'known host'
<{^_^}> [nixpkgs] @xeji merged pull request #45809 → gnupg22: 2.2.9 -> 2.2.10 → https://git.io/fAcik
<{^_^}> [nixpkgs] @xeji pushed commit from @lsix to staging « gnupg22: 2.2.9 -> 2.2.10 (#45809) »: https://git.io/fACIz
Tucky has joined #nixos
Izorkin has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45844 → bro: 2.5.4 -> 2.5.5 → https://git.io/fACUj
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fACLw
LnL has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 pushed to master « docs/python: fix attribute naming example »: https://git.io/fACLx
adisbladis has quit [Quit: WeeChat 2.1]
LnL has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45839 → treewide: write better docstrings for tor-browser things → https://git.io/fACfm
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fACtU
alex`` has joined #nixos
revtintin has joined #nixos
johanot has joined #nixos
filterfish has quit [Ping timeout: 260 seconds]
ThatDocsLady_ has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
thc202 has joined #nixos
filterfish has joined #nixos
filterfish has quit [Remote host closed the connection]
filterfish has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #45810 → nixos/nginx: ensure TLS OCSP stapling works out of the box with LE → https://git.io/fAcXL
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fACqv
hamishmack has joined #nixos
<[Leary]> GI libraries seem to be excluded from the hoogle index generated via ghcWithHoogle. Do I need to do something special for them?
orivej has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #43226 → notify-osd-customizable: init at 0.9.35+16.04.20160415 → https://git.io/fNfvW
<{^_^}> [nixpkgs] @xeji pushed commit from @IvanMalison to master « notify-osd-customizable: init at 0.9.35+16.04.20160415 (#43226) »: https://git.io/fACqR
filterfish_ has joined #nixos
<siers> I'm trying to package link-grammar for myself and configure's throwing some weird errors: syntax error near unexpected token `,:' // ` AX_TLS(,:)' https://clbin.com/j5Z97
filterfish__ has joined #nixos
fendor has joined #nixos
filterfish has quit [Ping timeout: 246 seconds]
filterfish_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45814 → mdds: 1.3.1 -> 1.4.1 → https://git.io/fAcMX
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mdds: 1.3.1 -> 1.4.1 (#45814) »: https://git.io/fACmZ
filterfish_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45816 → minizinc: 2.1.7 -> 2.2.0 → https://git.io/fAcDr
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « minizinc: 2.1.7 -> 2.2.0 (#45816) »: https://git.io/fACmz
filterfish__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45847 → at: 3.1.20 -> 3.1.23 → https://git.io/fACT5
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « at: 3.1.20 -> 3.1.23 (#45847) »: https://git.io/fACm6
filterfish_ has quit [Ping timeout: 252 seconds]
sb0 has joined #nixos
<mpickering> Is there a convenient .extend attribute for python packages like there is for haskellPackages?
__Sander__ has joined #nixos
<srhb> mpickering: No, you'll have to go through super.python.override and set packageOverrides
logzet has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lsix opened pull request #45850 → libgpgerror: 1.28 -> 1.32 → https://git.io/fACY5
civodul has joined #nixos
<jtojnar> siers: I have it pakaged somewhere
<jtojnar> let me check
<Purple-mx> struggling with hydra- the job is evaluated but never built, and restart hydra-queue-runner doesnt start it either
sigmundv__ has joined #nixos
<srhb> Try pastebinning the output of yourhydra/queue-runner-status to start with
<srhb> Purple-mx: At this point it could be any number of things. Missing features on the builders for instance.
<hyper_ch2> wow, just read that FF will in future block trackers by default... I think it's time to give a closer look to FF again
mayhewluke has quit [Ping timeout: 245 seconds]
johanot has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<Purple-mx> ha! I guess I need to configure a builder
kiloreux has quit [Ping timeout: 245 seconds]
<srhb> Purple-mx: Seems reasonable. :-)
<srhb> Purple-mx: nix.buildMachines
<jtojnar> siers: I had this https://paste.gnome.org/ptdtnrvfw
johanot has joined #nixos
<jtojnar> siers: I think you are missing some autotools thing that is included in the tarball, but autotools errors are notoriously unhelpful
<jtojnar> I usually just rewrite a project to a different build system when I encounter them
orivej has joined #nixos
<siers> jtojnar, did you try submitting it to nixpkgs?
<jtojnar> not yet
<jtojnar> it was in my staging area but I did not use it in the end
<siers> ah
<siers> I mean, if it builds… :)
<manveru> damn skype keeps removing their old versions :|
<jtojnar> siers: feel free to send a PR
<jtojnar> and cc me there
kisik21 has joined #nixos
kiloreux has joined #nixos
<siers> it does work!
<siers> I'll send a PR when I'm not at work
orbekk has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @mpickering opened pull request #45851 → folium: 0.5.0 -> 0.6.0 → https://git.io/fACs6
<siers> jtojnar, I'm quite lucky I found you though :D
aanderse has quit [Remote host closed the connection]
<tilpner> clever - ping, I'm having the nix copy corruption again. Last time you were trying to help, but I had already GC'ed it away
<tilpner> clever - This time, I didn't touch it. The weird part is that the source and destination Nix dbs disagree about what the hash should be: https://tx0.co/1Z
<{^_^}> [nixpkgs] @rbvermaa pushed to master « julia: add 0.7 and 1.0 »: https://git.io/fACGb
<{^_^}> [nixpkgs] @rbvermaa pushed to master « julia: add 0.7 and 1.0 »: https://git.io/fACGj
<tilpner> It only occurs in certain networking conditions, but I've so far been unable to replicate it with netem
<Taneb> Does anyone know of an example Hydra config that generats code coverage reports for Haskell?
<{^_^}> [nixpkgs] @xeji merged pull request #45850 → libgpgerror: 1.28 -> 1.32 → https://git.io/fACY5
<{^_^}> [nixpkgs] @xeji pushed commit from @lsix to staging « libgpgerror: 1.28 -> 1.32 (#45850) »: https://git.io/fACZM
<srhb> Taneb: It's really just about having entries for the relevant files in $out/nix-support/hydra-build-products
Sigyn has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @edolstra merged pull request #2383 → fix `error: unknown serve command 9` → https://git.io/fAc5r
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fACZb
Sigyn has joined #nixos
<Taneb> srhb: I don't follow, and I can't see anything in the Hydra manual, can you elaborate or point me at more documentation?
<srhb> Taneb: Something like echo "doc coverage $out/share/hpc/html" >> $out/nix-support/hydra-build-products
<srhb> Taneb: I don't believe it's documented anywhere.
<srhb> Googling for hydra-build-products might allow you to extrapolate what the individual columns mean. It's something like.. Product type, product name, product path, Maybe (individual file in product path)
lassulus has quit [Quit: WeeChat 2.0]
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @srhb merged pull request #45851 → folium: 0.5.0 -> 0.6.0 → https://git.io/fACs6
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fACcK
Ariakenom has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 245 seconds]
timj1 has quit [Read error: Connection reset by peer]
timj has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #45811 → nixos/usbguard: ensure the audit log file can be created → https://git.io/fAcXs
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fACCG
<{^_^}> [nixpkgs] @jtojnar merged pull request #45682 → opencolorio: use system lcms2 on aarch64 → https://git.io/fAOrK
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fACCc
Twey has joined #nixos
philippD has joined #nixos
simukis has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #45852 → Home assistant 0.77.1 → https://git.io/fACWs
ZoomZoomZoom has joined #nixos
hyper_ch2 has quit [Ping timeout: 252 seconds]
<{^_^}> [nix] @edolstra pushed to master « Add localhost alias for ::1 to the sandbox »: https://git.io/fACWx
krav1 has joined #nixos
Twey has quit [Ping timeout: 244 seconds]
timj has quit [Quit: Leaving.]
timj1 has joined #nixos
Twey has joined #nixos
periklis has quit [Ping timeout: 246 seconds]
disasm has quit [Ping timeout: 240 seconds]
lsyoyom has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @bkchr opened pull request #45853 → android-studio: Add desktop item → https://git.io/fAC8s
ericsagnes has quit [Ping timeout: 260 seconds]
mayhewluke has quit [Ping timeout: 240 seconds]
hyper_ch2 has joined #nixos
[Leary] has quit [Remote host closed the connection]
pie_ has joined #nixos
mayhewluke has joined #nixos
Guest78765 has quit [Quit: Leaving]
lsyoyom has joined #nixos
<adamantium> Hi, just a public announcement if anyone wants to try out a "Bootstrap a zfs-on-root NixOS configuration in one command" bash script, I made one.
<adamantium> If it helps anyone, cool https://github.com/a-schaefers/themelios
mayhewluke has quit [Ping timeout: 246 seconds]
<Myrl-saki> adamantium: `themelios configuration.sh git-remote [branch]
<{^_^}> [nixpkgs] @vcunat pushed 6 commits to staging: https://git.io/fAC4F
<{^_^}> [nixpkgs] @vcunat merged pull request #38486 → glib: add bin output for gvfs executables → https://git.io/vxSOL
<Myrl-saki> adamantium: Just a tip on the `usage` line. :P
vmandela has joined #nixos
<adamantium> thx
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @jerith666 to master « perl: Text-Unaccent: fixup build (#45768) »: https://git.io/fACBJ
<{^_^}> [nixpkgs] @Mic92 merged pull request #45768 → perl: Text-Unaccent: fixup build → https://git.io/fAney
<{^_^}> [nixpkgs] @vmandela opened pull request #45854 → nixos/doc: add instructions for installation behind a proxy → https://git.io/fACBw
Lears has joined #nixos
jbgi has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44842 → nixos/zeronet: init → https://git.io/fNQtt
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Chiiruno to master « nixos/zeronet: init (#44842) »: https://git.io/fACBF
orivej has joined #nixos
<Twey> adamantium: It looks cool but I need UEFI on all my machines :(
<Twey> Thank you though!
NightTrain has joined #nixos
<{^_^}> [nixpkgs] @pstn opened pull request #45855 → steam: Add python3 to runtime for steam play / proton → https://git.io/fACR0
fgaz has quit [Remote host closed the connection]
florianjacob has quit [Remote host closed the connection]
bennofs[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
Purple-mx has quit [Remote host closed the connection]
bkchr[m] has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Write error: Connection reset by peer]
ejpcmac has quit [Remote host closed the connection]
sphalerit has quit [Read error: Connection reset by peer]
timclassic has quit [Read error: Connection reset by peer]
timokau[m] has quit [Remote host closed the connection]
TaoHansen[m] has quit [Read error: Connection reset by peer]
Ralith has quit [Write error: Connection reset by peer]
WilliamHamilton[ has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<adamantium> Twey: yeah! Thanks. Maybe soon. Sorry to hear you must use uefi. Clever has done some good work though you should check out
<{^_^}> [nixpkgs] @lo1tuma opened pull request #45856 → sauce-connect: 4.4.12 -> 4.5.1 → https://git.io/fAC0F
trcc_ has joined #nixos
mt is now known as mteufel
Izorkin has quit [Read error: No route to host]
trcc has quit [Ping timeout: 246 seconds]
timj1 has quit [Read error: Connection reset by peer]
timj has joined #nixos
trcc has joined #nixos
trcc_ has quit [Ping timeout: 240 seconds]
timj has quit [Remote host closed the connection]
<Taneb> srhb: thanks
<srhb> Taneb: Welcome! Sorry I couldn't find any docs.
<Taneb> Don't worry, I'm more than familiar with the state of Hydra's documentation...
<infinisil> adamantium: (in reply to themelios): Nice! Can you add this here? https://github.com/NixOS/nixos-weekly/pull/63
<{^_^}> nixos-weekly#63 (by domenkozar, 1 week ago, open): Call for Content: 2018/08
jbgi has quit [Ping timeout: 246 seconds]
aanderse has joined #nixos
johanot has quit [Quit: leaving]
silver has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
silver has quit [Client Quit]
ThatDocsLady_ has joined #nixos
silver has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #45857 → podofo: patch for compatibility with cmake 3.12 → https://git.io/fACu1
justbeingglad has joined #nixos
kiloreux has quit [Ping timeout: 240 seconds]
bjpbakker has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
justbeingglad has quit [Quit: Leaving.]
<adamantium> infinisil: yes! thanks i'll try to do That
kiloreux has joined #nixos
jbgi has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to master « matrix-synapse: 0.33.0 -> 0.33.3 »: https://git.io/fACz9
init_6 has joined #nixos
johnny101 has quit [Ping timeout: 244 seconds]
trcc has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #45795 → wayland: 1.15.0 -> 1.16.0 → https://git.io/fActi
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « wayland: 1.15.0 -> 1.16.0 (#45795) »: https://git.io/fACgL
trcc has joined #nixos
fzer00 has quit [Ping timeout: 246 seconds]
timj has joined #nixos
bjpbakker has quit [Ping timeout: 260 seconds]
jbgi has quit [Quit: WeeChat 2.1]
fzer00 has joined #nixos
mayhewluke has quit [Ping timeout: 250 seconds]
mayhewluke has joined #nixos
pie__ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45857 → podofo: patch for compatibility with cmake 3.12 → https://git.io/fACu1
<{^_^}> [nixpkgs] @xeji pushed commit from @thefloweringash to staging « podofo: patch for compatibility with cmake 3.12 (#45857) »: https://git.io/fACg5
hellrazor has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
Twey has quit [Ping timeout: 252 seconds]
Twey has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to master « Revert "mdds: 1.3.1 -> 1.4.1 (#45814)" »: https://git.io/fAC2X
ma27_ has joined #nixos
ma27_ has quit [Client Quit]
ma27_ has joined #nixos
ma27_ has quit [Quit: WeeChat 2.1]
ma27_ has joined #nixos
yosemitesam has joined #nixos
ma27_ has quit [Client Quit]
ma27_ has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45748 → nfs-utils: 2.1.1 -> 2.3.2, integrate libnfsidmap → https://git.io/fAGyl
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fACax
__monty__ has joined #nixos
phreedom has joined #nixos
chreekat has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
ma27 has quit [Quit: WeeChat 2.1]
ma27_ has quit [Quit: WeeChat 2.1]
hellrazor has quit [Ping timeout: 252 seconds]
ma27 has joined #nixos
johanot has joined #nixos
chreekat has joined #nixos
halfbit has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #45860 → catfish: 1.4.4 -> 1.4.6 → https://git.io/fACwW
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fACw8
ma27 has quit [Quit: WeeChat 2.1]
ma27 has joined #nixos
<{^_^}> [nixpkgs] @bfortz opened pull request #45861 → mixxx 2.1.3: Fixed glibc locale bug → https://git.io/fACwo
<{^_^}> [nixpkgs] @woffs opened pull request #45862 → shotcut: 18.08 -> 18.08.14 → https://git.io/fACwP
alexteves has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #45863 → pbrt: 2017-01-12 -> 2018-08-15; cmake 3.12 compatibility → https://git.io/fACwA
ma27 has quit [Quit: WeeChat 2.1]
ma27 has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @lschuermann opened pull request #45865 → libvmi: fix libxenctrl dynamic loading → https://git.io/fACom
<pie__> can an env be loaded where global mutable env doesnt leak in?
<gchristensen> like builtins.getEnv is broken?
rprije has quit [Remote host closed the connection]
chreekat has quit [Ping timeout: 252 seconds]
vmandela has quit [Quit: Leaving]
rprije has joined #nixos
chreekat has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
zli has joined #nixos
<{^_^}> [nixpkgs] @rbvermaa pushed to master « gbenchmark: add darwin to platforms »: https://git.io/fAC6n
das_j has joined #nixos
zli has quit [Remote host closed the connection]
zli has joined #nixos
<das_j> Hey, is there a type that allows for a list of both strings and attrsets? I need this for my nftables-based firewall. Basically I want something like ports = [ "8080" { port = "ssh"; tcpOnly = true; } ]. Is there a type that allows for that?
<{^_^}> [nixpkgs] @bobby285271 opened pull request #45867 → libreoffice: add zh-CN language support → https://git.io/fAC6F
zli has quit [Remote host closed the connection]
<srhb> das_j: Does listOf (either string attrs) not work? I never tried, so not sure if heterogenous lists is a thing at all
roberth has joined #nixos
timclassic has joined #nixos
bachp has joined #nixos
thefloweringash has joined #nixos
MarkOtaris has joined #nixos
florianjacob has joined #nixos
tokudan[m] has joined #nixos
koschei[m] has joined #nixos
fgaz has joined #nixos
simbergm has joined #nixos
Ralith has joined #nixos
schmittlauch[m] has joined #nixos
<srhb> Of course you have to be very careful when you marshal values from it. (selecting on type)
bennofs[m] has joined #nixos
Purple-mx has joined #nixos
<das_j> srhb: Do you think listOf (either string (submodule mytype)) would work? :O what would be a perfect solution
<srhb> oops, str, not string.
<srhb> (I think)
<srhb> One of those is broken, the other is not :P
ma27 has quit [Quit: WeeChat 2.1]
<das_j> I only use str, hopefully it's the right one ;)
<das_j> I'll try that, thanks a lot!
<srhb> das_j: I don't see why not, but be careful when making complicated option types. Nix is really not very strong in this regard, and it's easy to make a giant foot-cannon.
ma27 has joined #nixos
<das_j> srhb: Good thing I mainly use my hands for writing code
<srhb> ;)
iyzsong has joined #nixos
zli has joined #nixos
thibm has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #43437 → Cozy → https://git.io/fNt8U
<{^_^}> [nixpkgs] @Infinisil pushed 6 commits to master: https://git.io/fACig
<{^_^}> [nixpkgs] @bignaux closed pull request #45687 → navit: fix plugins → https://git.io/fAODt
zli has quit [Remote host closed the connection]
fzer000 has joined #nixos
ma27 has quit [Quit: WeeChat 2.1]
ma27 has joined #nixos
ma27 has quit [Client Quit]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #45869 → curaengine: patch for compatibility with cmake 3.12 → https://git.io/fACip
ma27 has joined #nixos
fzer00 has quit [Ping timeout: 245 seconds]
fzer000 has quit [Ping timeout: 244 seconds]
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
<{^_^}> [nix] @graham-at-target opened pull request #2384 → docs: Add some examples to fetchGit → https://git.io/fACPY
johanot has quit [Quit: leaving]
le_jonge has joined #nixos
trcc has quit [Remote host closed the connection]
<le_jonge> hi there. for some reason i can't run integration tests with VMs in nixos on _one_ of my machines. on all other machines, it works. i basically get " waiting for device /dev/vda to appear..", then the device does not appear and the whole thing crashes
trcc has joined #nixos
<le_jonge> any idea how to check if this is not supported at all on this machine or something?
ekleog has quit [Quit: back soon]
iyzsong has quit [Ping timeout: 272 seconds]
thibm has quit [Quit: WeeChat 2.0]
trcc has quit [Ping timeout: 246 seconds]
chreekat has quit [Ping timeout: 240 seconds]
ekleog has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
endformationage has joined #nixos
<sphalerite> le_jonge: is this exactly the same derivation as on the others?
<le_jonge> sphalerite: yes, exactly. i get the same failure on <nixpkgs/nixos/tests/login.nix>
<sphalerite> le_jonge: and the same derivation hash?
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #45820 → treewide: Dont use obsolete platform aliases → https://git.io/fAc9i
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/fAC1P
bjpbakker has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.ecpy: 0.9.0 -> 0.9.1 »: https://git.io/fAC1D
<le_jonge> sphalerite: one moment, i will ping you back once i verified that.
orivej has joined #nixos
ejpcmac has joined #nixos
<le_jonge> sphalerite: need to sync my nixpkgs clones on all machines and rerun, so it will take a moment
<{^_^}> [nix] @Profpatsch opened pull request #2386 → Manual: Passing an env var to a pure nix shell with getEnv → https://git.io/fACMK
alex`` has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @graham-at-target opened pull request #2387 → docs: Add IDs to important sections → https://git.io/fACMF
<gchristensen> apparently today is "fix annoyances with the nix docs" day for me :)
<gchristensen> if you're an Emacs user, I have a great Emacs config for working with XML. hit me up! :)
alex`` has joined #nixos
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45869 → curaengine: patch for compatibility with cmake 3.12 → https://git.io/fACip
<{^_^}> [nixpkgs] @xeji pushed commit from @thefloweringash to staging « curaengine: patch for compatibility with cmake 3.12 (#45869) »: https://git.io/fACDG
<infinisil> gchristensen: Can you tell us about it here? I am using emacs and do have an xml doc thing for it, wondering if you got anything better :)
<{^_^}> [nixpkgs] @xeji merged pull request #45860 → catfish: 1.4.4 -> 1.4.6 → https://git.io/fACwW
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « catfish: 1.4.4 -> 1.4.6 (#45860) »: https://git.io/fACD4
<gchristensen> sure, infinisil, let me clean it up so it is easier to copy-paste :D
<{^_^}> [nix] @edolstra pushed 10 commits to 2.1-maintenance: https://git.io/fACD2
<le_jonge> sphalerite: ok, i got it. it is _exactly_ the same derivation hash
<le_jonge> checked with "nix-instantiate nixos/tests/login.nix"
thibm has joined #nixos
JonReed has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @adevress closed pull request #44092 → POWER9 architecture support : Add initial support to create a powerpc64le boostrap → https://git.io/fNRA0
vaibhavsagar has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45863 → pbrt: 2017-01-12 -> 2018-08-15; cmake 3.12 compatibility → https://git.io/fACwA
<{^_^}> [nixpkgs] @xeji pushed commit from @thefloweringash to staging « pbrt: 2017-01-12 -> 2018-08-15; cmake 3.12 compatibility (#45863) »: https://git.io/fACyn
<gchristensen> ah man I broke it trying to make it easier to copy-paste
<Profpatsch> gchristensen: I also submitted an addition to the nix docs. d)
<gchristensen> :D
<infinisil> gchristensen: Thanks! I'll check it out in a bit (eating right now)
fpletz has joined #nixos
lassulus has joined #nixos
<{^_^}> [nixpkgs] @bignaux opened pull request #45870 → Navit → https://git.io/fACyH
<genesis> sorry to edit another PR but lost in git issues @Mic92_
Boomerang has joined #nixos
alex`` has quit [Quit: WeeChat 2.2]
wchresta has joined #nixos
<sphalerite> le_jonge: right, in that case I'd suspect a hardware-specific qemu bug or something
<sphalerite> le_jonge: not really sure what to do about it, depends on how much time and effort you're willing to invest. If you want to get it properly worked out, probably reduce it to a minimal qemu command that exhibits the problem, then ask #qemu or qemu's bug tracker
<sphalerite> le_jonge: simplest and least-effort "solution" of course is to just avoid that machine…
Ariakenom has quit [Ping timeout: 260 seconds]
TweyII has joined #nixos
<le_jonge> sphalerite: ok, thanks. i guess i will go with the latter because that machine is also relatively old.
<le_jonge> although it has vmx and vtd
Twey has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44979 → nixos/gitea: fix pre start script → https://git.io/fNdjB
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « nixos/gitea: fix pre start script (#44979) »: https://git.io/fAC90
<infinisil> gchristensen: Ah heh, I actually have such a config already
<gchristensen> nice
worldofpeace has joined #nixos
<gchristensen> cool
<infinisil> But I didn't know about the spelling thing, I'll add that :)
<teej> Does Neovim have something similar?
fzer0 has joined #nixos
<teej> Thanks gchristensen and infinisil.
<gchristensen> :)
wchresta has quit [Remote host closed the connection]
thibm has quit [Quit: WeeChat 2.0]
wpcarro has joined #nixos
ilikeheaps has quit [Ping timeout: 252 seconds]
<wpcarro> Totally newcomer question: I have a default.nix file that outlines some Emacs packages, I'd like nixified. Can anyone help me spin up a nix-shell using some default.nix file I created?
<manveru> teej: spelling?
<{^_^}> [nixpkgs] @Gerschtli opened pull request #45871 → pythonPackages.dependency_injector: init at 3.13.1 → https://git.io/fACQx
hyper_ch2 has quit [Quit: Page closed]
<Lears> Suppose I'm writing a shell.nix for a haskell package and I want that package's env, but with hoogle indexing all its dependencies (and preferably the package itself). Is there anything better than overriding the env's nativeBuildInputs attribute to add ghcWithHoogle (p: <all hs deps>) to the list?
symphorien has quit [Ping timeout: 250 seconds]
symphorien has joined #nixos
IRCsum has quit [Ping timeout: 264 seconds]
zgrep has quit [Ping timeout: 250 seconds]
fzer00 has joined #nixos
<infinisil> wpcarro: Hey again :), can you share the file?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #45872 → geoclue2: add patch to whitelist elementary's agent → https://git.io/fAC75
<wpcarro> infinisil: haha hey... me again...
<wpcarro> back with more problems
bjpbakker has quit [Ping timeout: 260 seconds]
<wpcarro> one second... will pastebin
IRCsum has joined #nixos
zgrep has joined #nixos
<wpcarro> infinisil: https://pastebin.com/08v3nkMj
<wpcarro> also feel free to criticize any stylistic concerns... it feels suboptimally designed currently
fzer0 has quit [Ping timeout: 252 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<infinisil> wpcarro: Do you really want a nix-shell for it? Usually nix-shell's are used for project specific things
<infinisil> This looks more like something you'd want to install globally
<wpcarro> infinisil: I think I'm just trying to use a nix-shell to test everything out
silver_ has joined #nixos
<wpcarro> infinisil: not really sure if that's the right approach... I'm trying to slowly migrate my MacOS to Nix
<infinisil> wpcarro: You can get a nix-shell with this emacs in $PATH by doing something like `pkgs.buildEnv { name = "emacsenv"; paths = [ (emacsWithPackages (p: ...) ]; }`
<infinisil> and then starting `nix-shell file.nix`
silver has quit [Ping timeout: 246 seconds]
<wpcarro> okay I'll give that a try!
abcdw has joined #nixos
majorgreys has joined #nixos
<abcdw> Hi guys, I want to get graalvm, but pre-build archive from github not working and showing strange error. I also installed unstable.glraalvm package, but version isn't latest and it doesn't have few binaries in it (lli, gu). Can anyone suggest an approach to get lastest graalvm with minimal amount of pain, please?)
Tucky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @StillerHarpo opened pull request #45873 → lolcat: 99.9.11 -> 99.9.19 → https://git.io/fACdT
<majorgreys> Trying out nix for a project at work and first time joiner to #nixos.
<Taneb> Hey, majorgreys, what sort of project?
<majorgreys> Seeing if we can use nixos and nixops to replace our current chef/vagrant/ad-hoc approach to infrastructure
<{^_^}> [nixpkgs] @timokau opened pull request #45874 → spotify: 1.0.80.474.gef6b503e-7 -> 1.0.88.353.g15c26ea1-14 → https://git.io/fACdC
<majorgreys> At the moment, as an initial attempt, trying to get an ELK stack up and running.
<majorgreys> Is this channel a good place for a beginner or should I move instead to #nixos-chat?
<{^_^}> [nixpkgs] @timokau merged pull request #45874 → spotify: 1.0.80.474.gef6b503e-7 -> 1.0.88.353.g15c26ea1-14 → https://git.io/fACdC
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fACdV
<samueldr> majorgreys: here is good
<samueldr> nixos-chat is for *off-topic* :)
<samueldr> you're rightly on-topic
<infinisil> abcdw: graalvm seems to have been very hard to package:
<infinisil> ,find graalvm/default.nix
<{^_^}> Couldn't find any such files
<infinisil> Nani
<infinisil> Yeah
<wpcarro> infinisil: https://pastebin.com/cKWUkppA Looks like I'm getting a syntax error trying to call pkgs.buildEnv
sibi_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @wizeman opened pull request #45875 → nixos/transmission: fix AppArmor profile to include keyutils → https://git.io/fACdS
<{^_^}> [nix] @edolstra merged pull request #2387 → docs: Add IDs to important sections → https://git.io/fACMF
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fACdQ
<infinisil> abcdw: So your best bet is probably to use steam-run, there is a short section on it here: https://nixos.wiki/wiki/Steam#steam-run
<majorgreys> samueldr: glad
<majorgreys> I've stepped through most of the nix pills
<infinisil> wpcarro: Well what's the error?
<infinisil> ,paste
<{^_^}> Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<infinisil> Also please use one of those sites ^^ pastebin is the bane of paste sites
<majorgreys> I did have some problems because our team is on mac laptops so had to work out getting a build slave up and running
<wpcarro> infinisil: https://pastebin.com/YXmKzkCR
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
mayhewluke has quit [Ping timeout: 245 seconds]
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
orbekk has joined #nixos
<infinisil> Oh, I made a mistake, buildEnv is not the right thing to use
mayhewluke has joined #nixos
<infinisil> wpcarro: stdenv.mkDerivation { name = "emacsenv"; buildInputs = [ (emacsWithPackages ...) ]; } should work
<infinisil> Although I'm not sure what that error is about
<wpcarro> Me neither...
<wpcarro> Is stdenv globally available?
<infinisil> pkgs.stdenv
<{^_^}> [nix] @edolstra pushed to master « nix path-info: Hopefully fix macOS build failure »: https://git.io/fACFK
acarrico has joined #nixos
<wpcarro> infinisil: mmm same error... calling pkgs.stdenv.mkDerivation
Ariakenom has joined #nixos
<infinisil> Humm
<infinisil> Why do i not see the error
<infinisil> Ohhhhhh
<infinisil> wpcarro: It's `pkgs = import <nixpkgs> {}`
<infinisil> Not `pkgs = import <nixpkgs>`
<wpcarro> ah... interesting
<{^_^}> [nixpkgs] @dotlambda pushed 143 commits to staging-next: https://git.io/fACFj
<wpcarro> Nice! That seemed to moved me onto another error that's a lot more understandable
<wpcarro> infinisil: wahoo! It's churning!
<wpcarro> thank you
<wpcarro> This is so cool
yosemitesam has quit [Quit: Leaving]
<abcdw> infinisil thanks for idea, will try steam-run
<abcdw> nix-build default.nix error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
<abcdw> trying to build graal myself, but getting this error
__Sander__ has quit [Quit: Konversation terminated!]
<infinisil> wpcarro: Nice :)
<wpcarro> Any tips for debugging a `dependencies couldn't be built` error?
<infinisil> abcdw: In the nixpkgs root directory, use `nix-build -A graalvm
<wpcarro> Looks like the final snag
<infinisil> abcdw: Or graalvm8 I guess
<infinisil> wpcarro: Um, looking at the error message?
<wpcarro> haha right... I was just under the impression that `emacsWithPackages` ensured that the dependencies were available and compatible.
<wpcarro> I should also probably be pinning to a nix-channel revision
<JonReed> abcdw: The error was because you have tried to call an expression which requires an argument to be passed to it which wasn't passed `{ stdenv }: ..`.
<infinisil> wpcarro: Just because something evaluates does not mean it builds as well. Successful builds depend on many many things
erasmas has joined #nixos
<JonReed> abcdw: If you want to call nix-build on an expression like that you can do `nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"`, which will automatically detect that e.g., `stdenv` is required and supply it
<JonReed> abcdw: But would use your global `nixpkgs` not the local git clone. The `nix-build -A ..` from root would use that git clone
<abcdw> Good, nix-build -E seems working. Thank a lot.
<abcdw> Can someone give a good tutorial on maintaining local nixpkgs?
<infinisil> JonReed: abcdw: Note that nix-build -E ... isn't reproducible with your nixpkgs version. That's why I recommended nix-build -A initially
rsa has quit [Ping timeout: 252 seconds]
<{^_^}> [nix] @grahamc pushed 2 commits to graham/document-multi-user: https://git.io/fACbp
<{^_^}> [nix] @grahamc pushed 0 commits to graham/document-multi-user: https://git.io/fACNe
<wpcarro> infinisil: ok misapprehension on my part. Thanks for correcting me. I'll follow up with issues for the problematic packages. Thanks
<{^_^}> [nix] @grahamc pushed 0 commits to grahamc-patch-1: https://git.io/fACNf
alex`` has joined #nixos
ZoomZoomZoom has quit [Quit: Leaving]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<abcdw> infinisil, steam-run works, thank you.
<{^_^}> [nixpkgs] @romildo opened pull request #45876 → deepin-icon-theme: 15.12.52 -> 15.12.59 → https://git.io/fACNh
ThatDocsLady_ has quit [Remote host closed the connection]
<{^_^}> [nix] @grahamc opened pull request #2388 → Document multi-user installation, and add release notes about it being the default on 2.1 → https://git.io/fACAq
ThatDocsLady_ has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #nixos
<teej> manveru: What do you mean by "spelling"?
<manveru> teej: what did you want from neovim?
<teej> Oh. I was just wondering if there were Nix-related language and syntax detection for Nix-related files when using the Neovim editor.
<manveru> yes, there is :)
<teej> Oh I see. I am a newbie in this stuff.
<manveru> no worries
<manveru> just wonder if you've tried it already
<manveru> anw, i'm using sheerun/vim-polyglot for it
abcdw has quit [Ping timeout: 252 seconds]
vandenoever has joined #nixos
Boomerang has quit [Quit: WeeChat 2.1]
mteufel is now known as mt
alex`` has quit [Quit: WeeChat 2.2]
wucke13 has joined #nixos
<wucke13> Hello, I have a problem compiling a rust library. While linking, the cc complains 'cannot find -lsqlite3'. However, sqlite is installed. Did someone resolve similar problems with rust/cargo already?
<infinisil> ,install wucke13
<{^_^}> infinisil: Did you mean unstable?
<infinisil> ,library wucke13
<{^_^}> wucke13: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<infinisil> sry, ignore the first link
NightTrain has quit [Ping timeout: 240 seconds]
thibm has joined #nixos
sigmundv__ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #41920 → drawpile: init at 2.0.10 → https://git.io/vhKCE
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fAChd
kisik21 has quit [Ping timeout: 240 seconds]
<wucke13> infinisil, {^_^} thanks, i will give that a try
<wucke13> Works now, thanks! For future reference: nix-shell --packages cargo rustc rustup sqlite \
<wucke13> --run 'rustup install stable && rustup default stable && cargo run'
kenshinC1 has joined #nixos
NightTrain has joined #nixos
Thra11 has joined #nixos
kenshinC1 has quit [Ping timeout: 272 seconds]
kisik21 has joined #nixos
TweyII has quit [Ping timeout: 246 seconds]
jonreeve has joined #nixos
<jonreeve> Does anyone know whether there's another nix-collect-garbage -d command I could run? I don't feel like I've installed too much software, but I've already filled up my 50GB system partition
<gchristensen> on nixos?
<{^_^}> [nixpkgs] @globin merged pull request #45852 → home-assistant: 0.76.1 -> 0.77.1 → https://git.io/fACWs
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/fAWvZ
<gchristensen> jonreeve: run `nix-store --gc --print-roots` it'll tell you what still exists which you need to delete to let it GC more stuff. if on nixos, run nix-collect-garbage -d as root
<jonreeve> Yep it's on nixos
<jonreeve> Thanks, I'll try that
Ariakenom has quit [Ping timeout: 245 seconds]
akaWolf has joined #nixos
rfold has joined #nixos
wpcarro has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ckauhaus is now known as ckauhaus|away
<{^_^}> [nix] @edolstra pushed to master « Really fix the build »: https://git.io/fAWft
<infinisil> jonreeve: nix-collect-garbage --older-than 10d
<infinisil> or so
<infinisil> Check out the man pages
Ariakenom has joined #nixos
<jonreeve> Awesome, thanks
<jonreeve> Just freed up half my HD
<gchristensen> elvishjerricco: do you have a workaround for your comment on my PR? I'm not sure how to do it otherwise w/out downloading the file.
<gchristensen> which is fine, we can put those instructions in, but if you have something nicer :)
fenedor has joined #nixos
<elvishjerricco> `bash <(curl ...) --daemon`
<elvishjerricco> dunno if it works with sh
<gchristensen> yay! it does!
mdash has joined #nixos
majorgreys has quit [Ping timeout: 246 seconds]
<mdash> any of y'all using NFS with the nixos firewall enabled? trying to figure out how to properly let it through
<{^_^}> [nixpkgs] @xeji merged pull request #45833 → ethtool: 4.17 -> 4.18 → https://git.io/fAcpT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « ethtool: 4.17 -> 4.18 (#45833) »: https://git.io/fAWJ8
<JonReed> mdash: Not NFS, but I use Samba and you just have to add its ports to configuration.nix like "networking.firewall.allowedTCPPorts = [ 445 139 ]; networking.firewall.allowedUDPPorts = [ 137 138 ];"
<JonReed> https://nixos.wiki/wiki/Samba Ctrl+F firewall there, there is a small section
<mdash> yeah samba is a lot more reasonable in its network behavior
<mdash> eh, think i figured it out from https://github.com/NixOS/nixpkgs/issues/13278
<{^_^}> #13278 (by garbas, 2 years ago, closed): wiki: NFS
lfish has joined #nixos
<jonreeve> Does anyone know how to get a nix-shell environment for a local python package (i.e. one with a setup.py file)?
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45876 → deepin-icon-theme: 15.12.52 -> 15.12.59 → https://git.io/fACNh
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « deepin-icon-theme: 15.12.52 -> 15.12.59 (#45876) »: https://git.io/fAWUh
Izorkin has joined #nixos
<wpcarro> I'm including things like pkgs.which in my paths attribute in pkgs.stdenv.mkDerivation... but when I run `nix-shell --pure default.nix` and attempt to call `which`, I'm told it's unavailable.
<wpcarro> This doesn't happen when I call something like `nix-shell -p which`, though -- which works
<lfish> hello, I was trying to use nix-env and it tells me that I have to upgrade Nix to a version >= 2.0 and that I can install it with nixos-rebuild. However, nixos-rebuild shows me the same message. How do I upgrade nix? I'm on nixos, 17.09.
<gchristensen> lfish: can you paste the whole error message you get?
<gchristensen> ,paste lfish
<{^_^}> lfish: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<{^_^}> [nixpkgs] @xeji merged pull request #45819 → mdp: 1.0.13 -> 1.0.14 → https://git.io/fAcSS
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mdp: 1.0.13 -> 1.0.14 (#45819) »: https://git.io/fAWTx
<{^_^}> [nixpkgs] @xeji merged pull request #45862 → shotcut: 18.08 -> 18.08.14 → https://git.io/fACwP
<{^_^}> [nixpkgs] @xeji pushed commit from @woffs to master « shotcut: 18.08 -> 18.08.14 (#45862) »: https://git.io/fAWkG
<lfish> that's the error message from nixos-rebuild switch --upgrade
<gchristensen> interesting
<gchristensen> lfish: run `nix-channel --list`?
<clever> gchristensen: the safety in nixos-rebuild requires the new nixos-rebuild with the safety
<gchristensen> I don't understand
<infinisil> wpcarro: It's buildInputs, not paths
<wpcarro> infinisil: you know me too well
<clever> lfish: what happens if you run `sh ~/.nix-defexpr/channels/nixos/nixos/modules/installer/tools/nixos-rebuild.sh build` ?
<wpcarro> I also found this article, which is super helpful: https://www.sam.today/blog/environments-with-nix-shell-learning-nix-pt-1/
<mdash> jonreeve: pypi2nix is useful for this
<lfish> i've been changing it, right now it outputs nixos https://nixos.org/channels/nixos-18.03, I've also building from nixos unstable and without any channels listed
<clever> gchristensen: the error is refering to the safety code in here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-rebuild.sh#L263-L299
<gchristensen> lfish: probably best to upgrade your system to nixos-18.03
<clever> gchristensen: which will just use `nix-store -r` to download a compatible nix
<clever> but if your nixos-rebuild is too old, it wont have the safety
<{^_^}> [nixpkgs] @LnL7 merged pull request #42464 → doc: add installCheckTarget and installCheckFlags to manual → https://git.io/f4Sla
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fAWIT
<infinisil> Is Ericson2314 ever in here?
<gchristensen> nice!
<gchristensen> infinisil: as Sonarpulse, yes
<infinisil> Ah!
<infinisil> Thanks
<clever> gchristensen: but checking the source, i can see that @nix_x86_64_linux@ isnt baked into the nixpkgs, so the cmd i gave lfish above likely wont work
<gchristensen> gotcha.
<clever> > "lfish, try doing: nix-store -r ${nix} ; nixos-rebuild boot --fast"
<{^_^}> "lfish, try doing: nix-store -r /nix/store/rbvqani25sypvz5j6hdzbhafpmkhnv1l-nix-2.0.4 ; nixos-rebuild boot --fast"
<clever> lfish: oh oops, let me fix a typo
<gchristensen> lol! nice!
<clever> > "lfish, try doing: nix-store -r ${nix} ; PATH=${nix}/bin:$PATH nixos-rebuild boot --fast"
<{^_^}> "lfish, try doing: nix-store -r /nix/store/rbvqani25sypvz5j6hdzbhafpmkhnv1l-nix-2.0.4 ; PATH=/nix/store/rbvqani25sypvz5j6hdzbhafpmkhnv1l-nix-2.0.4/bin:$PATH nixos-rebuild boot --fast"
<samueldr> clever, gchristensen, would it be workable to update 17.09 for upgrades?
<clever> --fast stops nixos-rebuild from trying to build the "right" nix, and just uses whatever is in PATH
<clever> samueldr: using the cmd {^_^} just gave, you should be able to upgrade almost anything
<samueldr> clever: yeah, though some users won't see that line just now shared in the oral tradition of IRC :)
<samueldr> alternative could be a release-note note for 18.09 with that (using the fallback paths)
<lfish> clever: it now prints a rather long error message that ends the same way
<clever> samueldr: yeah, it will need to be documented properly, it doesnt matter that much that the nix2 is recent, just that it can parse the nixpkgs
<clever> lfish: can you gist the whole error, and the cmds you ran?
<samueldr> I was thinking along the ways that the fallback path is... hopefully a known tested value :)
<{^_^}> [nixpkgs] @xeji merged pull request #45154 → rpcbind: 0.2.4 -> 1.2.5 → https://git.io/fNh8j
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAWIx
ckauhaus|away is now known as ckauhaus
<clever> lfish: you need to use the version {^_^} gave, after applying the variable expansion
drakonis has quit [Remote host closed the connection]
<teej> If I wanted to remove nix, all I need to do is delete the nix folder and remove the line in `.bash_profile`, right? Am I missing anything else?
<lfish> clever: my bad, http://nixpaste.lbr.uno/vjfFmqTb?nix that's the error
<gchristensen> teej: you're pretty new, it seems from your earlier comments :) what's up? did you have a bad time?
<infinisil> clever: The bot is on master though, and there's currently no way to get channels, so not sure if it's good to run commands like that :P
<infinisil> (well master from some weeks ago)
<infinisil> > rev
<{^_^}> "90223e4a4a60556e7b706c69480593557b8a2fb9\n"
<clever> infinisil: ah yeah, and i have sorta messed up my laptop before, by installing nix master
<teej> gchristensen: I want to test nix and I suppose the documentation needs a bit of work.
<gchristensen> teej: it does X) I have been writing a bunch of docs today. what documentation are you missing?
<clever> lfish: nix-store -r /nix/store/aj8yk779bng82q1z6a0i6mn2sv590dxm-nix-2.0.4 ; /nix/store/aj8yk779bng82q1z6a0i6mn2sv590dxm-nix-2.0.4/bin/nix-build '<nixos/nixos>' -A system
<infinisil> clever: I updated it to newest nixos-unstable now though
<infinisil> > rev
<{^_^}> "90223e4a4a60556e7b706c69480593557b8a2fb9\n"
<infinisil> Oh um
<{^_^}> [nixos-hardware] @erictapen opened pull request #76 → thinkpad: introduce t430 → https://git.io/fAWtf
<JonReed> wpcarro: If you want to build an environment for package git cloned locally, then here is an example: python27 https://pastebin.com/SfZJQPRv python35 https://pastebin.com/St6dBPfE
<teej> gchristensen: I have a lot of feedback, as a newbie looking at nix. Would you like me to pm you to prevent this channel from getting a lot of my messages?
<gchristensen> teej: if you'd _prefer_ a PM, that would be fine. however, I think any feedback you have would be just as appropriate for here directly
<{^_^}> [nixpkgs] @rebelyer opened pull request #45877 → qbs: 1.8 -> 1.12 → https://git.io/fAWtL
<maurer> teej: While I hope gchristensen can help you with whatever your trouble is, if you do decide to remove nix, the other thing you'll want to remove is the "/nix" directory, and if installed multi-user, the startup units for nix-daemon and the nixbld users
<cransom> ^ agreed. crowd sourcing questions is far better than asking one person directly.
<JonReed> wpcarro: If you have a bunch of local scripts that you update locally, specifying a hash or commit hash manually will get rather annoying, so it's easier to pack a direcotry as .tar, and generate a nix file automatically
jonreeve has quit [Ping timeout: 245 seconds]
<gchristensen> if you have a multi-user install (ie: installed on macOS) you'll want these uninstall directions: https://github.com/NixOS/nix/pull/2388/files#diff-a725d107f8b2f9b615239637bbe445b2R85 (unmerged because they're brand new :))
<teej> I don't want to inundate everyone with seemingly trivial feedback, as I'm aware that there are more important "core" issues to focus on.
<gchristensen> sure. if you prefer it, feel free to PM me :)
<infinisil> My xmobar has been crashing a whole lot since updating recently, the error I'm getting is sometimes https://gist.github.com/bc923e7ca5bea71e3de01fb4c62678ad
<infinisil> "X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)"
<infinisil> So some X related error. I'll try to reboot (which I haven't since updating), but such errors have been happening forever, just not as often as they do now
<infinisil> Maybe it's the nvidia driver actually..
<wpcarro> JonReed: thanks for reaching out. Maybe a pm makes the most sense
<lfish> clever: that last might take a while... is it manually specifying what version of nix to use and rebuilding the system with it?
<infinisil> My xmobar gets automatically restarted by systemd when it crashes, but now this doesn't work well anymore because it crashes so often that the restart limit kicks in.. (I need to increase it) :/
<clever> lfish: yep
<clever> lfish: when done, you can ./result/bin/switch-to-configuration boot, to update the bootloader
<lfish> clever: okay, thank you, I have to leave for now, might be asking more stuff later :)
<{^_^}> [nixpkgs] @primeos merged pull request #45873 → lolcat: 99.9.11 -> 99.9.19 → https://git.io/fACdT
<{^_^}> [nixpkgs] @primeos pushed commit from @StillerHarpo to master « lolcat: 99.9.11 -> 99.9.19 (#45873) »: https://git.io/fAWqs
pip3000 has joined #nixos
<pip3000> hello. how do i install teamviewer 13. when i add services.teamviewer.enable = true to configuration.nix i only get version 12.
<{^_^}> [nixpkgs] @danieldk opened pull request #45878 → dbxml: move db62 to propagatedBuildInputs. → https://git.io/fAWmT
<infinisil> > teamviewer.name
<{^_^}> "teamviewer-13.1.3026"
<clever> pip3000: looks like nixos-unstable should have 13
<infinisil> Yeah, 18.03 only has version 12
<infinisil> ,unstable pip3000
<pip3000> thanks. now i have to find out how to use unstable :D
<pip3000> thanks for the link
<elvishjerricco> gchristensen: That seems neat. Probably the right way to do it
Mark___ has joined #nixos
<gchristensen> elvishjerricco: teej told me "but rust can do it" and linked me to their script ... this is how rust does it :)
<elvishjerricco> Heh nice :)
<{^_^}> [nixpkgs] @romildo opened pull request #45879 → deepin-terminal: 3.0.0 -> 3.0.3 → https://git.io/fAWYY
<{^_^}> [nixpkgs] @thefloweringash opened pull request #45880 → qgis: patch for compatibility with cmake 3.12 → https://git.io/fAWYs
orivej has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<LnL> can anybody else test this https://github.com/NixOS/nixpkgs/pull/42464
<{^_^}> #42464 (by LnL7, 9 weeks ago, merged): doc: add installCheckTarget and installCheckFlags to manual
phreedom has quit [Ping timeout: 250 seconds]
sigmundv__ has joined #nixos
<Zajcev> guys, I'm kind of desperate ... please look at https://pastebin.com/2vUZ64yw
<Zajcev> if I enable first host its working, second host vorking, but both no way ...
<Zajcev> I'm making some stupid mistake and can't figure it out ...
<clever> Zajcev: how are you testing it, and how is it not working?
pip3000 has quit [Ping timeout: 252 seconds]
<Zajcev> its qemu virt deployed with nixops
<clever> Zajcev: journalctl -u nginx | tail -n30
<{^_^}> [nixos-hardware] @Mic92 opened pull request #77 → [rebased from #67] Suggestions for CONTRIBUTING → https://git.io/fAWO5
<clever> Zajcev: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
<Zajcev> I'm googling ...
<clever> If a large number of server names are defined, or unusually long server names are defined, tuning the server_names_hash_max_size and server_names_hash_bucket_size directives at the http level may become necessary.
<{^_^}> [nixos-hardware] @Mic92 merged pull request #77 → [rebased from #67] Suggestions for CONTRIBUTING → https://git.io/fAWO5
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/fAW3k
<{^_^}> [nixos-hardware] @Mic92 closed pull request #67 → Some suggestions for CONTRIBUTING → https://git.io/fN3p5
<Zajcev> but what is large number an unusually long???
<Zajcev> and
<clever> Zajcev: appendHttpConfig is the nixos option to add things to that area
<clever> services.nginx.appendHttpConfig
<Zajcev> I see
<Zajcev> but it's strange isn't it?
<clever> services.nginx.appendHttpConfig = "server_names_hash_bucket_size 64";
<clever> Zajcev: very, i have 5 or 6 domains on mine and no issues, you appear to have 2?
<Zajcev> only 2
<clever> Zajcev: can you pastebin /nix/store/kkj9rs80wgkcpki4znpak4fgp7c6nv9h-nginx.conf ?
<Mark___> is there a channel specifically for the nix package manager or does this channel pull double duty for that topic as well?
Mark___ is now known as MarkRBM
<clever> Mark___: this channel handles nix, nixpkgs, nixos, and nixops
<MarkRBM> thanks just making sure
phreedom has joined #nixos
marzzzello has joined #nixos
<srhb> This channel is a real workhorse!
pip3000 has joined #nixos
<pip3000> hello. how do i tell services.teamviewer.enable = true in configuration.nix to use the unstable version?
<pip3000> i've added unstable channel already
<clever> pip3000: you need to use packageOverrides to change the teamspeak attribute
<{^_^}> [nixpkgs] @andir opened pull request #45881 → openjdk: 10.0.1 -> 10.0.2 → https://git.io/fAW3N
erasmas has quit [Quit: leaving]
<pip3000> thanks
disasm has joined #nixos
majorgreys has joined #nixos
<{^_^}> [nixpkgs] @andir opened pull request #45882 → openjdk10: 10.0.1 -> 10.0.2 → https://git.io/fAWs8
ixxie has joined #nixos
wucke13 has quit [Ping timeout: 240 seconds]
<pip3000> clever: i followed this instructions: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F but when i add the "let ... in" section i get error: syntax error, unexpected LET, at /etc/nixos/configuration.nix:146:1
<clever> pip3000: `let key=value; in value` is only valid in areas where a value could have also be used
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libtirpc: 1.0.3 -> 1.1.4 (#45815) »: https://git.io/fAWs9
<{^_^}> [nixpkgs] @xeji merged pull request #45815 → libtirpc: 1.0.3 -> 1.1.4 → https://git.io/fAcDf
<clever> for example, { key= let key2=value2; in value3; }
<clever> but { let foo = bar; in ... } is not valid
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
rfold has quit [Quit: leaving]
<ixxie> Are there any advantages to using docker or nixos containers in NixOS over a service module?
<clever> ixxie: the only time i see nixos containers being of use, is when a service is being dumb and expects something like a constant port or unix socket, and you cant run 2 of it
<clever> ixxie: or for running a group of services in a contained way
<ixxie> clever: i.e. in a Kube context?
<ixxie> or even just docker-compose I guess
<clever> ixxie: i just use pure nixos, no k8 or docker
<ixxie> my problem is I will collaborate with a developer with no Nix background, and I don't think my Nix skills could keep up with his development
<ixxie> so I wanna allow him to just send a docker container to a NixOS dockerhost
<clever> ah
<pip3000> clever: i use the default configuration.nix that came with nixos installer. where can i insert the let ... in section then?
<clever> pip3000: between the { pkgs, ... }: and the first {
<pip3000> oh ok
<{^_^}> [nixpkgs] @primeos pushed to master « fuse3: 3.2.5 -> 3.2.6 »: https://git.io/fAWGo
<ixxie> this is the unfortunate reality for me with Nix: as much as I love it I can't seem to be able to package as fast as I need to to use it at work
<ixxie> clever: so you don't have a need to orchastrate complex service patterns?
<pip3000> clever: same error. my configuration.nix looks like this now: https://pastebin.com/raw/TL521QVF
<clever> ixxie: its mostly just a few independant systemd services
<clever> pip3000: you have 2 sets after the in
<clever> pip3000: you must only have 1 set after the in
<pip3000> ok. but will it upgrade the whole system to unstable then?
<clever> pip3000: a: no, b: i dont see anything refering to unstable in that pastebin, so that will have zero impact on the system
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1e1221c1c15 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
phreedom has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #45879 → deepin-terminal: 3.0.0 -> 3.0.3 → https://git.io/fAWYY
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fAWZa
lfish has quit [Ping timeout: 252 seconds]
ckauhaus is now known as ckauhaus|away
ted_ has quit [Quit: Leaving]
chreekat has joined #nixos
drakonis_ has joined #nixos
solaire has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/083220867c7 (from 3 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
solaire has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #45884 → stdenv: Better message for deprecated `isArm` → https://git.io/fAWnp
<pip3000> clever: does indentation matter in configration.nix?
<clever> pip3000: nope
<pip3000> good
<ixxie> weird... I install docker as a system package, and have a user added to the docker group, and yet the user cannot access docker
<clever> ixxie: run `id`
<ixxie> nvm
<ixxie> didn't refresh the session indeed
<gchristensen> NixOS's ofborg infrastructure is undergoing a bit of a risky update. Hopefully nothing goes wrong. I'll keep you posted. See #nixos-borg for finer grained updates. Things _will_ be broken for at least a few minutes, but hopefully _only_ a few minutes.
romildo has joined #nixos
<romildo> How should I quote the text "$${QT_HOST_DATA}" inside a '' nix delimited string?
<clever> > '' ''$''${QT_HOST_DATA} ''
<{^_^}> "$${QT_HOST_DATA} "
<srhb> > ''$''${QT_HOST_DATA}''
<{^_^}> "$${QT_HOST_DATA}"
<srhb> Only ${ needs quoting
phreedom has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<romildo> Like the following inside the postPatch definition?
<romildo> sed -i src/src.pro src/dtk_module.prf -e "s,\$\''${QT_HOST_DATA}/mkspecs,$out/mkspecs,"
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #45884 → stdenv: Better message for deprecated `isArm` → https://git.io/fAWnp
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/fAWCC
<clever> that looks good at a glance
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/03bb7def46a (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
tertl3 has joined #nixos
fendoer has joined #nixos
fendor_ has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
fendor has quit [Ping timeout: 246 seconds]
fenedor has quit [Ping timeout: 252 seconds]
<gchristensen> OfBorg is back! Thank you for your patience!
<genesis> :-)
<genesis> Sometimes, only one bot is missing, and the whole world seems depopulated
thibm has quit [Quit: WeeChat 2.0]
dmj` has quit [Quit: Connection closed for inactivity]
romildo has quit [Ping timeout: 245 seconds]
fendor_ has quit [Ping timeout: 240 seconds]
<infinisil> Idea: Have the nixpkgs channels contain a "mimimum change duration"
<infinisil> This is the minimum duration for a channel update to take place
johanot has joined #nixos
<infinisil> E.g. the nixos-unstable channel could have a duration of 1 day
<{^_^}> [nixpkgs] @xeji merged pull request #45882 → [18.03] openjdk10: 10.0.1 -> 10.0.2 → https://git.io/fAWs8
<{^_^}> [nixpkgs] @xeji pushed commit from @andir to release-18.03 « openjdk10: 10.0.1 -> 10.0.2 (#45882) »: https://git.io/fAWli
<infinisil> The nixos-17.09 channel a duration of 1 month
<infinisil> This would reduce the need for nix to redownload these channels every so often "just to see if it changed"
<infinisil> Because these durations are then a guarentee by the channels
<gchristensen> Nix uses etags to not redownlaod the entire channel I think
<andi-> isn't that what HEAD is for?
<teej> Typically how long will it take for new python version (e.g., python3.7) packages to show up in the nix-env unstable repo?
<infinisil> Oh hum
<gchristensen> also, a channel update happens on day 0, critical security update is released on day 1, what happens to them for the next 30d?
<srhb> teej: The speed of contributions, usually.
<infinisil> nixos-17.09 shouldn't be supported anymore
drakonis_ has quit [Remote host closed the connection]
<gchristensen> I would have used an exampple of 18.03 but you didn't provide a duration ;)
<infinisil> Ah yeah, probably like 1 day for 18.03
<infinisil> My main motivation was to reduce the need to download anything when you set the time to e.g. 1000 years
<clever> gchristensen: we will want to make sure ntpd still works on the next nixos release
<infinisil> But that's not very useful for the channels that get changed often
<gchristensen> clever: 'h?
<clever> gchristensen: there is a bug that causes it to half die, but not quit, after a few hours of uptime
<pip3000> no matter what i do i always get error error: syntax error, unexpected ';', expecting $end, at /etc/nixos/configuration.nix:147:2
<gchristensen> okay
<infinisil> Having such a big duration would essentially pin a channel
<samueldr> clever: is this tracked?
<clever> pip3000: no ; at the end of the file
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 17
<{^_^}> ntp-project/ntp#27 (by cleverca22, 11 weeks ago, open): fix the seccomp filter to include a few previously missed syscalls
<samueldr> (tracked in nixpkgs)
<clever> i had filed a PR, then it got merged, then i noticed a typo that means i only fixed 32bit ntpd, lol
<samueldr> (hadn't opened the issue yet)
<clever> havent gotten around to a 2nd pr or a proper issue
<pip3000> clever: i have ; at the end of file
<clever> pip3000: that is why its failing
<majorgreys> Can nixops be useful for local development when used from a nix-docker image? I am new and using a mac, and finding the headaches of getting up and running on a mac as a problem for the other engineers on my team.
<pip3000> clever: i'm so stupid :D
<ixxie> clever: have you considered putting your kexec installer in its own repo? It works very well!
<clever> ixxie: havent thought of splitting it out
<samueldr> clever: https://github.com/NixOS/nixpkgs/issues/45885 if you want to add anything, reference the issue
<{^_^}> #45885 (by samueldr, 46 seconds ago, open): Finalize ntpd fix for ntp#27
<clever> samueldr: sure
romildo has joined #nixos
das_j has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @xeji merged pull request #45845 → bdf2psf: 1.184 -> 1.185 → https://git.io/fACTL
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « bdf2psf: 1.184 -> 1.185 (#45845) »: https://git.io/fAW4D
<pip3000> ok now i have teamviewer 13 as service but i think the rest of my system is upgrading to unstable now
<symphorien> you can run nixos-version to check it
pip3000 has quit [Ping timeout: 252 seconds]
simukis has quit [Quit: simukis]
<ixxie> whats the option for creating a directory again?
<symphorien> what sort of directory ?
<ixxie> the one you put files?
<ixxie> one owned by a group
<symphorien> in /etc ? /var/lib/blah for a daemon ?
<ixxie> for some docker compose files to be used imperatively by users sshing into the machine
<ixxie> but why does it matter?
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #45886 → stdenv: Deprecate non-string configureFlags → https://git.io/fAWB9
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8252400a0da (from 38 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<symphorien> ixxie: /etc: with environment.etc /var/lib/blah: system has options to create these for you, temporary directories to create/cleanup on each boot: systemd-tmpfiles
<symphorien> or even an activationScript (but you have to make sure it never fails)
<symphorien> so there are many options depending on what you want
<symphorien> s/system has options/systemd has options
<ixxie> I want something that lets me ensure the existance of a custom directory in a particular path owned by a particular user:group
<ixxie> no for a service
<symphorien> i'd say systemd-tmpfiles
<ixxie> just for my plain old configuration
<symphorien> see man tmpfiles.d and the corresponding nixos option
<ixxie> thanks
<{^_^}> [nixpkgs] @romildo opened pull request #45887 → dtkcore: init at 2.0.9 → https://git.io/fAWR6
rprije has quit [Ping timeout: 272 seconds]
majorgreys has quit [Ping timeout: 272 seconds]
rprije has joined #nixos
Thra11 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #45888 → qt-3: Make `configureFlags` a list → https://git.io/fAW0Z
kisik21 has quit [Ping timeout: 252 seconds]
solaire has quit [Quit: Leaving]
__monty__ has quit [Quit: leaving]
jperras has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
drakonis has joined #nixos
wpcarro has quit [Ping timeout: 272 seconds]
aarvar has quit [Ping timeout: 252 seconds]
<{^_^}> [nix] @edolstra pushed to master « Add contributors »: https://git.io/fAWEY
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
jperras has joined #nixos
vaibhavsagar has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra pushed to master « nix path-info: Remove trailing spaces »: https://git.io/fAWEE
dbmikus has quit [Quit: WeeChat 2.2]
<adamantium> Hi guys, I already mentioned it twice, once when it was pretty alpha, and last night in the wee hours, this is my last announce in here, if anyone wants to help me test my nixos zfs-on-root bootstrapper I would appreciate it! https://github.com/a-schaefers/themelios "Bootstrap a zfs-on-root NixOS configuration in one command"
jperras has quit [Client Quit]
jperras has joined #nixos
silver_ is now known as silver
<adamantium> You can download the script to a livedisk VM and test it like this: [root@nixos:~]# ./themelios vm-config.sh a-schaefers/themelios
<adamantium> Thank you :)
<elvishjerricco> >> imho legacy bios with zfs BE's is more robust
<elvishjerricco> adamantium: What's BE?
<adamantium> Boot Environments
<adamantium> I suppose I should not use that lingo
<adamantium> Not exactly. A boot environment in ZFS is a bootable snapshot clone of your ROOT filesystem
orivej has quit [Ping timeout: 240 seconds]
<adamantium> So when you install zfs-on-root, you can keep snapshots, and make them bootable, using various tools. The most famous tool for creating boot environments is the posix script "Beadm"
<adamantium> This allows you to rollbackwards and forwards your filesystem in an even deeper and more atomic way than NixOS does and boot them from grub, though it is quite similar.
<adamantium> Zedenv looks like an alternative to the beadm script. I haven't used zedenv though.
<elvishjerricco> adamantium: So it's essentially just a way to boot ZFS snapshots from grub?
<adamantium> Boot environments are bootable snapshot clones of your root filesystem.
romildo has quit [Quit: Leaving]
<{^_^}> [nix] @edolstra pushed to master « fetchGit/fetchMercurial: Don't absolutize paths »: https://git.io/fAWu6
<pie__> Yaniel, did you ever get renoise workng
<pie__> tertl3, not sure if you were the one trying to install renoise as well according to logs? ^
fendoer has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #45881 → openjdk: 10.0.1 -> 10.0.2 → https://git.io/fAW3N
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAWux
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<pie__> so...how would I go about acquiring this "snd-aloop" module?: https://gist.github.com/pezz/6761488
<clever> ,locate linux.out 8,068 r /nix/store/yw01y3c85zhzw4dwiic6vpdd92bfgvcs-linux-4.9.23/lib/modules/4.9.23/kernel/sound/drivers/snd-aloop.ko.xz
<{^_^}> ,locate only takes 1 or 2 arguments
<clever> oops, pasted too much
<clever> pie__: its part of the base linux packages, so just `modprobe snd-aloop` or add it to the right nixos param for auto-loading
<pie__> oh ok
v0latil3 has joined #nixos
<clever> pie__: pulseaudio may make things simpler
<pie__> apparently renoise doesnt use it
<clever> pulseaudio also includes its own alsa drivers
<clever> so anything alsa based will wind up connecting to pulse
<v0latil3> I'm having trouble figuring out how to make a windows vm with libvirt in nixos. All I can find are guides on nixops when I search for that though
<v0latil3> Do I just need to enable libvirtd and then do it manually?
<pie__> ok i got it to work
<v0latil3> I suppose I want to do it manually anyways I don't care for the vm to restart when I change nixos config.
<clever> v0latil3: ive just ran windows in virtualbox
<pie__> *i think*
<pie__> clever, you know anything about dealing with underruns...
<clever> pie__: not much
<pie__> meh, i dont know if im actually hearing the audio as i should because of this config stuff
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
teej has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8252400a0da (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<philippD> I have a tarball with some nix expressions and a default.nix at root level that I'm trying to import in another expression but it seems to try to import nixpkgs instead for som reason. The tarball is the master of this repo https://github.com/chisui/nix-mkPandoc/tree/bb98878ee0bdeb71bdd1d88c0746101d473a164b import in https://gist.github.com/chisui/
<philippD> 05c05b73055926038d723899d9b7b437.
<clever> philippD: can you add nixpkgs.pinned.nix to the gist?
<philippD> clever: it produces the same error if you replace the import with "import <nixpkgs> {}"
<philippD> but I'll add it
<philippD> added
<clever> philippD: and is the sha256 correct?
<clever> its identical to nixpkgs
<clever> so nix just grabbed the nixpkgs from /nix/store/
<clever> you claimed it was identical, so nix didnt bother trying to fetch mkPandoc
<clever> replace a few digits with 0's, and then re-build
<{^_^}> [nixpkgs] @erictapen opened pull request #45889 → buildRustPackage, fetchcargo: optionally use the real config from cargo vendor → https://git.io/fAWa0
<philippD> Oh, it was a copy-paste error then. Nix doesn't check the url part for fetchTarball if the sha matches?
<clever> fetchTarball uses a name of "source"
<clever> and only the name and sha256 are used
<{^_^}> [nixpkgs] @erictapen closed pull request #45402 → [WIP] buildRustPackage: optionally use vendor config from cargo-vendor → https://git.io/fAJfA
<philippD> hm, is there doesn't seem to be a way to override the name for fetchTarball to keep people like me from making this error.
<clever> the only other option (which isnt "pure") is to just omit the sha256
<clever> nix will re-download the url hourly, and rename the output to match whatever the hash comes out to
kisik21 has joined #nixos
<kisik21> how to use ruby bindings and/or vim plugin for notmuch with NixOS?
iyzsong has joined #nixos
rprije has quit [Ping timeout: 246 seconds]
<samueldr> hmmmm, on a nixos 18.03 host, nix-build with a boatload of arguments gives me `Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS` which is.... a first
<clever> samueldr: increase GC_INITIAL_HEAP_SIZE
<clever> the units are bytes, and i need to set it to 30gig or so sometimes
<clever> ,profiling
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<clever> also, profile your junk :P
<samueldr> that's a nix-build for a review tool
<samueldr> (making my own)
<samueldr> so yeah, won't go smoothly profiling that
dmj` has joined #nixos
<samueldr> uh, making a profile
<samueldr> (I misunderstood and thought you meant somthing like .nix-profile... and that doesn't make much sense in that context)
ixxie has quit [Quit: Lost terminal]
tertl3 has quit [Quit: Connection closed for inactivity]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon3 is now known as Mateon1
<gchristensen> samueldr: GC_INITIAL_HEAP_SIZE=10G
<samueldr> yeah, I have done it... but it's weird (to me) how an equivalent command on monday didn't seem to cause issues
<samueldr> wondering if there was a regression