gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
<Dezgeg> nix show-derivation $(nix-instantiate '<nixpkgs>' -A openssh) | jq -r 'to_entries[] | .value | .inputDrvs | to_entries[] | .key as $drv | (.value | map("nix-store -q --binding " + . + " " + $drv) | join("\n"))'
<Dezgeg> this is what I got :D
thc202 has quit [Ping timeout: 276 seconds]
<infinisil> Goddamnit I was just about done also
<infinisil> drv=$(nix-instantiate '<nixpkgs>' -A firefox); nix show-derivation $drv | jq ".\"$drv\".inputDrvs | to_entries | .[] | [ .value, [ .key ] ] | combinations | join(\" \")" -r | xargs -n2 nix-store -q --binding
jperras has quit [Ping timeout: 260 seconds]
superpony has quit [Quit: Page closed]
<Ralith> jq -r 'to_entries[] | .value | .inputDrvs | to_entries[] | [.value[], .key] | "(.[0]) (.[1])"' |xargs -n2 nix-store -q -b
<Ralith> not toooootally sure about the [.value[], .key] bit
camsbury has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @jbedo opened pull request #41470 → singularity-tools: create mount points for image building → https://git.io/vh4nL
<infinisil> Dezgeg: Ralith: Do your solutions work if there are multiple outputs for the same derivation?
<Dezgeg> yes, I tested for that
<infinisil> Nice
<Dezgeg> (that's why I picked openssh instead of hello as the victim package)
<infinisil> jq sure is a nice tool
<Ralith> mine doesn't
<Ralith> dammit
* Ralith steals Dezgeg's
<Ralith> infinisil: or does yours?
<infinisil> Mine does, but Dezgeg's is more beautiful :)
jperras has joined #nixos
<Dezgeg> dynamically generating bash is the ultimate metaprogramming
<Ralith> ^^
* Ralith tweaks to be slightly xargsier
<Ralith> jq -r 'to_entries[] | .value | .inputDrvs | to_entries[] | .key as $drv | (.value | map(. + " " + $drv) | join("\n"))' |xargs -n2 nix-store -q -b
matthewbauer has joined #nixos
<Ralith> looks very promising; it'll be a couple hours while my CI rebuilds everything, and then another day to get my coworker to try to use the cache on a clean machine, but hopefully this will have things sorted
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « gradle: 4.7 -> 4.8 »: https://git.io/vh4nF
<Ralith> thanks for the help, all!
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « gradle: 4.7 -> 4.8 »: https://git.io/vh4nA
<Ralith> maybe I can get time allocated to upstream an option to make this first-class
jtojnar has quit [Ping timeout: 248 seconds]
logzet has quit [Ping timeout: 265 seconds]
logzet_ has joined #nixos
<PolarIntersect> hey all
<PolarIntersect> I'm trying to install the `terraform-full` package, but I get: error: undefined variable ‘terraform-full’ at /etc/nixos/packages.nix:82:5
<Ralith> https://nixos.org/nix-dev/2016-November/022176.html talks of nix-shell having some special undocumented option but it seems to get silently ignored in today's nix :/
<PolarIntersect> Is there something I need to do to make that package available?
<PolarIntersect> nix-env -iA nixos.terraform-full also says that it's missing
<elvishjerricco> Ralith: I just nix-instantiate the expression and have keep-outputs = true.
<Ralith> elvishjerricco: what is "keep-outputs = true"?
<elvishjerricco> Ralith: It causes the Nix GC to onsider the output paths of live .drv paths live as well. So any live .drv makes all the build input .drvs live, which makes all their outputs live
<Ralith> elvishjerricco: I'm more concerned about `nix copy`ing the buildtime closure than I am about avoiding gc
<elvishjerricco> Ah. Yea the new nix command never handles .drv files for some reason.
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
* PolarIntersect explodes
<PolarIntersect> I also tried "terraform_0_11-full" but that's not in nixpkgs either?
<Ralith> PolarIntersect: at a guess, do you have unfree packages enabled?
<PolarIntersect> I do
<PolarIntersect> I can install terraform, but not terraform-full
<PolarIntersect> Also, nvidia drivers are installed fine
<PolarIntersect> terraform is free, though, so it'd be weird if that were the issue
hph^ has quit [Ping timeout: 264 seconds]
<PolarIntersect> weir
<PolarIntersect> weird, I got it to work with
<PolarIntersect> sudo nix-env -iA nixpkgs.terraform_0_11-full
<PolarIntersect> but it doesn't think it exists in my package file
* PolarIntersect shrugs
sbdchd has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
matthewbauer has quit [Ping timeout: 264 seconds]
jperras has quit [Ping timeout: 265 seconds]
spear2 has quit [Quit: Leaving]
woodson has joined #nixos
steell has quit [Ping timeout: 265 seconds]
Guanin has joined #nixos
semilattice has joined #nixos
<Ralith> Dezgeg: wait, why not just do `nix-shell --run 'echo $buildInputs'`
<Ralith> that seems much simpler
<Dezgeg> not all dependencies are in buildInputs
<Dezgeg> say if you have postbuild = ''${foo}/bin/bar''
<Ralith> ah, I see
<Ralith> thanks!
JasonGrossman has joined #nixos
Guest51315 has quit [Ping timeout: 256 seconds]
ericsagn1 has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
alex`` has quit [Ping timeout: 255 seconds]
silver has quit [Read error: Connection reset by peer]
logzet_ has quit [Remote host closed the connection]
shapr has joined #nixos
cloud-maingo has joined #nixos
<teto1> can anyone succeed in overriding nixops ? I get a 'nixops-_version_-py2-none-any.whl is not a valid wheel filename' just overriding the src attribute
steell has joined #nixos
srk has quit [Ping timeout: 245 seconds]
snajpa has quit [Ping timeout: 245 seconds]
aither has quit [Ping timeout: 260 seconds]
Adluc has quit [Ping timeout: 245 seconds]
emmanuelrosa has joined #nixos
markus1199 has joined #nixos
steell has quit [Ping timeout: 248 seconds]
markus1189 has quit [Ping timeout: 276 seconds]
snajpa has joined #nixos
aither has joined #nixos
<teto1> gchristensen: thanks for the tip. The missing part in nixpkgs is the non-substitution of @version@ in setup.py. Any reason not to clean up and move some of nixops/release.nix to nixpkgs ?
<gchristensen> I don't know :)
blonkhart has quit [Ping timeout: 264 seconds]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
<teto1> the override system is very cool but if it works every two cases it loses a bit of interest. Ok I 'll into it.
Supersonic112 is now known as Supersonic
blonkhart has joined #nixos
mounty has quit [Ping timeout: 264 seconds]
mounty has joined #nixos
steell has joined #nixos
blonkhart has quit [Ping timeout: 276 seconds]
nkaretnikov has left #nixos [#nixos]
blonkhart has joined #nixos
matthewbauer has joined #nixos
seafood has quit [Quit: seafood]
lassulus_ has joined #nixos
olto has quit [Ping timeout: 260 seconds]
srk has joined #nixos
olto has joined #nixos
blonkhart has quit [Ping timeout: 268 seconds]
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
Adluc has joined #nixos
karlguy has joined #nixos
blonkhart has joined #nixos
Tehnix has joined #nixos
martinga_ has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #41472 → nixops: make overrides build instead of failing with 'nixops-_version_-py2-none-any.whl is not a valid wheel filename' → https://git.io/vh48l
karlguy_ has joined #nixos
karlguy has quit [Read error: Connection reset by peer]
Have-Quick has quit [Read error: Connection reset by peer]
Tehnix1 has quit [Read error: Connection reset by peer]
<teto1> gchristensen: I believe you know a lot about the doc system so feel free to chime in https://github.com/NixOS/nixpkgs/pull/41472 :)
deanman has quit [Ping timeout: 255 seconds]
Have-Quick has joined #nixos
aarvar has quit [Ping timeout: 256 seconds]
jperras has joined #nixos
ihar has quit [Ping timeout: 256 seconds]
martingale has quit [Ping timeout: 256 seconds]
aarvar has joined #nixos
ihar has joined #nixos
<gchristensen> oof I don't know about the _nixops_ docs :/
sanscoeur has quit [Read error: Connection reset by peer]
sanscoeur has joined #nixos
deanman has joined #nixos
<teto1> oh I thought everything in the nix ecosystem was using the same system sry :)
mizu_no_oto has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
Have-Quick has quit [Quit: Have-Quick]
Have-Quick has joined #nixos
iqubic has joined #nixos
JasonGrossman has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41429 → cc-wrapper, bintools-wrapper: unbreak include/link paths when cross-compiling → https://git.io/vhl0s
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/vh44M
jperras has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
emmanuelrosa has left #nixos [#nixos]
sbdchd has quit [Remote host closed the connection]
hyper_ch has quit [Read error: Connection reset by peer]
hyper_ch has joined #nixos
matthewbauer has joined #nixos
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
jperras has quit [Quit: WeeChat 2.1]
matthewbauer has quit [Ping timeout: 265 seconds]
blankhart has quit [Ping timeout: 265 seconds]
andreabedini has joined #nixos
jackdk has joined #nixos
reinzelmann has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
semilattice has quit [Ping timeout: 265 seconds]
semilattice has joined #nixos
schoppenhauer has quit [Ping timeout: 240 seconds]
tzemanovic has quit []
tzemanovic has joined #nixos
schoppenhauer has joined #nixos
Ross has quit [Ping timeout: 240 seconds]
liori has quit [Remote host closed the connection]
YaZko has joined #nixos
jtojnar has joined #nixos
iqubic has quit [Remote host closed the connection]
etrepum has joined #nixos
blonkhart has quit [Ping timeout: 248 seconds]
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rauno has quit [Ping timeout: 260 seconds]
<Myrl-saki> Are derivations a Nix thing or a Nixpkgs thing?
<Myrl-saki> Oh, I think it's a Nix thing? Since Nix won't accept file waths that end with .drv?
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
jtojnar has quit [Ping timeout: 248 seconds]
jackdk has quit [Ping timeout: 264 seconds]
steell has quit [Ping timeout: 265 seconds]
andreabedini has joined #nixos
blonkhart has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
sir_guy_carleton has joined #nixos
robstr has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
sbdchd has joined #nixos
sbdchd has quit [Ping timeout: 265 seconds]
kefzi has quit [Ping timeout: 245 seconds]
Guanin has quit [Ping timeout: 265 seconds]
npmccallum has quit [Quit: npmccallum]
npmccallum has joined #nixos
Guanin has joined #nixos
npmccallum has quit [Client Quit]
mahalel_ has quit [Ping timeout: 276 seconds]
npmccallum has joined #nixos
rauno has joined #nixos
jackdk has joined #nixos
uralbash has joined #nixos
npmccallum has quit [Quit: npmccallum]
npmccallum has joined #nixos
<robstr> Morning, I have specified a nix function `{pkgs}: ....` when I call this function with `bla = pkgs.callPackage ./bla.nix {}` does my `pkgs` in scope get automatically passed to bla ? Or do I always need to explicit write `{pkgs = pkgs;}` ?
<clever> robstr: it will automatically pass you the value of pkgs.pkgs
YaZko has quit [Quit: YaZko]
<{^_^}> [nixpkgs] @LnL7 merged pull request #41450 → eigen3_3: Fix darwin build → https://git.io/vh8lk
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vh4uM
Ariakenom has joined #nixos
<teto1> robstr: you can look at nix-pills to understand how callPackage works
<robstr> teto1: I will check
<robstr> clever: tank you
npmccallum has quit [Remote host closed the connection]
<robstr> Hm, now nixops because of missing dependencies, https://lpaste.net/192758480136830976 is this a bug ?
<clever> robstr: what does this report: `/nix/store/3g1si0y1d15dmsakgl1fnxzy8s8n97h0-python3.6-pycryptodome-3.5.1/lib/python3.6/site-packages/Crypto/Util/../Hash/`
<clever> oops, add an ls -l at the start
<PolarIntersect> hmm
<PolarIntersect> I ran into the same issue again. How it says "undefined variable godot_headers" even though godot works fine.
* PolarIntersect falls over
tzemanovic has quit []
<robstr> clever: there is stuff inside, few .so , few py
<clever> robstr: what .so files exist?
<clever> robstr: does the one its looking for exist?
tzemanovic has joined #nixos
<robstr> clever: https://lpaste.net/4903973124334157824 no, only these
<clever> robstr: id say that python library is broken then
<robstr> clever: Yea, but how can this happen ? I pinned to a spicific nixpkgs version...
<clever> robstr: how did you pin it?
<PolarIntersect> Weird, again I can do `nix-env -iA nixpkgs.godot_headers` but godot_headers doesn't exist if I add it in my package list
<clever> robstr: and does the default.nix it imports on line 12 do anything with python?
<clever> PolarIntersect: libraries must never be installed
<clever> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<PolarIntersect> clever: I would love to not install libraries, but nix-shell never works for me
* PolarIntersect shrugs
<clever> PolarIntersect: what nix-shell args are you using?
<robstr> clever: This is my current default.nix https://lpaste.net/3825373898480812032
<PolarIntersect> Just making a derivation never works and the syntax errors don't help
<PolarIntersect> I spent 2 hours trying to set up this godot game environment w/ nix-shell and kept having issues w/ syntax or missing variables and stuff
<PolarIntersect> so then I globally installed instead
<clever> robstr: try running nix-shell without shoving it into the buildInputs of something relatively unrelated
<clever> PolarIntersect: can you pastebin your current .nix file with the latest errors?
<PolarIntersect> clever: I'll start a new one, I deleted it
uralbash has quit [Read error: Connection reset by peer]
<robstr> clever: Hm ok this works ...
<clever> robstr: when you add python packages to the buildInputs, it mutates the default PYTHONPATH, and nixops obeys that
<clever> so nixops can break when inside a nix-shell that includes other python deps
<robstr> hm shit
<PolarIntersect> clever: Like, this is what I'm trying to do: https://gist.github.com/monokrome/77d2f2a33295e39cf020a69f3c659ba7
<PolarIntersect> I think I have to use `import` maybe, but import semantics are confusing to me -.-
<clever> PolarIntersect: the attribute is not called nixpkgs
<clever> that derivation lacks a name
<PolarIntersect> right, but I don't get to that error even. Sorry, I should have put the errror message as well:
<PolarIntersect> error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
<PolarIntersect> Apparently it's not passing stdenv
<clever> you must load it with pkgs.callPackage
<clever> then you can run nix-shell -A yourthing
<PolarIntersect> Where did `pkgs` come from?
<clever> line 1
<PolarIntersect> Does it just ignore the `nix` prefix?
<clever> no
<clever> <nixpkgs> returns the path to nixpkgs
<PolarIntersect> oh
<clever> `import <nixpkgs>` returns the function at its top-level
<PolarIntersect> <> means "as a path"?
<clever> `import <nixpkgs> {}` then calls that function with an empty set
<clever> and `with import <nixpkgs> {};` puts everything in its return value into scope
<PolarIntersect> hmm ok
<clever> <nixpkgs> will search $NIX_PATH
<PolarIntersect> well I can reproduce there then
<clever> think of it like #include <math.h>
<PolarIntersect> It still thinks godot_headers doesn't exist
<PolarIntersect> thanks for explaining clever
<PolarIntersect> nixpkgs is just a folder in the config paths that has it's own default.nix?
<clever> yeah
<PolarIntersect> ah
<clever> nix-instantiate --find-file nixpkgs
<clever> [clever@amd-nixos:~/c9efc13830017160eda123e122d4514a]$ nix-shell -A yourthing
<clever> it finds godot_headers when i run it
<PolarIntersect> So, that's what I run
<PolarIntersect> and then godot exists but not godot_headers?
<clever> what does this return?: nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
<PolarIntersect> (although I get another error if I use just pkgs.godot, `illegal name: '.drv`)
<PolarIntersect> checking :)
<clever> your derivation still lacks a name = "something";
<PolarIntersect> 17.09.3260.cbfcc93ee06
<PolarIntersect> Oh, that's required?
<clever> yes
<{^_^}> [nixpkgs] @andreabedini opened pull request #41474 → pythonPackage.aws-sam-translator: init -> 1.5.4 → https://git.io/vh4gL
<PolarIntersect> Do I need to upgrade my channel?
<clever> probably
blonkhart has quit [Ping timeout: 245 seconds]
<PolarIntersect> Is there a quick command for that? or is it just manual/
MercurialAlchemi has joined #nixos
<clever> nix-channel --update
<PolarIntersect> (I thought nixos-rebuild switch --upgrade would do that)
<PolarIntersect> oooh okay
<PolarIntersect> thanks for the help
<clever> the --upgrade will automatically do a `nix-channel --update` for you
<PolarIntersect> maybe that'll fix it :o
<PolarIntersect> oh, then that didn't fix it
<clever> but, the channel your on may never get it
<clever> what does `sudo nix-channel --list` report?
endformationage has quit [Quit: WeeChat 1.9.1]
<PolarIntersect> not sure why they're different versions
<clever> you added 18.03 under the name nixpkgs
<PolarIntersect> I used a command someone gave me here, so maybe I did it wrong -.-
<PolarIntersect> should I change the nixos one directly?
<clever> i'm checking the git logs now, something strange is happening
<clever> yep
<PolarIntersect> clever: I did a manual command on nix-channel from this channel once before
<clever> on may 2nd, godot_headers was deleted from nixpkgs
<clever> you dont need it
<PolarIntersect> so remove nixpkgs and update nixos one?
blonkhart has joined #nixos
<clever> also, yes, `sudo nix-channel --remove nixpkgs ; sudo nix-channel --update`
<PolarIntersect> but then it still says 17.09 instead of 18.03?
<clever> if you want to upgrade to 18.03, also do `sudo nix-channel --add https://nixos.org/channels/nixos-18.03 nixos`
<PolarIntersect> oooh ok
<PolarIntersect> that's the command I did before, except under nixpkgs I think
<clever> nixos always uses the channel named nixos
<PolarIntersect> Aha!
<PolarIntersect> hmm
<PolarIntersect> seems that broke everything
<clever> what error does it give now?
<PolarIntersect> getting it
<PolarIntersect> sorry <3
hamishmack has quit [Ping timeout: 248 seconds]
<PolarIntersect> says there's no hash
<clever> one of your derivations was abusing a bug in nix1
<clever> that has been fixed in 18.03
<PolarIntersect> oooh
<PolarIntersect> maybe it's my overlay
<clever> use --show-trace to see where it is
<Orbstheorem> ~Hi, I'm trying to build an overriden version of a python package. I'm using this package definition: https://paste.gnugen.ch/raw/2wWB which I include via callPackage. However, my override does not work and my package is build with the nixpkg's version of dateutil
<PolarIntersect> ah
<PolarIntersect> I think it's my fetchgit doesn't have a hash in it
<PolarIntersect> because I just wanted to grab master
<PolarIntersect> and didn't know how to compute the hash value
<clever> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<PolarIntersect> oh
<PolarIntersect> then it'll spit the right one out in the error?
<clever> yep
<PolarIntersect> makes sense
<clever> you also dont need to nixos-rebuild to make this change apply in your nix-shell
<clever> so you can fix that later
<PolarIntersect> I'm also hoping this brings in the `terraform-full` that I was trying to get earlier
<PolarIntersect> but I guess that's aside from the current scope :X
<PolarIntersect> So, you're saying the "godot" package includes the headers itself now?
<PolarIntersect> Is there a way to easily see that in the package search tool?
<clever> nix-build '<nixpkgs>' -A godot
<clever> ls -l result/
<PolarIntersect> whoa that's a cool command :o
<PolarIntersect> thanks :)
<clever> and if you set the src on your derivation properly, you can also just `nix-build` your default.nix file
<clever> and nix will just build it for you
blonkhart has quit [Ping timeout: 268 seconds]
<PolarIntersect> well that's cool :o
<PolarIntersect> Didn't include theheaders, but maybe I just have to wait for rebuild to finish
<clever> its possible that the 18.03 channel is also too old
<PolarIntersect> oh
<clever> there are 3 different states that godot appears to have been in
<PolarIntersect> What's the newest stable channel?
<clever> 1: godot without headers
<clever> 2: godot + godot_headers
<clever> 3: headers got properly moved into godot
<clever> 18.03 is the newest stable channel
* PolarIntersect thinks she probably did something wrong
<clever> try this: `sudo nix-channel --add https://nixos.org/channels/nixos-unstable unstable` and `sudo nix-channel --update`
<clever> then use `with import <unstable> {};`
<PolarIntersect> warning: unknown setting 'signed-binary-caches'
<PolarIntersect> download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/wal8nidljqnkfn48gkpgw5xmyww50gvh.narinfo’ after 5 seconds...
<PolarIntersect> still waiting for rebuild
hyper_ch2 has joined #nixos
<PolarIntersect> could be a while? :)
Ariakenom has quit [Read error: Connection reset by peer]
<clever> yeah, give it some time
<PolarIntersect> thank you :)
<Orbstheorem> btw, how can I find the changes of a package from one generation to another?
<clever> Orbstheorem: i mostly just check the git logs, once i know the revisions of things
<clever> Orbstheorem: there is also nix-diff
<PolarIntersect> clever: Is it weird that the nixos-rebuild hasn't written any output to stdout since "building the system configuration..."?
<clever> PolarIntersect: thats normal
<PolarIntersect> oooh ok :)
<PolarIntersect> sorry for all the questions, not sure why I've had such a hard time with the docs
<PolarIntersect> They seem super clear when I read them
spear2 has joined #nixos
<PolarIntersect> If I replace `fetchurl { ... }` with `./.` then it'll use the current directory, right?
<PolarIntersect> like `src = ./.`?
<PolarIntersect> (wondering because I did that but it says there's no Makefile)
<clever> yeah, it will use the directory the nix file is located in
<PolarIntersect> mm
<clever> PolarIntersect: can you gist the whole output of nix-build?
<PolarIntersect> If I nix-shell, the Makefile is there - but not if I nix-shell
<PolarIntersect> ya sure
asuryawanshi has joined #nixos
<goodwill> has anyone been successful in persisting a nix-shell environment recently? No matter what I do it seems clean it up. I described the issue here -> https://github.com/NixOS/nix/issues/2208
hamishmack has joined #nixos
<PolarIntersect> I uploaded an example here: https://github.com/monokrome/seeing/blob/master/default.nix
asuryawanshi has quit [Remote host closed the connection]
<clever> PolarIntersect: what does `ls -lh /nix/store/cgzkz8gdlx46wcvvn7n09h455wmhh97s-monokrome` show?
<robstr> When using NixOps to deploy to VirtualBox , why does it download NixOS 16.9, I've used the -I flag to specify pkgs
<clever> PolarIntersect: and the default buildPhase already runs make, you dont need to do that
asuryawanshi has joined #nixos
<PolarIntersect> oh
<PolarIntersect> It didn't, but I'll try again!
<Orbstheorem> clever: is there any way to find the commit hash/release/src from the nix-store paths?
<PolarIntersect> clever: It's an empty folder :D
<clever> PolarIntersect: even with -la ?
<clever> Orbstheorem: not easily, you need at least the path to the nixpkgs that was used to build it
<Orbstheorem> rah...
Ariakenom has joined #nixos
* Orbstheorem thinks there should be an option to keep a copy of the nixpkgs used to build a derivation as there is to ship the `configuration.nix` into the derivation
Ross has joined #nixos
<clever> Orbstheorem: nixos derivations are special, the name of the derivation includes the git rev of the nixpkgs
<Orbstheorem> Oh :D
<Orbstheorem> how so? ^^
<clever> Orbstheorem: paste the full storepath for a given derivation
<Orbstheorem> /nix/store/hlcbndfsn8v23qbahzakvr186dz5y07h-user-environment
<goodwill> zimbatm: I saw you worked on mkShell. Maybe you have some idea on how to make nix-shell persistent? Here is what I ran into https://github.com/NixOS/nix/issues/2208
<clever> Orbstheorem: that is a nix-env profile, not a nixos one
<clever> Orbstheorem: so it will contain a mix of many nixpkgs revisions
<Orbstheorem> what about /nix/store/q970nr8lc0b0p1xgyvvjfvmrp5xmkvmk-system-path
<clever> Orbstheorem: that is part of nixos, what derivation was refering to system-path?
<PolarIntersect> clever: It worked! Thank yooou :)
<clever> PolarIntersect: your welco,e
<PolarIntersect> w/ godot_headers too :)
<Orbstheorem> clever: sorry, I'm still not completelly sure about what a derivation is
<Orbstheorem> /nix/store/07az96xm9ya0c9zvr3im7q87zgg4scpy-system-path.drv
<Orbstheorem> (nix-store -q -deriver ...)
<clever> Orbstheorem: you want the things refering to it
<clever> Orbstheorem: nix-store -q --referrers
<Orbstheorem> oh /nix/store/a8daas7qlq7w2fw9qykp9qyzvds1k80p-nixos-system-Triglav-18.03.132561.03ba84eb565.drv is 03ba... the hash of nixpkgs?
magnetophon has joined #nixos
<clever> Orbstheorem: yeah
<Orbstheorem> Thanks!
lanelet has quit [Quit: lanelet]
<Orbstheorem> Is there any way to find the store path of a package given an environment. Like `find /nix/store/...-user-environment -iname '*powertop*' -type l` ?
<Orbstheorem> (find feels like a hack)
<Orbstheorem> I guess `nix-store -q --references ...` is what I want?
jackdk has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @LnL7 opened pull request #41475 → manual: make epub a build product on hydra → https://git.io/vh4az
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9df3c53f38b (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
alex`` has joined #nixos
magnetophon has quit [Read error: Connection timed out]
<{^_^}> [nixpkgs] @xeji merged pull request #41441 → znapzend: fix build → https://git.io/vh8Tf
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vh4a7
<clever> Orbstheorem: realpath /nix/store/...-user-environment/bin/powertop
jackdk has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
jackdk has quit [Ping timeout: 260 seconds]
bbsl has joined #nixos
sorixelle has joined #nixos
<sphalerite> I want to set up servers somewhat on-demand for building things on ARM using scaleway. I've managed to set up NixOS on such servers and produced an image for it, but I'm not sure how best to manage the derivation signing keys. Should I be sharing one key between all of them?
<bbsl> Does anyone know what the preferred way of dealing with lua in nixos is? I have to build a project that has a bunch of deps 2 of them are penlight and luasql. In trying to set up a shell.nix for the project I found that the penlight package is broken and the luasql package is nonexistant so I found luarocks, and 'buildLuaPackage' but ya, I dont know anything about lua (luasql is a lib written in c?) or building luaprojects so Im a bit
<bbsl> lost as to how I should go about this.
woodson has quit [Ping timeout: 265 seconds]
xy2_ has joined #nixos
vaninwagen has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0b458a41299 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<don_quijote[m]> Following the recent acquisition of github by Microsoft, are there any plan to migrate nix and nixos development to another platform?
kerrhau has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #41328 → Add an additional dependency for home-assistant → https://git.io/vhnjA
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vh4wB
<sphalerite> bbsl: I think it's not really well supported currently. fearlessKim[m] started work on it a while back I think, not sure how far they got
<woffs> don_quijote[m], this seems to be a frequently asked question to me
<bbsl> sphalerite: ok I am trying to sort it with luarocks at the moment but its painfull, hacky and I do not know if it is going to work.
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/vh4wo
<woffs> we could switch to google code. oh, wait...
<teto1> bbsl: I submitted this PR https://github.com/NixOS/nixpkgs/pull/33903 but it broke in one of the last rebase :'(
Have-Quick has quit [Quit: Have-Quick]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
semilattice has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/84440379bad (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
winem_ has joined #nixos
<bbsl> teto1: this is something like what I would have needed now ... I think I hate lua but not having/having lacking support for it might mean I cant use nixos at work at the moment if I cant hack this together :o)
<manveru> bbsl: i did some derivation with luarocks a while ago...
lonokhov has joined #nixos
<manveru> can you share yours?
sbdchd has joined #nixos
ThatDocsLady has joined #nixos
<bbsl> manveru: yes, Il share what I have so far sec ... whats the name of a filedump page again? :)
<manveru> gist?
sbdchd has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « home-assistant: add voluptuous-serialize to propagatedBuildInputs »: https://git.io/vh4rF
cloud-maingo has quit [Quit: Connection closed for inactivity]
<bbsl> manveru: ok I made a gist of what I have pieced together so far (got some extra stuff in there from experimenting) but what I am missing now is beeing able to install luasql-postgres... I am getting the output allso shown in the gist:
periklis has joined #nixos
<manveru> did you take a look at the lua-packages.nix?
nc_ has joined #nixos
kitemikaze_ has joined #nixos
<bbsl> maneveru: no, since one of the packages I want to build is a c package and luarocks is able to build it I thought I should go with luarocks :o instead of 'buildluapackage'
<manveru> and what if you pass the PGSQL_DIR?
<manveru> brb, got a meeting
<{^_^}> [nixpkgs] @Mic92 merged pull request #41242 → PowerShell: init at 6.0.2 → https://git.io/vhseX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vh4oo
nico202 has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41454 → [staging] perlPackages: convert some modules to aliases → https://git.io/vh8rQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/vh4KU
<bbsl> manveru: ok I got this to work: luarocks PGSQL_DIR=/nix/store/q9cr7d8l4jrv490v0rn6qh6w1d6hih0k-postgresql-9.6.8 install luasql-postgres --local seemes like I cant figgure out how to refer to that directory without hardlinking though ... any ideas? :)
<manveru> for example `PSQL_DIR=$(nix-build '<nixpkgs>' -A postgresql96)`
<manveru> but you can set the env variable in your shell too
<manveru> shell.nix like `with import <nixpkgs> {}; mkShell {buildInputs = [ luarocks ]; PGSQL_DIR = "${postgresql100}";}`
<manveru> and then `luarocks install luasql-postgres PGSQL_DIR=$PGSQL_DIR --local`
<tilpner> Hey, does anyone have experience with native node modules (node-gyp[-build])? I'm getting Error: Module did not self-register
<tilpner> And I assume that's because of dontNpmInstall = true;
<manveru> tilpner: using moretea/yarn2nix?
<tilpner> node2nix
<tilpner> Trying to package scuttlebot
<tilpner> One element in the trace is /nix/store/nahzdl5fkx3vdrvlbdzl9av9lvsz7x9i-node-scuttlebot-11.3.0/lib/node_modules/scuttlebot/node_modules/ssb-blobs/node_modules/level/node_modules/leveldown/node_modules/bindings/bindings.js:81:44
<tilpner> So native leveldb bindings, I think?
klaas_ has joined #nixos
<klaas_> hello, I have a stupid question, to which I cannot find the answer online
<klaas_> nix has recently been upgraded to nix 2.0
justbeingglad has joined #nixos
<manveru> probably... i haven't used node2nix in a long time
<klaas_> what does this mean for me if I want to upgrade my nixpkgs (and thus: NixOS) to 18.03 ?
<tilpner> Full error: https://tx0.co/1a
nc_ has quit [Ping timeout: 260 seconds]
<tilpner> klaas_ - The upgrade process has not changed
<manveru> klaas_: upgrading to 2.0 should be no problem, downgrading will be pretty hard since the store db changed a bit
<manveru> i'd still read https://nixos.org/nixos/manual/release-notes.html#sec-release-18.03-incompatibilities
justbeingglad has quit [Ping timeout: 256 seconds]
deepfire` has quit [Ping timeout: 260 seconds]
<klaas_> thanks!
justbeingglad has joined #nixos
JasonGrossman has joined #nixos
Guest51315 has joined #nixos
klntsky has quit [Remote host closed the connection]
Jetien has joined #nixos
deepfire` has joined #nixos
klntsky has joined #nixos
<tilpner> manveru - I tried again with yarn2nix, got tx0.co/1b now
<tilpner> That looks like a better error than before
Guest51315 has quit [Ping timeout: 256 seconds]
nc_ has joined #nixos
<manveru> yeah, that looks like they bundle a precompiled library which ofc doesn't work on nixos
<bbsl> manveru: ty that works perfect, now lets see if I can finish the rest of this thing :)
<tilpner> manveru - With node2nix it compiled leveldb itself. Not sure if that was reused
<manveru> tilpner: you'll probably need to execute gyp yourself
<manveru> or figure out how you can tell it about the actual path
pikajude has quit [Quit: ZNC 1.7.0 - https://znc.in]
pikajude has joined #nixos
<manveru> as an example how i compile node-sass
<tilpner> Where is gyp called there?
<tilpner> build.js?
<manveru> from the build.js
<manveru> it always depends on the npm package, there is no real standard for calling gyp
<manveru> so you look at the package.json and see what it does on installation
<tilpner> "postinstall": "opencollective-postinstall || exit 0"
<tilpner> "Prompt your users to donate to your collective after `npm install`"
<tilpner> :/
<tilpner> How do I get prebuild-install?
yenzenz has quit [Remote host closed the connection]
Jetien_ has joined #nixos
jensens has joined #nixos
Jetien has quit [Ping timeout: 264 seconds]
juri2mol has joined #nixos
juri2mol has quit [Client Quit]
juri2mol has joined #nixos
<tilpner> manveru - Calling node-gyp rebuild wants to fetch the headers at build time itself :(
<manveru> the node headers?
<tilpner> tx0.co/1c
<tilpner> Yes, seems like the node headers
<manveru> yeah, that's why i pass the --tarball option
<tilpner> :/
* tilpner re-reads snippet
<tilpner> Where is headers defined?
logiq has joined #nixos
<bbsl> is it possible to add more hosts in nixos? ie what would be done via the hosts file normaly
<tilpner> bbsl - networking.extraHosts
<tilpner> Oh, I thought it would be in nixpkgs somewhere, something like nodejs_8_x.dev
<bbsl> tilpner: ty
<manveru> i think there was a plan to have the headers exposed from it, but i don't see it yet
<tilpner> Yay, it's building leveldb
<tilpner> Although that's already packaged. Would it be much pain to provide the nixpkgs leveldb instead?
<tilpner> \o/
humanoyd has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
owickstrom has joined #nixos
medvid has quit [Ping timeout: 256 seconds]
aanderse has joined #nixos
juri2mol has left #nixos ["disconnect"]
sbdchd has joined #nixos
tzemanovic has quit [Remote host closed the connection]
Guest37954 has quit [Ping timeout: 245 seconds]
Guest1138 has quit [Ping timeout: 245 seconds]
thor has joined #nixos
sbdchd has quit [Ping timeout: 248 seconds]
Guest1138 has joined #nixos
thor is now known as Guest9248
statusfailed has quit [Ping timeout: 240 seconds]
statusfailed has joined #nixos
<manveru> :)
Guest51315 has joined #nixos
tzemanovic has joined #nixos
smallville7123 has joined #nixos
tzemanovic has quit [Ping timeout: 264 seconds]
<tilpner> Hmm, there's only usage of mkYarnPackage in nixpkgs, and that's for yarn2nix
<tilpner> Is that because of the filesizes?
<tilpner> *only a single usage
<{^_^}> [nixpkgs] @bluescreen303 opened pull request #41478 → Small improvements to the docker registry module → https://git.io/vh4Dl
stphrolland has joined #nixos
bbsl has quit [Remote host closed the connection]
c4m has joined #nixos
<manveru> yeah... the lock files tend to be huge
<manveru> i tried getting a few packages into nixpkgs, but they weren't merged due to that
tzemanovic has joined #nixos
<manveru> since you need the package.json, yarn.lock, and yarn-lock.nix, with the lock files having potentially a few thousand lines
nixo202 has joined #nixos
smallville7123 has quit [Quit: rosa]
nico202 has quit [Ping timeout: 240 seconds]
pierron has joined #nixos
Guest51315 has quit [Ping timeout: 248 seconds]
lonokhov has quit [Quit: WeeChat 2.0]
Guest51315 has joined #nixos
optikfluffel has joined #nixos
tzemanovic has quit [Remote host closed the connection]
smallville7123 has joined #nixos
pierron is now known as pierron_
<JasonGrossman> tilpner++
<{^_^}> tilpner's karma got increased to 5
<tilpner> You wouldn't happen to know what I need to pay attention to, to get electron to play nice with leveldown? :/
<tilpner> (Same "Module did not self-register" as earlier)
thblt has quit [Remote host closed the connection]
<tilpner> JasonGrossman - Huh?
thblt has joined #nixos
Izorkin has joined #nixos
owickstrom has quit [Quit: Leaving]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
Mateon3 has joined #nixos
<klaas_> while upgrading to 18.03, I'm getting some warnings "warning: unknown setting 'signed-binary-caches'"... [1] is this something to be worried about? [2] how can I get rid of it?
<tilpner> Don't worry about it, it'll go away soon
<tilpner> (Only happens when using Nix2 while still having activated a Nix1 config)
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<klaas_> @tilpner thanks!
tmaekawa has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
Izorkin_ has joined #nixos
optikfluffel has quit [Quit: Textual IRC Client: www.textualapp.com]
optikfluffel has joined #nixos
ericsagn1 has quit [Ping timeout: 245 seconds]
sigmundv__ has joined #nixos
fendor has joined #nixos
__monty__ has joined #nixos
<domenkozar> mightybyte: yeah need to fix macos+travis first
Izorkin has quit [Ping timeout: 276 seconds]
smallville7123 has quit [Quit: rosa]
tmaekawa has quit [Quit: tmaekawa]
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
justbeingglad has quit [Quit: Leaving.]
<LnL> is there a problem with travis?
<__monty__> It's probably MS ; )
Lears has quit [Remote host closed the connection]
hamishmack has joined #nixos
<sorixelle> Trying to create a "dotfiles" package that contains only local files. src doesn't seem to like being pointed at a directory; it complains about being unable to extract it
<sorixelle> What's the proper way to go about this?
simukis has joined #nixos
<LnL> you can disable that with unpackPhase =":"; if you don't need a source
<klaas_> is it normal that, while upgrading to 18.03, the rebuild is stuck for a long time on the following command, without any indication of progress: download-from-binary-cache.pl --query
TheAppleMan has joined #nixos
stphrolland has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
justbeingglad has joined #nixos
optikfluffel has quit [Quit: Textual IRC Client: www.textualapp.com]
justbeingglad has left #nixos [#nixos]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
ditadi has joined #nixos
deepfire` has quit [Ping timeout: 240 seconds]
<LnL> the output might be a bit weird with the nix 1.11 -> 2.0 upgrade
<JasonGrossman> klaas_: Yes. I found that surprising when it happened to me. Patience.
<JasonGrossman> tilpner: I ++ed you for helpfulling answering a question. Only I was a bit slow.
<sorixelle> LnL: ah cool, forgot that was a thing you could do :P
<sorixelle> thanks :)
Izorkin_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Izorkin has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
xy2_ has quit [Ping timeout: 264 seconds]
<klaas_> @JasonGrossman thanks, the process has indeed seemed to move on to something that produces visible output on screen
<JasonGrossman> :-)
oida has quit [Ping timeout: 250 seconds]
vandenoever has quit [Ping timeout: 260 seconds]
c4m has left #nixos ["Killed buffer"]
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
isaagar has joined #nixos
sorixelle has joined #nixos
sorixelle has quit [Client Quit]
sbdchd has joined #nixos
<v0id72[m]> hi all, just wondering if there has been new info for installing NixOS on EC2? Noticed links are pointing to blank discussions.
sbdchd has quit [Remote host closed the connection]
sorixelle has joined #nixos
oida has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/c58d0fc3677 (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<steveeJ> is vim-addon-nix supposed to work with neovim? I'm getting a bunch of errors when opening a nix file
<steveeJ> it'd be a pitty to not be able to use that with neovim
deepfire` has joined #nixos
<LnL> don't see why vam wouldn't work
<LnL> doesn't the cusomize stuff use that?
<adisbladis[m]> v0id72: There are AMI images already? And nixops on EC2 works fine
fendor has quit [Ping timeout: 268 seconds]
karlguy_ has quit [Ping timeout: 248 seconds]
<LnL> Mic92: fyi. looks like there's a small issue with my updated patch
Synthetica has joined #nixos
<steveeJ> LnL: the plugin is installed but it doesn't work properly. I think it's actually incompatible with neovim
<steveeJ> on a pliugin level, not on the pkg level
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #41480 → udiskie: 1.7.4 -> 1.7.5 → https://git.io/vh4Nz
ericsagn1 has joined #nixos
fendor has joined #nixos
<{^_^}> [hydra] @edolstra pushed 4 commits to master: https://git.io/vh4Ny
vandenoever has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41468 → dbeaver: 5.0.6 -> 5.1.0 → https://git.io/vh4GH
<{^_^}> [nixpkgs] @xeji pushed commit from @samueldr to master « dbeaver: 5.0.6 -> 5.1.0 (#41468) »: https://git.io/vh4Av
emilis has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #41481 → iasl: integrate upstream patch for acpica/acpica#387 → https://git.io/vh4AZ
<{^_^}> [nixpkgs] @xeji merged pull request #41469 → dbeaver: 5.0.6 -> 5.1.0 (18.03) → https://git.io/vh4GQ
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.03: https://git.io/vh4Ac
logiq has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @lsix pushed to release-18.03 « qgis: 2.18.17 -> 2.18.20 (#41195) »: https://git.io/vh4Ai
tkral has joined #nixos
pierron_ has quit [Ping timeout: 240 seconds]
pierron_ has joined #nixos
silver has joined #nixos
pierron has joined #nixos
<steveeJ> although I would be highly surprised if I were the first one noticing this, so that makes what I said unlikely
selaux has joined #nixos
<LnL> are you sur it's not a specific plugin you're using instead of vam itself
<steveeJ> LnL: I'm not sure. I'm using home-manager to set up neovim. so there's an abstraction that I haven't investigated
<steveeJ> LnL: this is how to use it: https://github.com/rycee/home-manager/blob/master/modules/programs/neovim.nix#L70 the implementation is straight-forward, it just passes cfg to neovim
<LnL> does that even use vam
<LnL> pretty sure that's the vim 8 packaging stuff
<{^_^}> [nixpkgs] @MarcFontaine opened pull request #41482 → Xearth → https://git.io/vh4pJ
<{^_^}> [nixpkgs] @xeji pushed to master « s-tar: fix eval error »: https://git.io/vh4pk
Lears has joined #nixos
gmarmstrong has joined #nixos
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<gmarmstrong> LibreOffice is using a monospace font (DejaVu Sans Mono?) for all its menus and dialogs... What settings would affect this?
<gmarmstrong> I have:
<gmarmstrong> fonts.enableDefaultFonts = true;
<gmarmstrong> fonts.fonts = [ pkgs.twemoji-color-font pkgs.dejavu_fonts ];
sorixelle has joined #nixos
nlytend has joined #nixos
<gmarmstrong> Oh, and no desktop manager. Just i3.
<nlytend> Hi
iyzsong has joined #nixos
<gmarmstrong> Howdy, nlytend
lanelet has joined #nixos
<nlytend> What ebook reader is available under nixpkgs, i am using mupdf but it doesnt keep bookmarks.
<gmarmstrong> I've used calibre's ebook-viewer, although it's quite bulky.
<__monty__> nlytend: I think zathura can do bookmarks.
<{^_^}> [nixpkgs] @MarcFontaine closed pull request #41482 → Xearth → https://git.io/vh4pJ
<__monty__> It's a fairly lightweight wrapper around mupdf, or at least it can be.
<gmarmstrong> Zathura is nice, but can it handle epubs?
<nlytend> Best would be a reader that remembers where i left
<gmarmstrong> zathura remembers where you left.
<__monty__> gmarmstrong: Yep it does.
markus1199 has quit [Ping timeout: 240 seconds]
markus1189 has joined #nixos
<nlytend> Trying it now
nuncanada has joined #nixos
<JasonGrossman> nlytend: There's calibre. Not sure what else.
<nlytend> Zathura worked. Ty
<JasonGrossman> Whoops - late to the party.
<nlytend> Ty ty
<__monty__> JasonGrossman: Calibre's an excellent library for your ebooks, don't like it much as a reader for those ebooks though.
<{^_^}> [nixpkgs] @bkchr opened pull request #41483 → vlc: 3.0.1 -> 3.0.3 → https://git.io/vh4hN
<gmarmstrong> __monty__: it can't be beat for converting ebooks, but yeah, the UI is... not fun.
<JasonGrossman> __monty__: I don't blame you. Personally, I just use it as a converted - it's really impressive as that.
<JasonGrossman> * converter
<JasonGrossman> gmarmstrong: Great minds.
tkral has quit [Quit: tkral]
ditadi has quit [Ping timeout: 264 seconds]
<steveeJ> gmarmstrong: it might be the renderer that's used. what does it say in the about popup?
<gmarmstrong> Like OpenGL?
<gmarmstrong> steveeJ: I'm using OpenGL.
bbsl has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
JasonGrossman has quit [Ping timeout: 264 seconds]
<bbsl> Im trying to install nginx with some modules but Iv encountered a problem? how do I know what modules are available and what they are called? could I discover this via the nix cli?
tkral has joined #nixos
<steveeJ> gmarmstrong: no, go to Help > About LibreOffice and read "UI render: default"
vaninwagen has quit [Ping timeout: 268 seconds]
<gmarmstrong> steeveJ: "UI render: GL; VCL: x11;"
<tilpner> bbsl - Start nix repl '<nixpkgs>'
<tilpner> bbsl - Then type nginxModules. and press tab a few times
<steveeJ> gmarmstrong: try SAL_USE_VCLPLUGIN=gtk3 libreoffice
<gmarmstrong> steveeJ: that did it!
<steveeJ> gmarmstrong: see https://ask.libreoffice.org/en/question/3078/choose-gui-toolkit-for-lo-session/. there's also an issue PR in nixpkgs but I'm kinda busy
<steveeJ> AFAIU it's fixed on master
<steveeJ> most people are not on master ;-)
<gmarmstrong> steveeJ: I appreciate ya. Thanks :)
ThatDocsLady has quit [Remote host closed the connection]
<bbsl> tilpner: how do I load <nixpkgs> into the repl? :o
<ocharles_> bbsl: let pkgs = import <nixpkgs> {}
ThatDocsLady has joined #nixos
<ocharles_> maybe without the let, I can never remember
<tilpner> bbsl - Like I said, run: nix repl '<nixpkgs>'
<bbsl> doesnt work
<tilpner> How not?
gmarmstrong has quit [Remote host closed the connection]
<bbsl> ah yea, this is a problem with an override I have :)
<bbsl> error: undefined variable 'pkgs' at /home/bbsl/.config/nixpkgs/config.nix:5:13
<tilpner> nix-instantiate --eval -E 'builtins.attrNames (import <nixpkgs> {}).nginxModules'
<bbsl> ok fixed it ty
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Izorkin has joined #nixos
klaas_ has quit [Ping timeout: 260 seconds]
klaas_ has joined #nixos
<klaas_> I'm having an error at the end of my upgrade to 18.03, inside a VirtualBox:
<klaas_> warning: the following units failed: virtualbox.service
<klaas_> virtualbox.service: Main process exited, code=exited, status=1/FAILURE
<klaas_> warning: error(s) occurred while switching to the new configuration
<klaas_> is this cause for concern? if so, how to debug it?
<klaas_> or can it be fixed by rebooting into the new system?
<{^_^}> [nixpkgs] @kamilchm opened pull request #41484 → ponyc: 0.22.3 -> 0.22.5 → https://git.io/vhBvJ
<tilpner> Are you running virtualbox inside virtualbox?
<klaas_> I'm certainly not intending to
<tilpner> Does nixos-option virtualisation.virtualbox.host.enable print Value: false?
<klaas_> it prints nothing
<tilpner> What about nix-instantiate --eval -E 'with import <nixpkgs/nixos> {}; config.virtualisation.virtualbox.host.enable'
pierron_ has quit [Ping timeout: 248 seconds]
blankhart has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
pierron_ has joined #nixos
camsbury has joined #nixos
<klaas_> it returns false
<klaas_> more precisely, I ran:
<klaas_> nix-instantiate --eval -E 'with import <nixos> {}; config.virtualisation.virtualbox.host.enable' -I /home/klaas/nixpkgs/nixos-18.03
<tilpner> Oh, yeah, there was no need to worry, it only runs the guest additions
<tilpner> (Though them failing could be worrying)
<tilpner> What do the logs say?
JasonGrossman has joined #nixos
<klaas_> what is the best way to show the logs?
<tilpner> journalctl -u virtualbox should do
acarrico has joined #nixos
<tilpner> journalctl -eu virtualbox will jump to the end of the logs, which is usually what you want
<tilpner> (And then make an alias so it becomes jc -eu vi<tab>)
<bbsl> ok so I made an override in ~./config/nixpkgs/config.nix and if I use "nix run pkgname" it builds and runs but if I try to refer to it from my configuration.nix it builds the old one even though I have nixpkg.config.import = "~./config/nixpkgs/config.nix" what gives?
vandenoever has joined #nixos
<tilpner> bbsl - nixpkgs.config.import sounds odd
<tilpner> And even if it is a thing, the ~ probably doesn't do what you want, when you run nixos-rebuild as root
sbdchd has joined #nixos
<klaas_> hmmm I'm running this inside VirtualBox 5.1.22; and the logs I just pasted show that the guest additions have moved from a version below that to one above it.
<bbsl> tilpner: damn, yea it because I run it as root I think
<bbsl> tilpner: damn so should I add the override directly into configuration.nix then or?
tzemanovic has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 268 seconds]
jperras has joined #nixos
<tilpner> bbsl - You should use overlays. If you don't want to, you can try nixpkgs.config = import /home/bbsl/.config/nixpkgs/config.nix; or similar
<tilpner> Note that I haven't used config.nix at least a year
<klaas_> @tilpner thanks very much; I'll try a reboot first, and an upgrade of my virtualbox host second
<bbsl> tilpner: yea I tried to learn overlays at one point but ya think I started with smt that was too hard
klaas_ has quit [Quit: Page closed]
logzet has joined #nixos
<bbsl> tilpner: do you have an easy example of an overlay? perhaps even one with applying modules to nginx? :p
<steveeJ> LnL: using vam helped with the neovim plugin issue, thanks for the pointer
balsoft has joined #nixos
jtojnar has joined #nixos
tzemanovic has joined #nixos
pierron has quit [Quit: leaving]
pierron has joined #nixos
seafood has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
pierron_ has quit [Quit: leaving]
tzemanovic has quit [Ping timeout: 245 seconds]
seafood has quit [Client Quit]
acarrico has joined #nixos
<tilpner> bbsl -
<tilpner> bbsl - I just set services.nginx.package = pkgs.nginx.override { modules = with pkgs.nginxModules; [ lua ]; };
rauno has quit [Ping timeout: 240 seconds]
* tilpner is gone for a while
tzemanovic has joined #nixos
<bbsl> tilpner: ok that works it looks like but if I put the override into ~./config/nixpgs/overrides/nginx how could I refer to it elsewhere?
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
logiq has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f44c16401e7 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tzemanovic has quit []
anton_ has quit [Remote host closed the connection]
tzemanovic has joined #nixos
anton_ has joined #nixos
__Sander__ has joined #nixos
anton_ has quit [Remote host closed the connection]
anton_ has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #41485 → [RFC] Owamp : Get one way (network) latencies between synchronized computers → https://git.io/vhBIm
tkral has quit [Ping timeout: 264 seconds]
<Synthetica> Is there a way to catch `fetchurl` failure?
aarvar has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @baracoder closed pull request #40946 → springlobby: 0.255 -> 0.264 with buildFHSUserEnv → https://git.io/vhJ5m
steell has joined #nixos
<manveru> Synthetica: i don't think so
raynold has quit [Quit: Connection closed for inactivity]
<manveru> usually `tryEval` should be able to catch it... but it's not working here
knupfer has joined #nixos
<Synthetica> Yeah, `tryEval` was the first thing I tried as well, but no such luck :S
stphrolland has joined #nixos
<Synthetica> (Context: looking into a solution for #41477)
<{^_^}> https://github.com/NixOS/nixpkgs/issues/41477 (by Anton-Latukha, open): Tracking of projects that are migrating from GitHub (to GitLab, etc.)
<manveru> yeah, would be nice to do that automatically...
lonokhov has joined #nixos
logiq has quit [Ping timeout: 240 seconds]
<Synthetica> manveru: And _one_ solution would be to use `urls` instead of `url` and hack in a GitLab check that way, but that feels way too iffy to be the only way
<infinisil> You could create your own builder that does what you need
<infinisil> pkgs.fetchurl is pretty much just a builder that runs curl anyways
JasonGrossman has quit [Ping timeout: 268 seconds]
<manveru> i'd first wait to see how many projects actually move fully to gitlab... i assume most people will first setup gitlab as a mirror, or move to some other solution
<tazjin> I think most people will make a mirror on Gitlab and then eventually do nothing with it
<manveru> my thoughts :)
<manveru> though i setup my own gitea for private projects now, don't intend to keep paying github
fendor has joined #nixos
logiq has joined #nixos
JasonGrossman has joined #nixos
xy2_ has joined #nixos
dbmikus has joined #nixos
martinga_ is now known as martingale
MercurialAlchemi has quit [Ping timeout: 264 seconds]
szicari has joined #nixos
nixo202 has quit [Ping timeout: 264 seconds]
dbmikus_ has joined #nixos
humanoyd has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
<aminechikhaoui> Any patchelf experts over here ? :)
jensens has quit [Ping timeout: 260 seconds]
<aminechikhaoui> getting a cannot find section error while patching the interpreter of a binary https://pastebin.com/Tef1EQLa
<aminechikhaoui> the gdb output shows that it's likely during the handling of the rela.plt section or something ?
<manveru> what patchelf options do you use?
logzet_ has joined #nixos
<aminechikhaoui> patchelf --set-interpreter /nix/store/bgl62l4ly7xfsdwqp93cqw3kqbwchdrd-glibc-2.27/lib/ld-linux-x86-64.so.2 /nix/store/ilcjk36dgvbcwxyh2hq9di43jakdh8p8-cw-agent-1.200763.0/bin/amazon-cloudwatch-agent
<aminechikhaoui> that's the command
logzet has quit [Ping timeout: 276 seconds]
rsa_ has joined #nixos
<Synthetica> I digged some deeper, and it looks like builder failures are fundamentally uncatchable in Nix :S
rsa has quit [Ping timeout: 240 seconds]
<gchristensen> Synthetica: why do you want to catch it?
<Synthetica> I want to catch a failure to fetch an url
<gchristensen> and then?
<Synthetica> See if an alternate url _does_ work
<Synthetica> and then print a more informative errormessage
simukis has quit [Quit: simukis]
<gchristensen> fetchurl can accept `urls` instead of `url` if you have multiple to try
<gchristensen> like fetchurl { urls = [ "myfirsturl" "mysecondurl" ]; sha256 = "..."; }
steell has quit [Ping timeout: 248 seconds]
jD91mZM2 has joined #nixos
<manveru> aminechikhaoui: seems like this thing is built with go... which has a bit of a different structure than normal binaries
<Synthetica> Yeah, but I don't really want the second url to succeed, I just want to print a more informative error message if the first one fails, depending on the success of the second url
<aminechikhaoui> manveru: yeah the symbol table shows all kind of golang stuff
selaux has quit [Remote host closed the connection]
olto has quit [Read error: Connection reset by peer]
linuxdaemon has quit [Ping timeout: 240 seconds]
<woffs> Are the "Known issues" in https://nixos.wiki/wiki/NixOS_on_ZFS still up-to-date ("As of 2014-03-04")?
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/vhBOK
sorixelle has quit [Ping timeout: 240 seconds]
olto has joined #nixos
<manveru> aminechikhaoui: https://github.com/NixOS/patchelf/issues/66 is the same
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<aminechikhaoui> manveru: I see, thanks
reinzelmann has quit [Quit: Leaving]
hamishmack has joined #nixos
erasmas has joined #nixos
<manveru> sorry, can't really help you with that, the symlink trick might work but isn't possible in pure nix easily...
tzemanovic has quit [Remote host closed the connection]
<aminechikhaoui> manveru: no worries, nothing urgent for me, was just helping someone else ;)
<manveru> "/lib64/ld-linux-x86-64.so.2" is shorter than any hashed path nix would produce, and it can't be relative, so the only solution i could think of is to configure nixos to set a symlink to the ld-linux in "/etc/myld-linux-x86-64.so.2" and patch the binary manually to point to that :P
<manveru> hopefully someone recoils enough in horror to set out and fix patchelf ;)
linuxdaemon has joined #nixos
<avn> aminechikhaoui: may be `exec ${glibc}/lib/ld-linux-x86-64.so.2 $out/bin/yourexecutable" can be an option, if patching not works?
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<manveru> hmm
<manveru> indeed, that should work
Izorkin has joined #nixos
<manveru> if you can make a wrapper
<avn> woffs: grub incompatible with hardlinking nix/store optimization. You need copyKernel if you want boot from zfs partition
<avn> is a ticket somewhere in grub or zfs repos for it
<aminechikhaoui> avn: ah yeah probably
nixo202 has joined #nixos
<woffs> thanks avn. someone who is knowing should update the wiki page perhaps ;)
civodul has joined #nixos
steell has joined #nixos
hph^ has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « jekyll: 3.8.2 -> 3.8.3 »: https://git.io/vhBGS
grp has joined #nixos
simukis has joined #nixos
logiq is now known as asymmetric
rauno has joined #nixos
<asymmetric> hi! can a binary cache be configured on non-nixos in the /etc/nix/nix.conf file?
cybrian has quit [Ping timeout: 240 seconds]
<aminechikhaoui> asymmetric: yeah
rauno has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @grahamc opened pull request #41486 → grub: Support when boot.loader.grub.font is null → https://git.io/vhBna
emmanuelrosa has joined #nixos
steell has quit [Ping timeout: 264 seconds]
<gchristensen> anyone want to review a PR I'd like to backport which touches the grub configuration? https://github.com/NixOS/nixpkgs/pull/41486
<v0id72[m]> Just wondering if anyone uses a macOS and putty on it?
hph^ has quit [Ping timeout: 256 seconds]
rauno has joined #nixos
<__monty__> Putty as in windows putty? Why would you?
<v0id72[m]> simplistic interface. Ease of use since I have used it for ages now :)
<v0id72[m]> easy to quickly configure an ssh tunnel - since I know the package
<__monty__> But if you get comfortable on the command line a whole new world opens up.
<Mic92> LnL: what is the problem?
<v0id72[m]> agreed but when you are doing it for money and time constraints :)
<LnL> Mic92: not sure if I'll be able to look at it today https://hydra.daiderd.com/build/95966/log/tail
tzemanovic has joined #nixos
cloud-maingo has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
tzemanovic has quit [Ping timeout: 256 seconds]
Ariakenom has quit [Ping timeout: 256 seconds]
ryantm has joined #nixos
periklis has joined #nixos
balsoft has quit [Quit: balsoft]
asymmetric has quit [Ping timeout: 245 seconds]
knupfer has quit [Remote host closed the connection]
orivej has joined #nixos
JasonGrossman has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.3.0 -> 1.3.1 »: https://git.io/vhBBq
knupfer has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0aea622c48d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
bbsl has quit [Remote host closed the connection]
dbmikus_ has quit [Quit: WeeChat 2.1]
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.2.17 -> 1.3.0 »: https://git.io/vhB0k
balsoft has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41480 → udiskie: 1.7.4 -> 1.7.5 → https://git.io/vh4Nz
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « udiskie: 1.7.4 -> 1.7.5 (#41480) »: https://git.io/vhB0D
balsoft has quit [Client Quit]
balsoft has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41455 → lombok: 1.6.20 -> 1.6.22 → https://git.io/vh86s
<{^_^}> [nixpkgs] @xeji pushed commit from @rycee to master « lombok: 1.6.20 -> 1.6.22 (#41455) »: https://git.io/vhBE7
nc_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @edolstra merged pull request #41446 → nixos/systemd: Allow to override serviceConfig → https://git.io/vh8Zg
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/vhBuW
<acowley> Is there a favored way to list an input to a derivation that is only used for testing?
balsoft has quit [Remote host closed the connection]
balsoft has joined #nixos
balsoft has left #nixos [#nixos]
balsoft has joined #nixos
dbmikus has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41447 → [staging] cpan2nix: remove perl libraries which are not newer than built-ins → https://git.io/vh8c8
<{^_^}> [nixpkgs] @xeji pushed 28 commits to staging: https://git.io/vhBud
<gchristensen> I can't really grok your question acowley
balsoft has left #nixos [#nixos]
balsoft has joined #nixos
<acowley> gchristensen: I was just curious if there was an attribute more appropriate than buildInputs in which to list test suite dependencies
balsoft has quit [Read error: Connection reset by peer]
<gchristensen> ahh
<{^_^}> [nixpkgs] @mnacamura opened pull request #41487 → dropbox: fix missing libgcc_s.so required by pthread_cancel → https://git.io/vhBuj
balsoft has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41484 → ponyc: 0.22.3 -> 0.22.5 → https://git.io/vhBvJ
<{^_^}> [nixpkgs] @xeji pushed commit from @kamilchm to master « ponyc: 0.22.3 -> 0.22.5 (#41484) »: https://git.io/vhBzO
stphrolland has quit [Ping timeout: 256 seconds]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
stphrolland has joined #nixos
balsoft has quit [Client Quit]
Ariakenom has joined #nixos
<tilpner> Hey manveru, did you ever have to match nodeHeaders for gyp to electron?
<manveru> yes
<tilpner> Can I have a paste, please? :/
npmccallum has joined #nixos
endformationage has joined #nixos
balsoft has joined #nixos
balsoft has quit [Read error: Connection reset by peer]
fendor has quit [Ping timeout: 276 seconds]
balsoft has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<tilpner> Thank you! :)
<manveru> hope that's what you mean :)
<manveru> oh look, i actually handled leveldown there too
<tilpner> ...
phreedom has joined #nixos
<manveru> :D
<tilpner> I'm trying to package patchwork
<tilpner> Wow
<manveru> y u no sai!
rauno has quit [Ping timeout: 240 seconds]
<tilpner> I didn't think to look in open PRs!
<tilpner> I thought it'd either be in nixpkgs already, or not be packaged at all
<manveru> yeah... this one just got a huge discussion
<{^_^}> [nixpkgs] @xeji pushed commit from @lopsided98 to release-18.03 « spl, zfs: 0.7.8 -> 0.7.9, unstable to latest (#41093) »: https://git.io/vhBgR
<infinisil> acowley: Well since tests are run on the machine doing the compilation, they really belong in nativeBuildInputs If I'm not mistaken
<manveru> i doubt it'll be merged
<infinisil> Ohhh new ZFS
<acowley> infinisil: That's what I was thinking about actually. Does it actually make sense to run tests on the build machine? If it's a cross-compile or something, we'd want to run on a separate test runner.
<tilpner> Because of yarn.{lock,nix}? Would node2nix make those smaller? Would leaving off one be enough? Is IFD allowed in nixpkgs?
<gchristensen> no
<gchristensen> IFD is not allowed in Nixpkgs
<manveru> i could possibly generate yarn.lock from yarn.nix though
<tilpner> Because it makes searching expensive?
<infinisil> gchristensen: Shouldn't it be okay if it's not in all-packages and therefore not being built by hydra?
<manveru> but that's still 6k lines
<gchristensen> why would we have code in nixpkgs not run by hydra?
<infinisil> acowley: Not sure
<tilpner> gchristensen - If the alternative is not having the application at all, is IFD so terrible?
<acowley> gchristensen: Perhaps to establish a convention and ease of use for dependency resolution
<tilpner> (I guess split nixpkgs and cachix could help here)
<gchristensen> we should not have IFD in nixpkgs, and leaving code in nixpkgs that isn't run by hydra will lead to code rot
<gchristensen> we can possibly change #1 but #2 shouldn't change
<acowley> You're right
woodson_ has joined #nixos
humanoyd has quit [Quit: WeeChat 2.1]
winem_ has quit [Ping timeout: 256 seconds]
<maurer> Not that I have an opinion here, but what's an IFD?
<gchristensen> import from derivation, for example: import (pkgs.writeText "foo.nix" '' { foo = true; }'')
<maurer> Ah, OK
<maurer> (That basically devolves to eval, which seems sketch)
<gchristensen> it can be problematic because it forces the evaluator to build, and right now you can very safely evaluate anything in nixpkgs and know it won't build
<maurer> Thanks for the explanation though
emilis has quit [Read error: Connection reset by peer]
<gchristensen> (imagine if in order to evaluate nixpkgs you had to bootstrap nixpkgs)
<infinisil> Wait why can't hydra do IFD again?
<{^_^}> [nixpkgs] @acowley opened pull request #41488 → catch: add separate derivation for the catch2 branch → https://git.io/vhB2i
<gchristensen> it is not permitted by the evaluator
<infinisil> Okay, but why?
<gchristensen> it can be problematic because it forces the evaluator to build, and right now you can very safely evaluate anything in nixpkgs and know it won't build
<gchristensen> we can possibly change #1 but #2 shouldn't change
<manveru> so we need a separate nixpkgs for those applications
<manveru> i'd happily package more of those silly electron apps, but i don't see the point if they can't live somewhere people can find them
rauno has joined #nixos
<manveru> and 10k lines just for lockfiles is like the lower bound there
<gchristensen> yowzzzz
blankhart has quit [Ping timeout: 265 seconds]
<tilpner> Even if it's not merged, this saves me a lot of trouble :)
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
hph^ has joined #nixos
Izorkin has joined #nixos
<manveru> with IFD we only need the application source, if they have a yarn.lock file already anyway (which isn't the case for Patchwork unfortunately)
knupfer has quit [Ping timeout: 265 seconds]
<tilpner> Except... it doesn't build. Couldn't find any versions for "atomic-file" that matches "^0.1.0" in our cache
<manveru> :(
<tilpner> Also: writeShellScriptBin does what your startupScript does manually
JasonGrossman has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/9df3c53f38b (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
stphrolland has quit [Ping timeout: 245 seconds]
olto has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
YaZko has joined #nixos
jasongro` has joined #nixos
JasonGrossman has quit [Ping timeout: 245 seconds]
balsoft has quit [Quit: balsoft]
dbmikus has joined #nixos
blankhart has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #41489 → ocamlPackages.linenoise: init at 1.1.0 → https://git.io/vhBrE
<manveru> tilpner: i'll fix it :)
<tilpner> I tried, but ran into the same Error: Module did not self-register.
<tilpner> But even if you fix it, what then? Perma-open PRs aren't desirable :c
jasongro` has quit [Remote host closed the connection]
balsoft has joined #nixos
<tilpner> riot-electron-nix is it's own repo: https://github.com/Ralith/riot-electron-nix
<tilpner> Combined with cachix and instructions, it could be okay-ish
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/vhBrS
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.105 -> 4.9.106 »: https://git.io/vhBr5
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.47 -> 4.14.48 »: https://git.io/vhBrb
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.16.13 -> 4.16.14 »: https://git.io/vhBrA
nlytend has quit [Quit: disconnected.]
nh2 has joined #nixos
<manveru> that might be an option
<manveru> i was actually working on a tool to make this easier
justanotheruser has joined #nixos
<avn> `You don't have `system.nixos.stateVersion` explicitly set. Expect things to break.` looks like I am not update few times ;)
<avn> what is suggested setting for master?
camsbury has quit [Remote host closed the connection]
<tilpner> manveru - Make what easier?
<manveru> avn: stateVersion should be the version you first installed
waleee has joined #nixos
<tilpner> Check if you currently have system.stateVersion set instead
<tilpner> (Or would that only give the rename trace?)
<manveru> i think that's been removed a few years ago?
periklis has quit [Ping timeout: 256 seconds]
<avn> system.stateVersion = "15.09" in all hosts configs, except this one ;)
ThatDocsLady has quit [Ping timeout: 256 seconds]
hph^ has quit [Ping timeout: 245 seconds]
<infinisil> ,stateVersion avn
<{^_^}> avn: Setting stateVersion to the latest release doesn't update anything and can only break your setup at best. If you want to regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually upgraded with the new value
asymmetric has joined #nixos
<avn> time to finish all my lib-prefixed refactoring, and do something new (lol)
mekeor has joined #nixos
<goibhniu> hrm, I don't seem to have ever set the system.stateVersion ... any idea what a safe value for that would be? ... I installed this system ~10 years ago
ThatDocsLady has joined #nixos
nixo202 has quit [Ping timeout: 240 seconds]
<infinisil> > nixos.options
<{^_^}> undefined variable 'nixos' at (string):41:1
<infinisil> goibhniu: The default value should be fine
<goibhniu> I also don't have any databases, maybe it doesn't matter
<infinisil> See the link above what uses stateVersion, it's not only databeses
<sphalerite> infinisil: the default value, null or empty or something like that, throws a warning
<goibhniu> I could pin it to 18.09 now then
<goibhniu> thanks!
<tilpner> sphalerite - Current default is "18.09"
jensens has joined #nixos
<tilpner> Hmm
* tilpner can't tell if that's specific to his config
<ryantm> Does anyone have advice or know of a resource for deubgging infinite recursion while using the NixOS module system?
<tilpner> Ah, default = cfg.release;
<goibhniu> it's a fairly scary warning
shivnshu has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch pushed to revert-41373-bitwise « Revert "lib: bitAnd, bitOr, bitXor" »: https://git.io/vhBKH
<tilpner> ryantm - Comment out things until it disappears :/
<infinisil> > nixos = import <nixpkgs/nixos> { configuration = { fileSystems."/".device = "x"; boot.loader.grub.device = "x"; }; }
<{^_^}> nixos defined
<infinisil> > nixos.options.system.nixos.stateVersion.default
<{^_^}> "18.09"
<infinisil> :P
<{^_^}> [nixpkgs] @Profpatsch opened pull request #41490 → Revert "lib: bitAnd, bitOr, bitXor" → https://git.io/vhBK7
<sphalerite> huh
orivej has quit [Ping timeout: 260 seconds]
<sphalerite> how does it do the warning stuff
<{^_^}> [nixpkgs] @Profpatsch merged pull request #41490 → Revert "lib: bitAnd, bitOr, bitXor" → https://git.io/vhBK7
<{^_^}> [nixpkgs] @Profpatsch pushed to master « Revert "lib: bitAnd, bitOr, bitXor" »: https://git.io/vhBKN
<shivnshu> Hey, in unstable channel, scapy is available as 'nixos.python36Packages.scapy'. But, when I use nix-shell with default.nix with content '(python36.withPackages (ps: with ps; [ scapy ])).env', I get error.
<shivnshu> Pls help..
<infinisil> > nixos.options.system.nixos.stateVersion.highestPrio # sphalerite
<{^_^}> 1001
<sphalerite> aaah
<infinisil> This value is 1001 when it uses the default in the option declaration
<shivnshu> Error is 'error: scapy-2.3.3 not supported for interpreter python3.6m'
<sphalerite> shivnshu: apparently it's only supported for python 2.x
<ryantm> tilpner: Thanks; I tried that some.
<tilpner> ryantm - Yeah, it can still be really hard. The only "strategy" I have is to reduce it until it's obvious
<shivnshu> sphalerite: But command 'nix-env -iA nixos.python36Packages.scapy' succeeds without any error.. Any idea?
<sphalerite> shivnshu: does it actually install anything?
<shivnshu> yes
<shivnshu> Install scapy for python3.6
<sphalerite> shivnshu: I get `error: scapy-2.3.3 not supported for interpreter python3.6m` if I do that
<infinisil> shivnshu: What's `nix-info` output
<shivnshu> I am using unstable channel..
<sphalerite> shivnshu: how do you know it installs it?
<infinisil> nix-env doesn't necessarily use the same version of nixpkgs as import <nixpkgs>
Jetien_ has quit [Quit: Leaving]
<sphalerite> ah yes, I see that it does work on nixos-unstable
<ryantm> tilpner: I tried using builtins.trace too but that seems to introduce it's own infinite recursions
<shivnshu> sphalerite: Because, in python 'import scap'y works..
<infinisil> ryantm: I've dealt with infinite recursion problems related to the module system too much.. there's not a good way, but I could take a look at it
xcmw has joined #nixos
<shivnshu> sphalerite: nix-info output "system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.2, channels(shivnshu): "nixos-18.09pre140958.696c6bed4e8", channels(root): "nixos-18.03.132594.cb0eb5b2718", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs"
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41368 → Add missing ios triples to bfd → https://git.io/vhCoC
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhB6g
<sphalerite> yep so what infinisil said — you've got unstable in your user channels and 18.03 in root's
<sphalerite> and apparently nix-env is using your user channel while the <nixpkgs> in your shell expression resolves to the root one
<ryantm> infinisil: Thanks. I'll try to reduce it to much more minimal thing first.
<shivnshu> sphalerite: Thanks, I would try this.
<{^_^}> [nixpkgs] @copumpkin merged pull request #41456 → Do not kill udev during boot → https://git.io/vh8Pu
<{^_^}> [nixpkgs] @copumpkin pushed 4 commits to release-18.03: https://git.io/vhBie
softinio has joined #nixos
softinio has quit [Client Quit]
softinio has joined #nixos
cyris212 has quit [Quit: WeeChat 2.0]
<softinio> I am enjoying using Nix on my servers
<softinio> now I am considering whether I should replace homebrew on my macbook with nixpkg
<softinio> should I ? Whats its current status on Mac ?
<goibhniu> that sounds like a great idea :)
<gchristensen> it works great for unixey tools. right now, macOS GUI applications are fairly out of scope
<__monty__> I wouldn't replace. I resort to homebrew for some things.
<gchristensen> so like, you won't get chrome / iterm2 / etc. from nixpkgs
shivnshu has quit [Quit: WeeChat 2.0]
<softinio> i hardly have anything GUI I install via brew
iyzsong has quit [Quit: ZNC 1.6.5 - http://znc.in]
<ij> is it possible to make configuration.nix download <nixpkgs> (or something like <musnix>), so I wouldn't have to update channels on multiple machines?
tzemanovic has joined #nixos
<tazjin> ij: there are multiple ways to do that
<softinio> anyone got a good nix config file for mac I can use to get started with? Or is there a command under mac to create a default one?
<manveru> softinio: i'd check out nix-darwin
<softinio> thanks
<manveru> also #nix-darwin :)
<ij> manveru, Hey, how should you update gems? I'm assuming you do it with bundler while being outside of the bundlerEnv development shell?
<ij> tazjin, nice, thanks!
chreekat has joined #nixos
<manveru> ij: you mean, all of them?
<tazjin> ij: the other important setting is on line 41, using config.packageOverrides to replace the "main" channel for the whole system
<ij> tazjin, I was looking for that!
tzemanovic has quit [Ping timeout: 265 seconds]
<ij> manveru, Possibly… or just some. It's just that bundle update (or something more --conservative) wouldn't work. Should it?
<manveru> no, it can't work... i usually modify the gemfile and create a new lock
<manveru> in my own apps i never write versions in the gemfile itself
phreedom has quit [Ping timeout: 250 seconds]
sbdchd has quit [Remote host closed the connection]
<manveru> so if i want to update, i just `rm Gemfile.lock && bundix -l`
<ij> ah, so it works only if you update all of them
<manveru> yes
<ij> What about just some? :P
<manveru> but i'm like the only person i know that develops with bundlerEnv :P
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
phreedom has joined #nixos
<manveru> rest of my coworkers simply put their gem buildInputs into the shell.nix instead and use bundler directly
<ij> I'm trying to develop with it for my toy project and I happened to need an upgrade. :)
<ij> yeah, that's what I do for work projects, because I had to get it working fast :D
<manveru> i find that bites you sooner or later
<manveru> but well, it's still less headache than with brew + bundler
<ij> I made an updateEnv that has only bundix bundler and gcc.
<ij> With bundix, you've got to store every gem twice (once in vendor/, once in /nix/store)?
lonokhov has quit [Quit: WeeChat 2.0]
<manveru> i don't have a vendor/
<ij> ah okay, then I'd forgotten I made it :)
chreekat has quit [Quit: quitting]
<manveru> there's a bundix cache though
<manveru> see ~/.cache/bundix
softinio has quit [Remote host closed the connection]
softinio has joined #nixos
softinio has quit [Remote host closed the connection]
woodson_ has quit [Ping timeout: 268 seconds]
softinio has joined #nixos
woodson_ has joined #nixos
softinio has quit []
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #41486 → grub: Support when boot.loader.grub.font is null → https://git.io/vhBna
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/vhB17
jtojnar has quit [Read error: Connection reset by peer]
ftzm has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-18.03: https://git.io/vhB1b
sbdchd has joined #nixos
ftzm has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
camsbury has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41491 → lib: bitAnd, bitOr, bitXor (bitwise-agnostic fallback function) → https://git.io/vhBMT
sigmundv__ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @mrVanDalo opened pull request #41492 → ctmg: add 1.2 → https://git.io/vhBMs
humanoyd has joined #nixos
martingale has quit [Ping timeout: 264 seconds]
<nyanloutre[m]> Hello, is it possible to declare mount points and automatically create the destination folder if it's not present ?
balsoft has quit [Quit: balsoft]
andymandias has quit [Ping timeout: 256 seconds]
jtojnar has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andymandias has joined #nixos
ditadi has joined #nixos
cybrian has joined #nixos
<emmanuelrosa> nyanloutre[m], in looking at the code for the filesystems module I don't see anything that creates the mount point. Have you tried it? Perhaps using `nixos-rebuild build-vm`? If it doesn't work you can add an activation script to create the mount point.
<ij> tazjin, Hey, I noticed you use jack by your dotfiles. Does the "start" button in qjackctl work for you? :P
<nyanloutre[m]> I am asking because if the mount point doesn't exist the system will go in rescue mode instead of trying to create it
<tazjin> ij: I only use it occasionally to get Overtone to work, but when I use it it does work
<ij> tazjin, Did you change any settings?
<tazjin> there was something I had to do once that wasn't in my nix config though, iirc
<robstr> Is it possible to deploy n instances with nixops, like a loop ?
<tazjin> ij: I'll check that computer when I get home
<ij> tazjin, I'm not in audio group, ha! I'll try that first.
xy2_ has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
xcmw has joined #nixos
xy2_ has joined #nixos
YaZko has quit [Quit: YaZko]
ditadi has quit [Ping timeout: 264 seconds]
woodson_ has quit [Ping timeout: 265 seconds]
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
asymmetric has quit [Ping timeout: 255 seconds]
humanoyd has quit [Quit: WeeChat 2.1]
<infinisil> robstr: Yeah
<infinisil> robstr: Nixops just takes a nix attrset, you can create that however you want
<{^_^}> [nixpkgs] @xeji merged pull request #41481 → iasl: integrate upstream patch for acpica/acpica#387 → https://git.io/vh4AZ
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to gcc8 « iasl: integrate upstream patch for acpica/acpica#387 (#41481) »: https://git.io/vhB9q
Guest82477 has joined #nixos
<infinisil> > lib.genAttrs (lib.map toString (lib.range 1 10)) (n: { someOption = n; })
<{^_^}> attribute 'map' missing, at (string):42:15
<emmanuelrosa> nyanloutre[m], assuming you're taking about a mount point other than /, you can use an activation script to create the mount point: https://nixos.org/nixos/options.html#activation
<infinisil> robstr: Something like that could work ^^
Guest82477 has quit [Client Quit]
<nyanloutre[m]> emmanuelrosa: ok thanks ! I will look into this
jtojnar has quit [Ping timeout: 245 seconds]
<ldlework> good-day infinisil
<infinisil> nyanloutre[m]: Maybe try the `X-mount.mkdir` mount option
<infinisil> ldlework: hi!
<infinisil> ldlework: If you haven't seen it: #41467
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41467 (by Infinisil, open): [WIP] znc: more flexible module
<ldlework> heh no but I can guess
<ldlework> infinisil: how do you get things like twitchChatOauth into your private.passwords options
<ldlework> getEnv?
<infinisil> It's just an option I declared myself (but it's in my private git repo)
<infinisil> It gives me access to all passwords that i need
<ldlework> Ah OK
<ldlework> I have all my secrets in LastPass, a bash script that invokes lpass and exports an environment variable of each password, and then I run whatever nixos or home-manager command, so that I can pull those secrets in via getEnv
<ldlework> So my passwords don't need to exist on disk, at least ignoring the nix store :(
<infinisil> I see, nice
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbdchd has quit [Remote host closed the connection]
mekeor has quit [Disconnected by services]
mekeor has joined #nixos
camsbury has quit [Remote host closed the connection]
roconnor has quit [Ping timeout: 240 seconds]
camsbury has joined #nixos
ftzm has joined #nixos
frank87 has quit [Remote host closed the connection]
frank87 has joined #nixos
sbdchd has joined #nixos
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
<robstr> infinisil: Thank you, I will try to check :P
Izorkin has joined #nixos
roconnor has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41489 → ocamlPackages.linenoise: init at 1.1.0 → https://git.io/vhBrE
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.linenoise: init at 1.1.0 (#41489) »: https://git.io/vhBQI
nixo202 has joined #nixos
ftzm has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
freeman42x]NixOS has joined #nixos
Guest51315 has quit [Ping timeout: 245 seconds]
cloud-maingo has quit [Quit: Connection closed for inactivity]
Guest26267 is now known as aminb
aminb has quit [Changing host]
aminb has joined #nixos
roconnor_ has joined #nixos
<robstr> infinisil: https://github.com/NixOS/nixpkgs/blob/master/lib/attrsets.nix#L281 makes much sense to me, what you provided.
reinzelmann has quit [Quit: Leaving]
roconnor has quit [Ping timeout: 264 seconds]
<infinisil> :)
tmaekawa has joined #nixos
<robstr> infinisil: Right now I'm more then confused with nixops syntax, until now I used something like this https://gist.github.com/rsoeldner/21d73f6a9e7be8f4303b09a2207edc7b , I specified it "twice" and never tought about why this works. But now things change
rihards has joined #nixos
tmaekawa has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji merged pull request #41415 → opendune: init at 0.9 → https://git.io/vhlmt
<{^_^}> [nixpkgs] @xeji pushed commit from @nand0p to master « opendune: init at 0.9 (#41415) »: https://git.io/vhB58
<infinisil> robstr: Yeah, it's really just a nix value
<robstr> infinisil: I want to replace agent1 by 1..10 agents, with a fixed configuration (vbox AND agent1 specification)
<infinisil> robstr: Also, nixops doesn't care how many files you use, it combines them all anyways in the end. I'm just using a single file for my machines
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aae7d68c45a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<robstr> infinisil: Ok but what happens if it combined them, I write twice `agent1 = `
xcmw has joined #nixos
<ldlework> big bada boom
<robstr> infinisil: will the content combined ? like adding the deployment stuff to the specification ?
<infinisil> Nixops takes a list of attrsets [ { foo = c1; bar = c2; } { foo = c3; } ] and combines all of them much like this: `foo = { imports = [ c1 c3 ]; }; bar = { imports = [ c2 ]; }`, so it creates 1 node for every attribute set in the topmost level of your files
<infinisil> for every attribute* i mean
<infinisil> robstr: hold on I'll make an example of something that would work for you
logzet_ is now known as logzet
<robstr> infinisil: that would be great, do you check all the steps inside the repl ? How to find `builtins` or `lib.mkAttr` stuff ? I haven't seen it :-/
Thra11 has quit [Quit: IRC for Sailfish 0.9]
<copumpkin> if I have a users.extraUsers.myserviceuser = { createHome = true; } and then a systemd.services.blah.serviceConfig.User = "myserviceuser"; can I expect the home directory to exit by the time systemd spins up the service?
<copumpkin> s/exit/exist/
<infinisil> robstr: Hmm, just looking through nixpkgs/lib, and builtins are somewhat documented here: https://nixos.org/nix/manual/#ssec-builtins
<tilpner> copumpkin - Yes, that happens in activation. See update-users-groups.pl /Create a home directory/
liori has joined #nixos
<ryantm> tilpner: infinisil: Here's my simplified infinite recursion module: https://gist.github.com/4232ce9bc7e02b29eab11118744b40cd
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fb16f664187 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
nixo202 has quit [Ping timeout: 276 seconds]
<infinisil> ryantm: Ah yes, I've stumbled on this before, mkMerge doesn't work with lists whose length depends on the config I think, not sure if I ever found out why exactly though
mekeor has quit [Disconnected by services]
mekeor has joined #nixos
mekeor has quit [Client Quit]
<infinisil> ryantm: I think a workaround is to only use mkMerge on some sub attribute
<copumpkin> tilpner: weird, I'm not seeing it appear even though I have createHome = true;
<copumpkin> maybe I need isNormalUser = true; as well
<copumpkin> doesn't appear that way from the script though
karlguy_ has joined #nixos
<ryantm> infinisil: My example is simplified to not have this, but I was trying to realize the configuration of a attrset of submodules. Maybe mkMerge is the wrong way to do that?
<robstr> infinisil: thank you really much, looks quite easy :P
<ryantm> infinisil: This must be done somewhere in NixOS already because submodules are so common. I'll try to look around to see how other services are doing it.
<infinisil> robstr: In my example I have the value 10 at 2 places, you could make this nicer with a nixops argument
<infinisil> ryantm: What do you mean by "configuration of an attrset of submodules"?
<infinisil> You can't change options with other options if you mean that
<robstr> infinisil: Ok, I will spend more time on reading through this
<ryantm> infinisil: I'll make an example :)
<infinisil> ryantm: Alright, maybe have a look at mkAliasDefinitions, i feel like that might be what you're looking for
aminb has quit [Quit: WeeChat 2.1]
aminb has joined #nixos
aminb has quit [Client Quit]
aminb has joined #nixos
kreisys has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #41432 → steam: add optional extraProfile → https://git.io/vhlzx
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhBbX
<kreisys> Hi, I'm trying to use builtins.fetchGit/builtins.fetchTarball in a config that's supplied to an ec2 instance through user-data but it's failing because neither tar nor git are available in that context for some reason
<kreisys> Any workaround?
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #41492 → ctmg: add 1.2 → https://git.io/vhBMs
<{^_^}> [nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/vhBbD
<kreisys> I mean a workaround that doesn't involve manually ssh'ing into the instances and nix-env'ing tar/git
<gchristensen> you could use pkgs.fetchGit / pkgs.fetchurl instead
chessai has joined #nixos
deepfire` has quit [Ping timeout: 240 seconds]
<kreisys> oh I thought you're only supposed to use those when fetching sources for building a derivation
<kreisys> I'm trying to fetch an expression
<gchristensen> you will be using Import From Derivation, which will work okay for this
<kreisys> right... yeah I remember that came to bite me once when it virtually disabled all parallelization
xcmw has joined #nixos
<kreisys> but that was a completely different usecase
<kreisys> cool I'll try that. thx
<{^_^}> [nixpkgs] @vanschelven opened pull request #41493 → readline 7.0.3 -> 7.0.5 → https://git.io/vhBNS
sigmundv_ has joined #nixos
<infinisil> ,IFD = import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2
<{^_^}> IFD defined
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 248 seconds]
<Aleksejs> Hi, I'm trying to launch an elf file (authors only offer to download that file, there's no way to install it via package managers). It shows file not found. When I ldd this file it shows that libstdc++.so.6 => not found. I tried to install libstdcxx5 but it doesn't change a thing. Can you help me with that?
TonyTheL1on has joined #nixos
<lewo``> Aleksejs: you basically have to use patchelf https://nixos.org/patchelf.html
<gchristensen> whoa I diddn't realize there was a top level page for patchelf
<tilpner> Aleksejs - Try launching it with steam-run
jtojnar has joined #nixos
<ldlework> nixops-mode for emacs would be awesome
TonyTheLion has quit [Ping timeout: 276 seconds]
robstr has quit [Quit: WeeChat 1.9.1]
<infinisil> ldlework: What would it do?
inquisitiv3 has joined #nixos
<ldlework> List your deployments, allow you to invoke nixops features through bindings, show you the status of deployments and so on
<Aleksejs> lewo``: how do I use it? should I specify a path to that lib?
<ldlework> basically, any interactive TUI for nixops would be fun
<ldlework> doesn't have to be emacs, that's just where I live
<infinisil> ldlework: Ah yes, that would be nice. The CLI is horrible
<clever> ldlework: running `nixops info` can be a potentially destructive operaiton if the `--arg` flags are using relative paths
<ldlework> lol what
<clever> ldlework: i have also seen deployments where info takes 40gig of ram and takes 5 minutes
TonyTheL1on has quit [Ping timeout: 256 seconds]
<ldlework> lol that's worrying
TonyTheLion has joined #nixos
<clever> ldlework: thats what happens when you have 80+ machines in the deployment file
<ldlework> should be able to hash the deployment file and know that it hasn't changed and cache the info
<ldlework> if it is such a scaling problem
<clever> ldlework: there is `nixops info --no-eval` that can mostly deal with it, and also prevent any destructive operations
<clever> it works purely on the sqlite state file
<ldlework> that's good
<clever> the problem with just hashing the deployment file, is imports and readfile
<clever> you have to hash every file it read during the eval
* ldlework shrugs
<ldlework> nix* will eventually need to be amenable to tooling
orivej has joined #nixos
<gchristensen> +1
<{^_^}> [nixpkgs] @xeji merged pull request #41483 → vlc: 3.0.1 -> 3.0.3 → https://git.io/vh4hN
<{^_^}> [nixpkgs] @xeji pushed commit from @bkchr to master « vlc: 3.0.1 -> 3.0.3 (#41483) »: https://git.io/vhBx7
xcmw has joined #nixos
<lewo``> Aleksejs: all infos there https://nixos.wiki/wiki/Packaging/Binaries
fendor has joined #nixos
<{^_^}> [nixpkgs] @teozkr opened pull request #41495 → Various nixos/gitlab fixes → https://git.io/vhBpk
<mjrosenb> blerg. I tried to write a nixexpr to install oraclejdk on OSX. It works fine if I don't try to patch anything, but the patcher fails because the binaries don't have enough room for the new names.
<tilpner> manveru - Hah! https://tx0.co/1d
* tilpner cheated
xcmw has quit [Ping timeout: 240 seconds]
<inquisitiv3> What's the policy regarding software updating? Is patches backported?
xcmw has joined #nixos
<Aleksejs> lewo``: thanks!
<tilpner> Aleksejs - Did you try steam-run?
nico202 has joined #nixos
deepfire` has joined #nixos
<Aleksejs> tilpner: it shows not found
<tilpner> Provide an absolute path
<clever> Aleksejs: run file on the ELF binary
<tilpner> steam-run ./my-binary
<infinisil> inquisitiv3: security patches and bug fixes are backported
<tilpner> (Relative works too)
<Aleksejs> tilpner: it works with relative path
dbmikus has quit [Ping timeout: 264 seconds]
dbmikus_ has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @orivej merged pull request #41493 → readline 7.0.3 -> 7.0.5 → https://git.io/vhBNS
<{^_^}> [nixpkgs] @orivej pushed commit from @vanschelven to master « readline70: 7.0.3 -> 7.0.5 (#41493) »: https://git.io/vhBho
<inquisitiv3> infinisil: How much does Nix maintainers usually customize packages for Nix?
<infinisil> inquisitiv3: What do you mean by customize?
szicari has quit [Quit: Leaving.]
jD91mZM2 has quit [Quit: WeeChat 2.0]
TonyTheL1on has joined #nixos
<Aleksejs> I guess I will try to create a derivation, following the instructions in lewo`` link, because a lot of people would want to be able to run this software on linux where I live
<Aleksejs> it's a software for ID card reader and for e-signing documents
<inquisitiv3> infinisil: E.g. Debian usually splits packages so they fit how the Debian maintainers want them. Fedora maintainers on their end usually keep the packages as close to upstream as possible.
TonyTheLion has quit [Ping timeout: 260 seconds]
<inquisitiv3> E.g. the venv module in Python's standard library. The Debian maintainers split the module from the library, while Fedora keeps it in the standard library as upstream have it.
<gchristensen> inquisitiv3: we usually keep them pretty close to upstream
orivej has quit [Ping timeout: 260 seconds]
<inquisitiv3> gchristensen: Good to know!
<gchristensen> though ... we frequently automatically split docs from binaries from libraries
<gchristensen> but usually only if upstream is ameanable to it
<inquisitiv3> Does NixOS support having Fish shell as the standard shell for the user?
TonyTheLion has joined #nixos
szicari has joined #nixos
TonyTheL1on has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Izorkin opened pull request #41496 → mc: 4.8.20 -> 4.8.21 → https://git.io/vhBjH
<inquisitiv3> gchristensen: Thanks!
YaZko has joined #nixos
<gchristensen> yep!
jtojnar_ has joined #nixos
mkoenig has quit [Remote host closed the connection]
<inquisitiv3> How well does packages usually integrate with NixOS? Do you have to apply some ugly hacks to get it to work, or does is usually work seamlessly?
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar_ is now known as jtojnar
<gchristensen> if it is well packaged upstream, it will be automatic and work nicely
<gchristensen> if upstream makes ugly assumptions, we make ugly patches
* manveru is still not sure how to patch the assumptions of patchwork...
Cypi_ is now known as Cypi
<inquisitiv3> gchristensen: thanks again
<{^_^}> [nixpkgs] @dotlambda merged pull request #40983 → pythonPackages.typing-extensions: init at 3.6.5 → https://git.io/vhUod
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « pythonPackages.typing-extensions: init at 3.6.5 (#40983) »: https://git.io/vhReo
<inquisitiv3> How's the governance of Nix structured? I couldn't find a chart or description in the Wiki.
<gchristensen> currently, very organically
<gchristensen> with work and experimenents in place to improve it
<samueldr> it's possible to land a contribution in your first hour playing around with nix and nixos
<inquisitiv3> So no formal rules?
<samueldr> there are few
<samueldr> both a blessing and a curse :)
<samueldr> processes would help some, and hamper some :)
<gchristensen> Nix has a core team now, and hopes to expand the concept to nixos / nixpkgs sometime
<samueldr> (while I say hamper, some processes wouldn't in reality)
steell has joined #nixos
<gchristensen> inquisitiv3: nixos is like 15yrs old and has grown loads in the past 2 yrs, so only now are organizational issues starting to come to the forefront of things to do
<gchristensen> by my perspective anyway
erasmas has quit [Quit: leaving]
<inquisitiv3> gchristensen: Is there any documents detailing how this works, or are they just documented in mails sent to a mailing list?
<gchristensen> how what works?
<bebarker> Not sure if anyone is interested in this, but I have some OpenMPI in docker demos where all the software is coming from nix; currently using ubuntu as base, but maybe support multiple and switch to alpine as the default: https://github.com/federatedCloud/NixTemplates - would welcome any feedback. One goal is easy reproducibility *without* an image, and I'm not sure we're there yet - have had mixed results in tests
<inquisitiv3> gchristensen: You wrote that there are a "core team". What do they do? What don't they do?
<gchristensen> ah
jensens has quit [Ping timeout: 264 seconds]
aarvar has joined #nixos
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41451 → pdf-redact-tools: init -> 0.1.2 → https://git.io/vh88T
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « pdf-redact-tools: init -> 0.1.2 (#41451) »: https://git.io/vhRkK
hph^ has joined #nixos
<inquisitiv3> gchristensen: Thanks! That clarifies it.
fendor has quit [Ping timeout: 276 seconds]
<gchristensen> great!
marco_t has joined #nixos
<Aleksejs> I've managed to patch this binary and now I'm getting some java exception "Error initializing QuantumRenderer: no suitable pipeline found", however it runs well with steam-run. Is there a way to fix this?
<marco_t> How do I prevent callCabal2nix from running the tests of a package when building it for the first time?
hotfuzz_ has joined #nixos
mahalel_ has joined #nixos
hotfuzz has quit [Ping timeout: 240 seconds]
<npmccallum> My nixos container builds, but doesn't start. How do I debug it?
<{^_^}> [nixpkgs] @xeji merged pull request #41496 → mc: 4.8.20 -> 4.8.21 → https://git.io/vhBjH
<{^_^}> [nixpkgs] @xeji pushed commit from @Izorkin to master « mc: 4.8.20 -> 4.8.21 (#41496) »: https://git.io/vhRLY
grp has quit [Quit: box shutting down...]
<emmanuelrosa> npmccallum, nixos containers have a systemd unit associated with them. So you can use `systemctl status container@foo` and `journalctl -u container@foo` to troubleshoot.
<__monty__> Are they nspawn containers?
<inquisitiv3> I see there has been done some work to get flatpaks running on NixOS. I'm wondering, what's the point of NixOS if you are going to run Flatpaks like every other distro?
YaZko has quit [Quit: YaZko]
<gchristensen> I would say the effort to have flatpak work on nixos is because someone decided to do it, and not that it is a strategy we agree with
<gchristensen> as a whole*
<sphalerite> __monty__: ye
<sphalerite> s
<inquisitiv3> Okey, so it was the work of one or more developers that just wanted the feature. :)
<gchristensen> yeah
<tilpner> inquisitiv3 - More choice for the user is always good. Some applications can be hard to package, and if a user can just run the flatpak instead that's much more convenient
rihards has quit [Quit: rihards]
<inquisitiv3> tilpner: Yeah, I understand.
szicari has quit [Quit: Leaving.]
<inquisitiv3> It was just little confusing seeing the community focusing on something that everyone else does.
<inquisitiv3> Does the community have any stated goals that is actively worked towards?
orivej has joined #nixos
<tilpner> I feel like you overestimate the level of organisation "the community" has
<inquisitiv3> Or is it like the governance that it's currently organic and community members work on their own projects?
hph^ has quit [Ping timeout: 264 seconds]
<inquisitiv3> tilpner: Not having an formal hierarchy doesn't stop the community having a goal.
<gchristensen> that one
YaZko has joined #nixos
szicari has joined #nixos
<__monty__> Pretty sure the only goal everyone agrees on is take over the world ; )
<inquisitiv3> tilpner: E.g. the Debian project doesn't really have "leaders" that decide that should be done. But huge part of the community works towards getting reproducible build for every package in the repos.
<tilpner> Sure, those are goals. But what makes a state goal?
<tilpner> *stated
<{^_^}> [nixpkgs] @Izorkin opened pull request #41497 → mariadb: 10.2.14 -> 10.2.15 → https://git.io/vhRtN
<inquisitiv3> __monty__: Is there much work in the Nix camp to get it user friendly and get more "regular" users interested in using Nix?
<gchristensen> that is ~30-40% of my job right now
<inquisitiv3> tilpner: I don't have a formal requirement, but if you look into their discussions it's frequently discussed.
<gchristensen> a regular goal here is making cross compilation really good, aarch64 support really good, macOS support really good
<__monty__> The nix cli tool is definitely improving ux wise. Not sure nix is ready for "regular" users yet but it depends on how you define regular.
YaZko has quit [Client Quit]
xeji has joined #nixos
YaZko has joined #nixos
<tilpner> inquisitiv3 - That's the "Cross compilation" project
<tilpner> Oh, https://github.com/NixOS/nixpkgs/projects is a better link
<Izorkin> How to need to merge PR https://github.com/NixOS/nixpkgs/pull/40686 ?
tzemanovic has joined #nixos
<inquisitiv3> tilpner: I read the description of the Cross compilation project, but I don't get what it's intended to do.
<inquisitiv3> To get a better user experience.
<__monty__> inquisitiv3: Well it's better ux in specific scenarios.
<steveeJ> I must be blind now looking for the option to give a configurable (neo)vim a different binary name
<inquisitiv3> Does a significant part of the community feel that NixOS should be easy enough that regular Linux users should be able to use it?
<infinisil> steveeJ: It's easiest to make a wrapper for it
<steveeJ> infinisil: was this removed at one point or did my mind make this up?
<tilpner> inquisitiv3 - There has been discussion about allowing NixOS configuration without actually touching configuration.nix. While that's a nice goal, it severely restricts what you can do with the system in the concepts I can imagine. AFAIK there is no one working on that
YaZko has quit [Ping timeout: 265 seconds]
sbdchd has quit [Remote host closed the connection]
<gchristensen> I think usability is important to a lot of people, but not everyone ... and I don't think it is reasonable to hide how nixos works to make it "easy"
tzemanovic has quit [Ping timeout: 268 seconds]
<infinisil> steveeJ: Ah no idea
<{^_^}> [nixpkgs] @xeji pushed to master « faust2: fix build with llvm 5.0.2 (#40672) »: https://git.io/vhRq7
<tilpner> gchristensen - A simple preset system + graphical nix-env could still be a win for users, especially around rollbacks/generations
<{^_^}> [nixpkgs] @tadfisher opened pull request #41498 → docker-machine-kvm2: init at 0.27.0 → https://git.io/vhRqd
<tilpner> gchristensen - That said, I don't *really* mind NixOS staying in a developer/devops niche
<samueldr> my opinion is not that it should be a focus, but to ensure nothing makes it impossible to then reach that goal
<inquisitiv3> Is there any pushback against making NixOS easier for the general public?
<gchristensen> yeah
YaZko has joined #nixos
<gchristensen> ^ to samueldr
<tilpner> inquisitiv3 - No pushback, just lack of pushforward
<samueldr> so, when implementing a feature, if it makes life harder to the non-nix-dev, maybe rethink it or document it well enough
<samueldr> yeah
<gchristensen> inquisitiv3: that question sounds like it has hidden motivation. can you say more about why you ask thath?
<inquisitiv3> gchristensen: If you read the discussion threads about Nix on Hacker News or Reddit there are sometimes discussions about elitism in the NixOS community. I'm just wondering if there are any substance to those claims. :)
<gchristensen> ah
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<gchristensen> what do you think?
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<__monty__> Wow, hard to imagine for me. There's a bunch of claims about the haskell community being elitist but I haven't seen any elitism there and I've seen even less here.
tzemanovic has joined #nixos
<gchristensen> one time is not all the times, but one time I remember we were described as elitist because we won't break the core rule that the /nix/store is immutable.
<inquisitiv3> I've yet to engage in the community deeply enough to form my own opinion. But so far you people have been an friendly bunch to me here in the IRC channel. :)
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<manveru> i think the community is very welcoming, but tends to be self-selecting for people that can code already, which might be seen as elitist too
<gchristensen> I think some people have an instinctual connection between "functional stuff that I don't understand yet" and elitism ... but I don't get that feeling, and I didn't know FP when I started, and barely know functional programming now
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<gchristensen> manveru is definitely right, there. the community is made up of people who were willing to learn how nixos works
tzemanovic has joined #nixos
<gchristensen> you won't get far without learning at least some
tzemanovic has quit [Remote host closed the connection]
<samueldr> (and part of it may be lack of resources to make bringup, bootstrapping and first steps easier)
<gchristensen> definitely!
<samueldr> as an example, I would like to help out people on some topics, but there are parts I haven't fully internalized that would stump me if I try to explain
<samueldr> e.g. derivations and their multiple flavours :)
<samueldr> uh, overrides*
<inquisitiv3> That feels ensuring! Thanks a lot for answering my questions :)
waleee has quit [Quit: WeeChat 2.1]
<inquisitiv3> Now, some more questions...
<gchristensen> ok but after this I hope you come help us make stuff better =)
<gchristensen> (I kid, of course)
<inquisitiv3> Haha
<gchristensen> I mean. I do hope that, but I'm not obligating you.
lnikkila has joined #nixos
<inquisitiv3> gchristensen: I understand :)
szicari has quit [Quit: Leaving.]
<manveru> nomen est omen :)
<inquisitiv3> I'm trying to decide if I should invest in Debian or in NixOS.
<inquisitiv3> And I'm trying to get to know the projects different ecosystems. They're a little different.
simukis has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @nico202 opened pull request #41499 → [WIP] julia 0.7 → https://git.io/vhRYr
<inquisitiv3> Do you know if there's work getting NixOS working on Chromebooks? I can only find two threads about in r/nixos, and no threads on Discource.
<gchristensen> hmm sphalerite ^
<inquisitiv3> Planning to get one for school, but don't want ChromeOS because of privacy reasons.
<gchristensen> get an aarch64 one for the best support
<sphalerite> get an intel one for the best support :p
<gchristensen> ^
<gchristensen> I thought they were all ARM :)
<sphalerite> thefloweringash[ also runs nixos on their chromebook and has some modules for the bootloader setup and stuff https://github.com/thefloweringash/kevin-nix
<sphalerite> (ARM chromebook)
<sphalerite> I really like my chromebook, but the biggest missing piece is still a full-featured graphical browser. I haven't managed to get chromium nor firefox compiled for it.
<Pneumaticat> When you get mentioned every time Kevin is written
<samueldr> for intel chromebooks, if other distros work, nixos should work about the same
<samueldr> it may be a reason why there's nothing about intel chromebooks :)
<inquisitiv3> sphalerite: Thanks! I'm reading the blog post that tilpner linked. Is the work you had to do necessary only for ARM Chromebooks?
hph^ has joined #nixos
<sphalerite> Pneumaticat: I get notifications for Linus on matrix, heh. Had to leave a bunch of channels because people talk about Mr Torvalds a lot
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41500 → urh: 2.0.4 -> 2.1.0 → https://git.io/vhROl
<sphalerite> inquisitiv3: a lot of it is specific to ARMv7 (32-bit-only) chromebooks, a 64-bit (aarch64) one will be a lot less of a fuss because it's a supported architecture
<gchristensen> at work I get pinged on every mention of 'nix' :')
<Pneumaticat> This is highly unfortunate :B
nschoe has quit [Quit: Leaving]
<inquisitiv3> sphalerite: I'll keep that in mind when I go looking for one. :)
<inquisitiv3> Thanks for the information!
asuryawanshi has quit [Ping timeout: 264 seconds]
<inquisitiv3> And lastly (for tonight). Is Libvirtd, QEMU and virt-manager available for NixOS? Can't find any clear information when I google.
<samueldr> I use it daily
<sphalerite> inquisitiv3: you could probably bootstrap an aarch64 thing a lot more easily since there's a prebuilt installer
<samueldr> I have a nixos vm in qemu for work related stuff
<inquisitiv3> samueldr: So you are running an VM (with e.g. Windows) using KVM on a host with NixOS?
<samueldr> both sides are nixos, but yes, using libvirtd, virt-manager and qemu
<Aleksejs> I'm still fighting with that binary. I've tried different openjdk versions but got the same error. I've noticed that this binary comes with /runtime/jre directory which contains libs. Can I somehow patch it to use that runtime?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<Aleksejs> also, can someone explain me what exactly steam-run does? Because it works perfectly with steam-run
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41501 → xpra: 2.3 -> 2.3.1 → https://git.io/vhR3R
<inquisitiv3> samueldr: Thanks! Sadly I got to run an Windows VM with iTunes and Amazons kindle app. :(
<samueldr> windows should work too :)
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41502 → wireless-regdb: 2018.05.09 -> 2018.05.31 → https://git.io/vhR30
<samueldr> it's bog standard qemu in that standard*
<inquisitiv3> "bog"? Do you mean "bug"?
<samueldr> Aleksejs: look into buildFHSUserEnv
<samueldr> > Utterly basic, ordinary, or standard; unremarkable, unexceptional, etc
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):42:14
<samueldr> though, I didn't know it was pejorative :/
<manveru> Aleksejs: steam-run basically runs your binary within a chroot that looks like a normal FHS
<inquisitiv3> samueldr: Thanks for the clarification :D
<samueldr> so, to clarivy, it's the normal virt-manager and the normal qemu
<samueldr> clarify*
<inquisitiv3> Good to know. :)
Guest51315 has joined #nixos
jbboehr has joined #nixos
<inquisitiv3> Is Nix-lang (or is it called Nix-exp?) the main development language for the distribution, or is it "just" for writing package recopies?
<samueldr> I think the name is the nix expression language
<samueldr> (from chapter 14 of its manual https://nixos.org/nix/manual/#ch-expression-language )
<gchristensen> inquisitiv3: it is used quite a lot through turning the packages in to the distribution
hiratara has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41342 → Fixes doc auto-formatting oopsies → https://git.io/vhc4t
<{^_^}> [nixpkgs] @xeji pushed 7 commits to master: https://git.io/vhR35
hiratara has joined #nixos
<inquisitiv3> gchristensen: I'll read up on that :)
<gchristensen> sure
<inquisitiv3> gchristensen, samueldr, tilpner, sphalerite: Thanks for all your answer! You've all been very helpful and welcoming :)
<gchristensen> and if it looks scary, its not a big deal and you probably don't need to understand it all to start.
<sphalerite> inquisitiv3: glad to hear it! That's the impression I had when I first started with nix as well :)
<gchristensen> :) <3
<{^_^}> [nix] @unsatcore opened pull request #2211 → tests: more robust check for user namespaces availability (canUseSand… → https://git.io/vhRsZ
seafood has joined #nixos
<{^_^}> [nixpkgs] @lo1tuma opened pull request #41503 → bat: support darwin → https://git.io/vhRsu
YaZko has quit [Quit: YaZko]
<{^_^}> [nixpkgs] @veprbl opened pull request #41504 → [18.03] cacert: fix certdata2pem url → https://git.io/vhRGk
knupfer has joined #nixos
i0-dfn has quit [Remote host closed the connection]
xcmw has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #41505 → gnuplot: 5.2.3 -> 5.2.4 → https://git.io/vhRGE
<PolarIntersect> hmm... I'm probably missing it somewhere in the manual, but is there a way to specify port ranges in allowedTCPPorts?
<PolarIntersect> or do I just need to iterate them manually?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41506 → xmr-stak: 2.4.3 -> 2.4.4 → https://git.io/vhRGr
<gchristensen> allowedTCPPortRanges
YaZko has joined #nixos
<PolarIntersect> Ah! Thank you, gchristensen <3
<gchristensen> you're welcome!
jtojnar_ has joined #nixos
<lluchs> I'm on nixos unstable and after a recent upgrade, OpenGL stopped working :(
<lluchs> Is there something new I'm missing in my configuration or so?
<lluchs> applications trying to use OpenGL print "libGL error: unable to load driver: i965_dri.so" in the console
<PolarIntersect> May need to manually set X11 graphics driver to intel?
<PolarIntersect> lluchs: ^
<PolarIntersect> (is a guess)
<lluchs> Hm, how do I do that?
<lluchs> I don't have anything related to graphics drivers in my configuration
jtojnar has quit [Ping timeout: 265 seconds]
jtojnar_ is now known as jtojnar
<PolarIntersect> Do you use bumblebeed or anything like that?
<lluchs> no, there's only the integrated Intel GPU
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41507 → snd: 18.3 -> 18.4 → https://git.io/vhRZJ
<PolarIntersect> cool
<PolarIntersect> one sec, looking it up
<lluchs> There's some information in the manual about using proprietary nvidia or AMD drivers, but nothing about Intel
<PolarIntersect> It's the services.xserver.videoDrivers setting
<PolarIntersect> It's an array of drivers to enable
<PolarIntersect> but I can't remember if it's 'intel' or 'i915' or something else
<lluchs> thanks, I'll try that
<PolarIntersect> tbh this should be there by default, I think
<PolarIntersect> so confused why it wouldn't be
<lluchs> it totally worked before by default, so yeah
<PolarIntersect> Okay, yeah, the value is 'intel'
<PolarIntersect> or - at least - it used to be? I can't find the hardcoded string in latest
sbdchd has joined #nixos
<lluchs> Hm, setting to intel doesn't seem to make a difference
<PolarIntersect> :'(
<PolarIntersect> What's the rest of your xserver config?
xy2_ has quit [Ping timeout: 256 seconds]
<lluchs> I'll open a bug report tomorrow and hope someone over on github knows
<PolarIntersect> :)
<lluchs> it's just enable/autorun/libinput/window managers, so really nothing related to graphics drivers
<PolarIntersect> Sorry I couldn't be more helpful! I hope it gets figured out :)
xcmw has quit [Ping timeout: 268 seconds]
<lluchs> thanks anyways!
<{^_^}> [nixpkgs] @xeji merged pull request #41344 → Fixes doc auto-formatting oopsies [18.03] → https://git.io/vhcBF
<{^_^}> [nixpkgs] @xeji pushed 7 commits to release-18.03: https://git.io/vhRZB
oida has quit [Remote host closed the connection]
oida has joined #nixos
sbdchd has quit [Ping timeout: 240 seconds]
nico202 has quit [Remote host closed the connection]
chessai has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/49a6964a425 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41508 → springLobby: 0.255 -> 0.264 → https://git.io/vhRZj
periklis has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #41509 → nixos/munge: run munge as user munge instead of root. → https://git.io/vhRnt
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41510 → sysstat: 11.7.3 -> 11.7.4 → https://git.io/vhRnq
blankhart has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vicgc opened pull request #41511 → Fixed nilfs2 fsck error at boot because its not needed bu the nilfs2 … → https://git.io/vhRnC
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
inquisitiv3 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji pushed commit from @veprbl to release-18.03 « cacert: fix certdata2pem url (#41504) »: https://git.io/vhRcF
<{^_^}> [nixpkgs] @xeji merged pull request #41504 → [18.03] cacert: fix certdata2pem url → https://git.io/vhRGk
sorixelle has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41512 → thermald: 1.7.1 -> 1.7.2 → https://git.io/vhRcj
sigmundv_ has quit [Quit: Leaving]
Have-Quick has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41355 → pythonPackages.pykdtree: init at 1.3.0 → https://git.io/vhCUW
<{^_^}> [nixpkgs] @xeji pushed commit from @Assassinkin to master « pythonPackages.pykdtree: init at 1.3.0 (#41355) »: https://git.io/vhRCV
Ariakenom has quit [Quit: Leaving]
logzet has quit [Remote host closed the connection]
tzemanovic has joined #nixos
hph^ has quit [Ping timeout: 240 seconds]
sigmundv__ has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
hellrazor has joined #nixos
<infinisil> Nix Quiz: Without checking, what has higher precedence, function application or the // operator?
* samueldr parens all the things
<samueldr> but without looking, iirc function call is the top one
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41513 → syncthing: 0.14.47 -> 0.14.48 → https://git.io/vhRCF
<infinisil> samueldr++
<{^_^}> samueldr's karma got increased to 2
<samueldr> see chapter 14 :)
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xeji> samueldr: karma can be swapped for PR merge points :)
<infinisil> > lib.optionalAttrs false { foo = null; } // { bar = null; }
<{^_^}> { bar = null; }
<infinisil> (If it were the other way around, the above would give {})
<samueldr> ah no, I thought it was at the top, it's second :/ top one is attribute selection
<infinisil> Ah yes
<Myrl-saki> Uhh, how do I enale cbc for ssh?
<Myrl-saki> failed with error: "Unable to negotiate with 173.255.219.222 port 22: no matching cipher found. Their offer: aes256-cbc,aes192-cbc,aes128-cbc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41514 → unetbootin: 657 -> 661 → https://git.io/vhRWT
codingkoi has joined #nixos
<infinisil> Myrl-saki: ssh -o "Ciphers +aes256-cbc" might do it
<infinisil> Something like that
<Myrl-saki> Yep, seems like that one worked. Thanks.
sanscoeur has quit [Ping timeout: 256 seconds]
<infinisil> :)
steell has quit [Ping timeout: 255 seconds]
periklis has quit [Read error: Connection reset by peer]
<codingkoi> Is there some obvious newbie reason why I can't install pycharm-professionl despite it appearing to be defined in jetbrains/default.nix?
<samueldr> ,unfree codingkoi
<{^_^}> codingkoi: You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<codingkoi> I have the unfree flag flipped
<codingkoi> let me double check
palo_ has joined #nixos
<samueldr> ah, that was an obvious reason though :)
<infinisil> codingkoi: And you'll need to use `nix-env -iA nixos.jetbrains.pycharm-professional`
<codingkoi> true :)
<samueldr> (and I verified first that it is an unfree package)
xeji has quit [Quit: WeeChat 2.0]
<infinisil> > :v pkgs
<{^_^}> pkgs = import <nixpkgs> { config = { allowUnfree = true; }; overlays = [(self: super: { foo = "1"; })]; }
<infinisil> > isfree = pkg: pkg.meta.license.free
<{^_^}> isfree defined
<infinisil> > isfree jetbrains.pycharm-professional
<{^_^}> false
<infinisil> A-ha!
palo has quit [Ping timeout: 248 seconds]
<codingkoi> so, nixpkgs.config.allowUnfree is set to true, and when I tried that command @infinisil suggested it returns immediately without any indication of having done anything.
<infinisil> codingkoi: Might it be installed already? You can check with nix-env -q
<samueldr> it may be starting with an uppercase?
<infinisil> Ah no then it wouldn't output nothing I think
<codingkoi> not already installed
<samueldr> codingkoi: just verifying, this is under nixos, another distro or macOS?
<infinisil> Ah you'll have to use ~/.config/nixpkgs/config.nix if you use the nix-env command to install it
blankhart has joined #nixos
<codingkoi> nixos
<samueldr> good
<samueldr> infinisil: you sure? I have no personal setting and unfree works
<samueldr> though, codingkoi, if you added it to your configuration.nix, did you rebuild afterward?
TonyTheLion has quit [Remote host closed the connection]
<infinisil> what's in configuration.nix doesn't affect nix-env in any case though
cheater has quit [Ping timeout: 256 seconds]
<codingkoi> yeah, that failed with a variable not defined error, I forget the exact message
<samueldr> :o, infinisil you're right
<samueldr> I must have forgotten I configured it
<codingkoi> So I guess I missed the part of the manual that mentioned ~/.config/nixpkgs/config.nix being a thing.
dbmikus has joined #nixos
Guest51315 has quit [Ping timeout: 248 seconds]
dbmikus_ has quit [Ping timeout: 264 seconds]
<infinisil> The manuals are pretty big!
cheater has joined #nixos
<codingkoi> Yeah, and I kinda feel bad it was in the FAQ :)
emmanuelrosa has left #nixos [#nixos]
dbmikus_ has joined #nixos
sorixelle has quit [Ping timeout: 265 seconds]
jperras has quit [Ping timeout: 264 seconds]
ericsagn1 has quit [Ping timeout: 256 seconds]
<codingkoi> Well, that was the problem. Thanks for the help.
dbmikus has quit [Ping timeout: 268 seconds]
<infinisil> :)
MP2E has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41515 → renpy: 6.99.14.3 -> 7.0.0 → https://git.io/vhR8U
onon has joined #nixos
jmiven has quit [Quit: co'o]
jmiven has joined #nixos
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
hamishmack has joined #nixos
codingkoi has quit [Quit: Leaving]
tzemanovic has quit [Remote host closed the connection]
cheater has quit [Ping timeout: 256 seconds]
tzemanovic has joined #nixos
ericsagn1 has joined #nixos
slack1256 has joined #nixos
woodson_ has joined #nixos
i0-dfn has joined #nixos
freeman42x[nix] has joined #nixos
__monty__ has quit [Quit: leaving]
ericsagn1 has quit [Ping timeout: 256 seconds]
tzemanovic has quit [Remote host closed the connection]
jperras has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
jackdk has joined #nixos
tzemanovic has joined #nixos
sbdchd has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #41516 → nixos/dhcpcd: add networking.dhcpcd.options to specify what to request from the DHCP server → https://git.io/vhRBX