<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
<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
<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
<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
<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]
<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
<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>
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
<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
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
<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
<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
<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
<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>
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:
<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'
<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>
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>
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]
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
<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
<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
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?
<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>
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]
<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?
__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 :)
<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
<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?
<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.
<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
<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?
<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
<{^_^}>
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
<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
<{^_^}>
[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
<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?
<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 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
<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?
<{^_^}>
[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.
<{^_^}>
[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?
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...
<{^_^}>
[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?
<{^_^}>
[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 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?
<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.
<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
<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
<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
<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.
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