<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfyA4
<keithy[m]>
ahh..
<amanjeev>
can someone recommend a good desktop environment that is much lighter than gnome?
<keithy[m]>
i3?
<energizer>
that's a window manager
<amanjeev>
jesus, i can never keep that straight
<energizer>
amanjeev: lxde
<energizer>
amanjeev: but that said, you dont actually need a desktop environment, you can just use a window manaegr
<{^_^}>
[nixpkgs] @mweinelt opened pull request #90000 → pythonPackages.spidev: init at 3.5 → https://git.io/JfyAu
<amanjeev>
thanks energizer
<amanjeev>
would it be good with multiple monitors?
thc202 has quit [Ping timeout: 256 seconds]
<amanjeev>
not sure if they are related
<energizer>
ive never used it, it just has a reputation for lightweight
<amanjeev>
ah i see
<sid`>
Hey! I'm having some trouble getting nixGL to work on NVIDIA 390.132 and Ubuntu 18.04. I've tried both the backported version and the master branch but `nixGLNvidia glxinfo` errors with "couldn't find RGB glx visual." I'm running headless with a Xvfb server, and glxinfo works outside of nix-shell
<amanjeev>
what do you use?
<energizer>
qtile wm
<amanjeev>
ah thanks! it is one of those tiling ones
<emilsp>
ok, know that alsa-firmware in master cross-compiles just fine, but the one in stable doesn't. How do I change my nixos config so that I can replace the alsa-firmware module/derivation with the one in stable?
lilpea has quit [Ping timeout: 256 seconds]
drakonis has quit [Ping timeout: 246 seconds]
<bellavito>
I'm trying out wireguard for the first time. I'll be grateful if anyone could share example configs.
joehh1_ has quit [Ping timeout: 260 seconds]
<bellavito>
client config mainly
<emilsp>
in wireguard, there are no clients or servers, only peers
AmandaC has quit [Ping timeout: 246 seconds]
<keithy[m]>
this way beyond me I am afraid
<bellavito>
Sorry, i meant client setup configs
<simpson>
keithy[m]: I don't know how to make it work with nix-env, but I've got nix-shell, virtualenv, and direnv all working together.
<simpson>
As usual, you're going to have a better time working within Nix rather than trying to hack things together in your user shell.
<keithy[m]>
brew is installing
<keithy[m]>
I only have 3 days
pamplemousse has quit [Ping timeout: 256 seconds]
<keithy[m]>
I would bety that as soon as I tried nix-shell I would have to use rust inside nix, and open another load of issues I cant fix.
<keithy[m]>
I am looking at a dylib file it is right there, and yet import doesnt work
<keithy[m]>
how hard can it be
<bellavito>
emilsp: Thank you very much. Exactly what i needed
<simpson>
For Python? You do *not* want to know. (PEP 302 is a good start if you change your mind.) Is this an extension module, using the C API? Or is it a shared object to be loaded with cffi (or ctypes, etc)?
orivej has joined #nixos
<keithy[m]>
rust managed to download and build everything, python cant ieven find a dylob
<keithy[m]>
I have no idea what it is
<simpson>
keithy[m]: Also, as usual, walk before running. If you have a working setup, and some sort of deadline looming, then don't feel pressured to change your setup. Be patient, take things slowly, and incrementally build up your new Nix environment.
<keithy[m]>
I cloned a git repo and did rustup and cargo build
<keithy[m]>
I think it was made with pyo3
<keithy[m]>
I have nevr had a working setup, I was on El Capitan
<keithy[m]>
and all the package managers broke
<keithy[m]>
Eventually managed to update to High Sierra, and thought, nix was better than brew.. so..
<keithy[m]>
I cant stand all this static language stuff
<keithy[m]>
I stopped building and compiling in 1993 I think it was.
<simpson>
It looks like `maturin` is packaged, although I don't know whether that helps. Looking at PyO3 it seems like either it should all just come together, or it all obviously shouldn't work at all. Not sure which.
<keithy[m]>
to be fair it looks pretty darn slick
<keithy[m]>
cant beleive it fell at loading the dylib
<simpson>
Python has a -v flag for printing out where modules are loaded from. Might be helpful. PYTHONPATH is worth considering as well.
<keithy[m]>
tried that and DYLD_
<simpson>
Regardless of which languages are used on either side of the C API, the actual linkage is C linkage, so typical shared-object debugging techniques will work.
drakonis_ has quit [Ping timeout: 256 seconds]
<keithy[m]>
I think I used C in 1986
orivej has quit [Ping timeout: 264 seconds]
<keithy[m]>
I hve the origina K&R
dsg has quit [Remote host closed the connection]
dsg has joined #nixos
<keithy[m]>
I am not seeing any directories mentioned with -v
drakonis_ has joined #nixos
<simpson>
Curious. I see lines like: import readline # dynamically loaded from /nix/store/bb3qs85kiq78rb6q2sdivannsch14b0f-python-2.7.18/lib/python2.7/lib-dynload/readline.so
<keithy[m]>
all hard coded to the nix/store
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 272 seconds]
eyenx[m] has quit [Remote host closed the connection]
<LevelChart8>
Very off-topic. What are the coolest games that run on NixOS? Any kind, MUD, FPS, whatever.
<LevelChart8>
Need something to let off steam now and then.
<ldlework>
When you have an overlay, the thing you assign to an attribute in the returned attrset is not a derivation right?
eyenx[m] has joined #nixos
<keithy[m]>
yay!
<keithy[m]>
the shared library was called libblah
<keithy[m]>
the import was blah
eyenx[m] has quit [Remote host closed the connection]
sid` has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
<keithy[m]>
renamed and it worked!
<simpson>
LevelChart8: cribbage from bsdgames is a classic way to wait for packages to compile. Doesn't require anything other than a keyboard and some careful thought.
<simpson>
keithy[m]: I don't know what to do with your sense of urgency. I don't know what you're working on, and I'm relatively sure that it's *your* deadline and not *our* deadline.
<keithy[m]>
its a programming competition I have no chance of winning
<keithy[m]>
well not true I have a great Idea
<admicos>
has anyone here managed to get microsoft python language server working via either vim (coc) or vscode? the microsoft python analyzer thing always blocks me because it's a prebuilt executable and i don't want to patch it manually every time
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<energizer>
LevelChart8: #nixos-chat for offtopic
orivej has joined #nixos
mtn has joined #nixos
LevelChart8 has quit [Ping timeout: 240 seconds]
<mtn>
Newbie question: if I want to install a package with a non-default setting, how can I do that?
<{^_^}>
[nixpkgs] @romildo opened pull request #90004 → buildenv: paths to link resolving to the same absolute path is not a conflict → https://git.io/Jfyxx
<mtn>
energizer: Ok so probably because I have an older version of nixpkgs (I'm pinning nixpkgs-20.03` in the `shell.nix`, when I search I don't see those, and when I run it I get the error: `error: cannot coerce a set to a string`
<mtn>
Is this what my input should look like? `py.pkgs.tensorflow_2.override { cudaSupport = true; }`
<euank>
colemickens: yes. flakes have a "evaluation cache", which means it's not just derivation outputs that are cached, but entire nix evaluations.
<euank>
Experimentally, fwiw, I found it to be faster for the equivilant of nix-shell and nix-build, but I also found out that with a slow enough filesystem and a local git repo flake, it could be slower because it ends up doing more git operations in certain cases
<euank>
(i.e. if your git repo is on a network filesystem and has a lot of files that were entirely ignored in the non-flake world, such as in a large monorepo)
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
lafrenierejm has joined #nixos
proofofkeags has joined #nixos
cript0nauta has joined #nixos
<kleisli>
ty jtojnar
hazel has joined #nixos
<hazel>
so I'm trying to use emacsGcc from the Emacs overlay on NixOS 20.03
<lafrenierejm>
Is there a trick to getting image mode support in Emacs? The only overrides I have are `withGTK2 = false` and `withGTK3 = true`, but images are opening only as garbled text.
<hazel>
how do I override this to pull from unstable for this package?
mtn has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<mtn>
I'm having trouble understanding a package installation is failing in my nix-shell. If I get pip installation errors, is that a bug in the derivation spec?
<hazel>
i want to change emacsUnstable to emacsGcc, but emacsGcc pulls from out of stable, basically.
<zeta_0>
greetings, when i attempted to install the emacs pkg `indium` from nixpkgs, this error was thrown in the terminal: https://dpaste.org/D5bH
cript0nauta has quit [Ping timeout: 246 seconds]
<euank>
I'd say your best bet is to layer two overlays in a row and hope that picks it up appropriately. Sec, I can see if it works
<hazel>
zeta_0 the server is down
<hazel>
gitea.petton.fr, that is, which is what that derivation pulls from
<hazel>
you'll have to wait for said server to go back up
<zeta_0>
hazel: ok, thanks, just making sure it didn't have something to do with nix, i guess i could post this as an issue in the pkgs github repo, so the maintainers of the pkg can get that server back up and running again
<euank>
where <unstable> is a reference to unstable nixpkgs (either from a channel or from fetching the url some other way
<euank>
I didn't double check it actually builds since it gets past the 'attribute missing' error, and that seems like a reasonable way to do it to me.
tertl3 has quit [Quit: Connection closed for inactivity]
zeta_0 has joined #nixos
skrzyp has quit [Ping timeout: 260 seconds]
<zeta_0>
when i did a rebuild, i got this error:
<zeta_0>
`OSError: [Errno 28] No space left on device
<zeta_0>
`
<zeta_0>
warning: error(s) occurred while switching to the new configuration
cript0nauta has joined #nixos
<zeta_0>
does that mean that i need to do some nix garbage collection to free up some space?
<evils>
most likely
<evils>
zeta_0: try `df -h /nix/store`
<euank>
does either `df` or `df -i` report a high percent usage for a filesystem, either the one /nix is on or the one it's applying the configuration from?
<evils>
zeta_0: can you show the part that threw the error?
<{^_^}>
[nix] @matthewbauer opened pull request #3677 → Prelink static libraries into an object file → https://git.io/JfSks
<zeta_0>
one second
<{^_^}>
[nix] @matthewbauer closed pull request #2698 → Add --whole-archive to include all store implementations (when BUILD_SHARED_LIBS=false) → https://git.io/fhbZb
<euank>
it's possible it ran out of space applying the change (i.e. creating symlinks on / if you use a diff fs for /nix and /), and you should also check `df -i` to make sure it's not inode exhaustion, which would also produce that error.
<zeta_0>
ldlework: 404 error, when i searched that link
orivej has joined #nixos
<ldlework>
repos private, i'll change it
<ldlework>
have to wait for my phone to charge, so i can get the auth code to last pass, so that I can get my password to github, so that I can login, which will also ask for authenticator code from my phone
<ldlework>
lol
bqv has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
<dfordvm>
Hi, I fixed an old PR few days back, and I think it is ready for merge, but got no resp from earlier reviewer. Here -> https://github.com/NixOS/nixpkgs/pull/60246
<{^_^}>
#60246 (by dfordivam, 1 year ago, open): nixos/modules/virtualization: Options to add an extra disk in virtualbox VM
<evils>
ldlework: damn security, always getting in the way :P
<ldlework>
more like energy density limitations of contemporary battery technology
* ldlework
shakes fist
leungbk has joined #nixos
lafrenierejm has quit [Remote host closed the connection]
bqv has quit [Ping timeout: 246 seconds]
cosimone has quit [Read error: Connection reset by peer]
<leungbk>
Would anyone mind merging my PR from several weeks ago? It had previously been approved in a review by a member, but since no one ever merged, I've wound up having to resolve the same merge conflict several times
<wedens[m]>
I have a non-NixOS machine that I can physically access. I'd like to prepare NixOS config in advance (from machine with NixOS) and create USB that can install this prepared config or just use USB as a binary cache during installation. how do I do that?
<{^_^}>
nixops#1189 (by cleverca22, 42 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
karantan has joined #nixos
<clever>
wedens[m]: if you boot the normal nixos usb image, you can then use steps 3&4 to copy a pre-built nixos to /mnt/nix/store and then install the bootloader
<wedens[m]>
clever: will it be `nix copy --to local?root=/mnt nix/store/hash-nixos` for copying from usb to the machine?
palo1 has joined #nixos
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
palo1 is now known as palo
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
bqv has joined #nixos
<clever>
wedens[m]: that would put it into the nix store in /, which might be tmpfs based, and run out of ram
<ldlework>
It's really annoying that tryEval doesn't let you receive the throw message
<clever>
wedens[m]: the example i linked goes over ssh, to copy from one machine into /mnt of a remote machine, and skip the tmpfs and usb entirely
<wedens[m]>
clever: I can't do that remotely, unfortunately. It's not in my network.
vandenoever has joined #nixos
<clever>
wedens[m]: youll have 2 options then, either use 2 usb sticks, or 1 stick that isnt based on the iso
user_0x58 has joined #nixos
<clever>
wedens[m]: if you do a normal nixos-install against the usb stick, then you can use `--to local?root=/mnt/` to add more store paths to the usb, like a 2nd build of nixos
user_0x58 has quit [Remote host closed the connection]
<clever>
wedens[m]: then you can use `--to local?root=/mnt` again when booted into that stick, to copy it to whatever drive is mounted to /mnt
<{^_^}>
[nixpkgs] @fps opened pull request #90019 → xonotic: fix a couple of bugs → https://git.io/JfStU
<wedens[m]>
clever: sorry, I don't understand this part "you can use `--to local?root=/mnt/` to add more store paths to the usb, like a 2nd build of nixos" is /mnt a usb mountpoint in this case?
<clever>
wedens[m]: first, install nixos to a usb stick mounted at /mnt like normal, then build a 2nd nixos (the final one) and use nix copy to add it to the usb stick
orivej has joined #nixos
<clever>
then boot that usb stick, format the target disk, and mount to /mnt, and use the same nix copy, to copy it to that final disk
<clever>
then you can use step 4 from the nixops issue, to install that storepath
AmandaC_ has quit [Read error: Connection reset by peer]
AmandaC has joined #nixos
kayg04 has quit [Quit: Ping timeout (120 seconds)]
<nixbitcoin>
srhb: I have to check if I can send it back if NixOS doesn't work, don't want to sit on a $ 3000 server.
<kenran>
Are there best practices for where to put all my nix files in a slightly bigger project? I had them all at top-level and now I put them into a ./nix dir. But if I do `nix-build nix/release.nix` now, all the paths still seem to be relative to where I call the command now
<srhb>
nixbitcoin: Maybe rent one in the cloud first, if possible. fwiw I've run NixOS of plenty of power edges.
ichweissnix has joined #nixos
<kenran>
Or is there an easy solution to that small problem?
<srhb>
kenran: Generally the paths are relative to the file in question, eg. nix/release.nix
<srhb>
kenran: (Unless you're doing something like basing everything off the root of the src by hand)
<nixbitcoin>
srhb: It's an AMD EPYC poweredge, I'll try to find it in the cloud. Has to be a bare-metal server though right, so NixOS doesn't get virtualized.
<kenran>
srhb: hum, then I must be doing something else wrong, let me check!
<kenran>
srhb: I don't quite get it yet, I'm sorry! in nix/release.nix I'm doing `import ./gitignore-source.nix`, where gitignore-source.nix is also inside the `nix` dir, and I'm getting a message that it's searching for the file at the project root.
turlando_ has joined #nixos
<kenran>
Am I not specifying a relative path to the file with `./gitignore-source.nix` after all?
turlando has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<srhb>
kenran: You are. Some other detail is missing. Maybe pastebin what you have :)
dingenskirchen has quit [Remote host closed the connection]
lsix has joined #nixos
<ichweissnix>
I have an old project that i would like to move over to nix, but they way it's setup makes it very difficult. There is "./myapprepo" and "./src_of_lib_app_depends_on" to build the project. Currently you need to place the "./src_of_lib_app_depends_on" by hand and i would like to use a nixshell to solve this. Ideally by dowloading the tarball into
<ichweissnix>
the nix store and symlinking into the current directory. Can this be done and are there any examples available? I know the proper way would be to depend on the compiled libraries and change the include paths to the nix store but it would be much easier to do this after getting nix to work.
dingenskirchen has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
marusich has quit [Quit: Leaving]
cr4y1 has quit [Remote host closed the connection]
cr4y1 has joined #nixos
phaebz has joined #nixos
turlando_ is now known as turlando
turlando has quit [Quit: Leaving]
turlando has joined #nixos
<ldlework>
How do see what versions are available for a package?
plutes has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
dermetfan has joined #nixos
<hpfr[m]>
how do I use override and overrideAttrs together
alp has quit [Ping timeout: 272 seconds]
<srhb>
hpfr[m]: (foo.override { ... }).overrideAttrs (oa: { ... }) -- or the other way around
<evax>
is there a way to force this sysctl variable off?
alp has joined #nixos
lambda-11235 has quit [Quit: Bye]
proofofkeags has quit [Ping timeout: 264 seconds]
ZaraChimera has quit [Quit: Going offline, see ya! (www.adiirc.com)]
bqv has quit [Remote host closed the connection]
<phaebz>
Trying to set up an environment variable via `environment.variables = { TEXMFHOME = "/path/to/user/texmf"; };` and then opening a new shell does not have that env var set.
<serokell_jonn>
ldlework: assuming a simple desktop / server setup, `nix-env -qaP ".*search.*regex.*"`. the result will have attribute paths that you can install with `-iA` flags. But hpfr[m]'s question is a good one. Nix makes infinite versions of each package available :)
<craige_>
Using the same `shell.nix` on two different machines, `vgo2nix` on one device appears to hang after a fair number of deps but on the other machines, complains it cannot write to the nix store. Anyone seen either of these behaviours with vgo2nix before?
<{^_^}>
[nixos-search] @garbas pushed to reload-on-channel-change « Reload search results on channel change »: https://git.io/JfSY2
<{^_^}>
[nixos-search] @garbas opened pull request #80 → Reload search results on channel change → https://git.io/JfSYw
<{^_^}>
[nixpkgs] @vcunat pushed 31 commits to staging-next: https://git.io/JfSYr
<lewo>
craige_: vgo2nix uses the current deps.nix file as cache. Do you have the same deps.nix file on both machines?
<craige_>
There is no deps nix. lewo - my expectation was that vgo2nix would create one?
bqv has quit [Ping timeout: 272 seconds]
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
bqv has joined #nixos
<craige_>
go.mod is the same on all machines (checked out git repo)
demize has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 opened pull request #90027 → nixos/redis: add redis group → https://git.io/JfSOo
<hpfr[m]>
so... fetchFromGitHub appears to ignore rev and follow the hash? shouldn't it warn if the hash doesn't match the rev hash?
dermetfan has quit [Ping timeout: 260 seconds]
<evils>
hpfr[m]: the sha256? that's used for nix's caching, it doesn't try to fetch the rev if it has a cache hit
m0rphism has joined #nixos
<hpfr[m]>
evils: I guess I'm just a user but that doesn't seem very intuitive, is the rev just for the name in the nix store then?
<hpfr[m]>
no that's version
<hpfr[m]>
what's even the point of rev if not to sanity check hashes which are unreadable
phaebz1 has quit [Ping timeout: 246 seconds]
<evils>
rev is the git revision it's getting, though it also accepts tags and branch names
kreyren has quit [Remote host closed the connection]
<evils>
the whole thing is a fixed output derivation, which requires you to state the hash of the output; if it already has an output with that hash it just reuses it
kreyren has joined #nixos
<evils>
,tofu hpfr[m]
<{^_^}>
hpfr[m]: 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. See: tofu-vim
<dramforever>
Hi, I have a pretty fresh installation and I'm getting messages like 'perl: warning: Setting locale failed.' https://dpaste.org/tabE whenever perl runs. Any idea how I can debug my locale config?
mounty has joined #nixos
nixbitcoin has quit [Ping timeout: 240 seconds]
skrzyp has joined #nixos
nixbitcoin has joined #nixos
<dramforever>
It's using a configuration I had for a while (stateVersion is 18.09) and I'm running it on nixos-unstable. I found some stuff about glibc incompatibilities but I can't see why it could apply
<jco>
is it possible to generate a docker file from the nix description?
szicari has quit [Ping timeout: 260 seconds]
<jco>
i'm looking to deploy to a server this docker image with gitlab-ci
<adisbladis>
jco: No, it's not possible.
<romildo>
I have a PR targeting the staging branch in nixpkgs. The commit was created locally targeting master. After upstream submission it was changed to target the staging branch. Now I want to force push the commit after a fix I have done locally.
<dramforever>
nix doesn't use docker when building images so there isn't a dockerfile to be generated
<romildo>
Can the forced push be done in this scenario, or should something else be done?
<sheepfle1ce>
Hello! How can I make lorri respect builtins.filterSource? Or am I doing something wrong? I want to rebuild my environment only when .cabal file changes, so I wrote this https://paste.debian.net/1151317/, however lorri needs to be explicitly restarted for a new environment to be evaluated.
<dramforever>
Anyway, that minor locale thing aside (it doesn't seem to affect anything), I just want to thank NixOS another time for god knows how long I've saved by setting up a new computer with an existing configuration
<manveru>
it should probably include common flags there
bqv has joined #nixos
<jakobrs>
perhaps
<jakobrs>
These are the main reasons I sometimes use nix-build instead of nix build
<manveru>
yep
<manveru>
i tend to not use `nix build` at all... just doesn't seem to give me anything over `nix-build`
<jakobrs>
On the other hand `nix build --no-net` is something I would like to have "backported" into nix-build
<kandinski>
Can someone point me to how to override a kernel build? I have a not-yet-supported dongle I think I have a good patch for, and I'd like to package it so I can share the build among different NixOS machines.
<kandinski>
and maybe follow `12.2. Developing kernel modules` for actually testing the module before moving on to a boot.kernelPatches line in my /etc/nixos/configuration.nix
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kandinski>
thanks folks, I'll start here.
mchasard has quit [Ping timeout: 260 seconds]
liminal18 has joined #nixos
<liminal18>
hey folks, does anyone know if mongodb version 4.2 is available as a package? I've been trying to hack the existing mongo 4_0 package, but 4_2 requires python 35 and some other changes I don't know how to do yet.
<liminal18>
I did manage to change the python version to 35 etc., but my build is still failing
<jakobrs>
I couldn't find any package called opengl or similar.
EatThem has joined #nixos
EatThem has quit [Client Quit]
<infinisil>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<infinisil>
jakobrs: ^
<jakobrs>
I don't know what the files are called though
<jakobrs>
Right now I just found libGL and am hoping it's the right package
<{^_^}>
[nixos-search] @garbas pushed to fix-hydra-job-link « fix channel options prefix for releases »: https://git.io/JfS8X
mchasard has quit [Quit: Konversation terminated!]
Chiliparrot has joined #nixos
mchasard has joined #nixos
<mchasard>
hi i have some troubles with sounds video with xfce
mchasard has quit [Client Quit]
magnetophon has quit [Read error: Connection reset by peer]
jakobrs has left #nixos ["WeeChat 2.7.1"]
magnetophon has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
EsperLily has quit [Remote host closed the connection]
<kenran>
srhb: sorry, I found the error immediately after having eaten something :)
<kenran>
Another question though: I'm using pkgs.haskellPackages.shellFor to create a shell for all my Haskell packages. But now `lorri` seems to be rebuilding a lot for changes that should not matter due to gitignoreSource. How can I find out where the ignored sources cmoe back into play?
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
<kenran>
Is it possible, that `shellFor` has an implicit `src = ./.` somewhere?
<sheepfle2ce>
Sorry for reposting, however I still wonder whether I can do it better. I want to map over each file in a ./home directory append dot to it and then ask home-manager to link everything into my $HOME. Because now I have to do everything manually like so (which isn't that bad, but annoying) https://paste.debian.net/1151342/
<nixbitcoin>
This is probably super simple, but how can I do optionalString with an option that doesn't exist and handle that case the same way as if the optional were false?
<nixbitcoin>
*as if the option
<NobbZ[m]>
sheepfle2ce: Have you tried `builtins.readDir`?
<zimbatm>
nixbitcoin: lib.optionalString (attrs.foo or false) "my string"
somerand0m[m]1 has joined #nixos
<sheepfle2ce>
No, I haven't, thank you!
heinrich5991_ has joined #nixos
farn_ has joined #nixos
dxtr[m]1 has joined #nixos
tokudan_ has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
zupo has joined #nixos
Supersonic112 is now known as Supersonic
<sheepfle2ce>
It seems to be returning a set, which is fine, however I still don't know how to map over it.
commandocrypto1 has quit [Ping timeout: 260 seconds]
nlofaro_ has joined #nixos
sheepfle1ce has quit [Quit: Lost terminal]
armin_ has joined #nixos
<NobbZ[m]>
`lib.attrsets.mapAttrs*`?
vykook[m]1 has joined #nixos
lilpea has joined #nixos
<NobbZ[m]>
You need to look those up in the manual, I do never remember which of those does what…
amir__ has joined #nixos
kloenk_ has joined #nixos
MarkRBM_ has joined #nixos
doomlist3 has joined #nixos
Nikita has joined #nixos
Nikita is now known as Guest86906
Luigi[m]1 has joined #nixos
<nixbitcoin>
zimbatm: Works like a charm, thank you.
LevelChart8 has joined #nixos
NemesisD__ has joined #nixos
nh2_ has joined #nixos
farn has quit [Ping timeout: 256 seconds]
somerand0m[m] has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @fabianhauser opened pull request #90051 → hamster-time-tracker: init at 3.0.2 → https://git.io/JfSzB
klntsky has joined #nixos
thc202 has joined #nixos
dermetfan has joined #nixos
shazow[m] has joined #nixos
M3DPACTE[m] has joined #nixos
janneke_ is now known as janneke
djbeau has quit [Remote host closed the connection]
codygman has quit [Ping timeout: 264 seconds]
MarkRBM has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
simpson has joined #nixos
reanimus has joined #nixos
jakobrs has joined #nixos
MarkRBM has joined #nixos
karantan has quit [Ping timeout: 246 seconds]
<jakobrs>
I'm trying to build a dotnet package (using buildDotnetPackage), and it errors. Googling the error,
<jakobrs>
it seems that the error is related to using an old version of the microsoft toolchain.
cryptix has joined #nixos
fooker has joined #nixos
dingenskirchen has joined #nixos
gustavderdrache has joined #nixos
<jakobrs>
The version of xbuild appears to be from 2013.
dingenskirchen is now known as 874AAIOJ9
shu9[m] has joined #nixos
dingenskirchen has joined #nixos
drewr has joined #nixos
mbrgm has joined #nixos
mumuluxi_ has joined #nixos
bennofs[m] has joined #nixos
gmr has joined #nixos
blindidiotgod has joined #nixos
Jonas[m]2 has joined #nixos
AberDerBart[m] has joined #nixos
mkfart[m] has joined #nixos
philipp[m]2 has joined #nixos
goibhniu has joined #nixos
aterius has joined #nixos
TobiasKratzlitsc has joined #nixos
contrun has joined #nixos
nikivi has quit [Read error: Connection timed out]
<jakobrs>
Is there a way to use a newer version of dotnet/xbuild/msbuild/etc?
gerschtli has joined #nixos
shu9[m] has joined #nixos
shu9[m] has quit [Changing host]
nikivi has joined #nixos
<cryptix>
Hi! I’m having trouble rebuilding my system using nixos-enter from the live install system (broken my bootloader) I can get my file systems and enter the chroot but when I run “nixos-rebuild switch” I get “writing to file: Operation not permitted” ... any clues what to do? I searched issues but only found something on Debian about user namespaces but this is on the nixos installer and nixos-enter worked fine AFAICT
<cryptix>
System has not booted with systemd as I it system (pid1). can’t operate. Failed to connect to bus: Host is down
<cryptix>
This is at the top of Nixos-rebuild switch, not sure if it’s critical or related:
<dminuoso>
What additional guard could I put into place, to ensure a user nix-shell's into my shell.nix before running nixops?
doomlist3 has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
<dminuoso>
One thing I personally did, was getting a raw `nixops` into muscle memory, so that the deployment target needs to be set via environment variable, handled by shell.nix - but that's only good if people adopt that sytle
proofofkeags has joined #nixos
drewr has quit [Quit: brb]
drakonis has joined #nixos
ToxicFrog has quit [Remote host closed the connection]
drewr has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
drakonis1 has joined #nixos
ToxicFrog has joined #nixos
codygman has joined #nixos
emmanuelrosa[m] has joined #nixos
klntsky has quit [Ping timeout: 240 seconds]
whatisRT has joined #nixos
bvdw has quit [Remote host closed the connection]
<urkk>
Can I keep the .git directory with fetchGit? leaveDotGit is not supported
<dminuoso>
clever: And that's not customizable? Im in the spot where I need to accumulate addresses from multiple nodes. Now I could of course filter and map, but it'd be nicer if I could control that.
<clever>
dminuoso: nixops puts all nodes into /etc/hosts automatically
<clever>
dminuoso: but you can also mapAttrs over nodes
<dminuoso>
Sure I dont mind that, I guess its just a minor inconvenience.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
clever: Are there good reasons not to parametrize my expressions? I have such common configuration things, that don't belong into either really..
<dminuoso>
(Placing it into one node, and referencing it from all other nodes is just weird and arbitrary)
cosimone has quit [Quit: Quit.]
<dminuoso>
Id much rather have some `{ commonConfig }: { pkgs, config, ...}: ...`
cosimone has joined #nixos
growpotkin has joined #nixos
<regnat>
dminuoso: If you just want to share the config, you can simply import the same module from all your machines
<dminuoso>
I recall there was some good reason why you shouldn't do that.
<{^_^}>
[nixpkgs] @aszlig opened pull request #90064 → Backport of nixpart0 fixes against glibc >= 2.28 → https://git.io/JfSoz
Guest23599 has joined #nixos
<Guest23599>
ciao
<simpson>
Not really, but also yes? They're pre-parameterized on pkgs, config, and probably something else. I think that it's possible to override that calling convention and add arbitrary parameters, which might break modules that don't have a `...`
<dminuoso>
Then you can just write: { config, lib, pkgs, mod, ... }: {imports = [(mod "foo.nix")]; ...}
wrunt has joined #nixos
<dminuoso>
Although no, that wont do.
<dminuoso>
I dont like this. :(
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<clever>
the imports list cant depend on anything that comes from config, including extra arguments added via another module
dramforever has joined #nixos
<simpson>
dminuoso: Ah, that's a slightly different question: Ought modules to be able to parameterize *each other*? IOW ought modules be able to dynamically request each other, rather than just statically enumerating what they depend upon or incorporate?
justanotheruser has joined #nixos
<dminuoso>
simpson: Well rather in the sense of `imports [{ module = "foo.nix"; args = { foo = "bar"; }]` given some ` { foo }: { config, pkgs, ... }: ...`
vidbina has quit [Ping timeout: 264 seconds]
<dminuoso>
The idiom here would be to keep some flags in the module and then fill your code with mkIfs.
<simpson>
Hm. What would be a good usecase for this? While painful, usually only `foo = "bar";` and `foo = "baz";` are legal, and so splitting into foo/bar.nix and foo/baz.nix can be a good one-time thing to do.
<{^_^}>
[docker] @domenkozar pushed to fix-certs « add a regression test »: https://git.io/JfSoN
<{^_^}>
[docker] @domenkozar opened pull request #22 → add a regression test → https://git.io/JfSoA
kenran_ has joined #nixos
<betaboon>
I'm trying to use poetry2nix.mkPoetryEnv in a shell.nix to create a development-shell but the shell only includes python and the dependencies (as is documented) but i want to run the developed code in there. what am i missing? OO
justanotheruser has quit [Ping timeout: 272 seconds]
<urkk>
attribute src.rev works fine, but src.ref is missing when used in patchPhase (with fetchGit)
<Ericson2314>
clever: and how does one get the public key hash in the right format?
<Ericson2314>
(or plain public key, whatever is used for trusted-public-key)
<clever>
Ericson2314: the tool to generate the keypair, creates a file with the public key in the right format, and you just copy/paste
<hexa->
whats up with channel bumps? there haven't been any in 6 days
<alexarice[m]1>
hexa-: status.nixos.org is broken I think
<alexarice[m]1>
channels have been updating
<evils>
yea, the age shown there is messed up, 20.03-small just updated
<hexa->
oh ok
<hexa->
indeed, I'm blind
codygman has quit [Ping timeout: 246 seconds]
codygman has joined #nixos
<evils>
LnL mentioned on a github issue that the scraper that collects that metric gets stuck, no idea why though
<LnL>
huh, did it get stuck again?
* gchristensen
is *pretty* sure he managed to deploy lnl's fix , but can't look for the next 1h
philr_ has quit [Ping timeout: 240 seconds]
<evils>
LnL: it's been stuck more often than not for months... (the status.nixos.org reported channel age, not the channels building)
<gchristensen>
that is a bit of an exageration I think :P
<LnL>
I know, but did something that I was expecting would fix it
<gchristensen>
but maybe you could fix it, evils
<LnL>
gchristensen: well we found a bug with my changes so _pretty_ sure it was applied :)
<gchristensen>
right
<avaq>
I've been reading along as clever and dminuoso discussed config modularization, and I really want to show them my nixops config, where I feel I achieved a really nice structure. However, I'm afraid that open-sourcing it will open up too many details of my network, making it easier to attack.
<evils>
gchristensen: i know nothing about that infrastructure, or even how to gain knowledge about it
<LnL>
gchristensen: if you could run lsof -p whenever you have time that might give some insight
<{^_^}>
#89376 (by jonringer, 1 week ago, merged): python3Packages: fix a bunch of broken packages
<evanjs>
now, do I fix it so the PR I was about to open actually passes nixpkgs-review? bahhh
<betawaffle>
is there something like `builtins.filterSource` where i can just specify explicitly all the files i want included, rather than defining a function to match them?
<evils>
evanjs: python38.pkgs.testfixtures fails from master, previously failing failures shouldn't stop you from submitting a PR
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<evanjs>
evils: good point. thanks!
<evanjs>
I tend to tangent _really_ easily. Just a simple "don't do that" seriously helps :D
<rooke>
Playing with flakes at the moment and am struggling to get a local go package to build. At first I struggled to find buildGoModule, but eventually got this flake.nix which seems to find everything: https://gist.github.com/erooke/59cf888eb950b8fb4424b8f8e7d9cb32
<rooke>
It throws this error on `nix build` however: error: lock file '/nix/store/j885j2zwwnc153ibqjz3abihkqvyx9rg-source//flake.lock' has unsupported version 6
<cole-h>
hazel: You might be interested in `man home-configuration.nix`, where you can search for `xdg\.` to see all the available xdg options.
<cole-h>
Additionally, there is also #home-manager :)
nschoe has joined #nixos
<steveeJ>
how bad is this? `error: executing SQLite query 'select present, namePart, url, compression, fileHash, fileSize, narHash, narSize, refs, deriver, sigs, ca from NARs where cache = ? and hashPart = ? and ((present = 0 and timestamp > ?) or (present = 1 and timestamp > ?))': database disk image is malformed (in '/root/.cache/nix/binary-cache-v6.sqlite')`
<cole-h>
I'd imagine Documents is being created because you're escaping H instead of $
<cole-h>
Also, there's a chance it's some other software that doesn't respect XDG_*
<cole-h>
I think it was Firefox that always creates ~/Downloads or ~/Desktop -- so if you're using that...
<exarkun>
should I be concerned about seeing a bunch of "xfs filesystem being remounted at /nix/store supports timestamps until 2038 (0x7fffffff)" messages in my system log
<elvishjerricco>
steveeJ: Not bad. You can just delete that sqlite file. It's just a cache to help Nix avoid pinging binary caches for the same derivations all the time.
<steveeJ>
thanks elvishjerricco. I dared to do that in the meantime but it came back. I guess the issue is somewhere else
<elvishjerricco>
exarkun: I don't know the details of how it works but I do know that the nix-daemon does a bunch of mount trickery to keep the store readonly for most of the OS while allowing builders to write their outputs. You may be having some kind of issue with those inner-workings
kim0 has quit [Quit: Connection closed for inactivity]
<exarkun>
elvishjerricco: thanks. sounds like it's probably normal and maybe me interrupting this build over and over is the only reason it has appeared so many times in such a short period.
hazel has joined #nixos
<steveeJ>
elvishjerricco: it did help after I removed the cache db in `/root` instead of `~` ;-)
<elvishjerricco>
steveeJ: Ah, good
<exarkun>
after I restarted the job enough times it finished :/ -vvvv showed me it was waiting on hydra downloads sometimes, probably because my network sucks
<exarkun>
I have a system test that involves logging in to a system w/ ssh. I tried to give the ssh client a key to use w/ -i and a nix store path ... of course this fails because ssh doesn't limit permissions on key in the nix store path. anyone have suggestions for dealing with this? I could copy the file out of the nix store to some temp path and fix the permissions, probably ... not exactly sure what temp paths
<exarkun>
are available in a system test though
<exarkun>
and by "system test" I mean <nixpkgs/nixos/tests/make-test.nix>
<elvishjerricco>
exarkun: You could copy the file into `$NIX_BUILD_TOP`, right?
<exarkun>
I can try! :)
<eyJhb>
b42: How can I turn that into a string of "true" or "false" ?
<eyJhb>
toString I guess
troydm has quit [Ping timeout: 258 seconds]
kmein has quit [Ping timeout: 258 seconds]
kmein has joined #nixos
<exarkun>
Hm not sure NIX_BUILD_TOP will make sense because ssh gets run in one of the VMs, I guess NIX_BUILD_TOP is a path on the build host. But since the command runs in a VM I guess I could just use /tmp
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
troydm has joined #nixos
<exarkun>
yea that seems alright
<exarkun>
maybe I could do something different after I port my tests from the perl driver to the python driver
<exarkun>
since I am much less reluctant to write non-trivial python than non-trivial perl :)
<tyrion-mx>
Hola, I am trying to use an usb ethernet adapter with nixos. It works for a couple of minutes and then stops (it works fine on ubuntu and osx). This is the output of dmesg: https://pastebin.com/rvRRK28E something is obviously crashing but I have no idea what is wrong. If anybody could give a look it'd be awesome. Thanks
<MtotheM>
Hey, I'm new to nixOS. how exactly does `nix search` work? when i do `nix search <program>` it just hangs forever.
<cole-h>
It shouldn't hang forever. It will take a while for the first time because it has to build a database of all the packages IIRC
dermetfan has joined #nixos
<MtotheM>
oh i see, it's just super slow?
virus_dave has joined #nixos
<cole-h>
I think I've heard of it taking 20 minutes on some machines, depending on how fast your processor and storage are. So really, I'd just wait it out.
<cole-h>
But obviously you would know better than I what is unreasonably slow
<MtotheM>
Thanks, i thought the system might be broken or something.
<cole-h>
You could also watch it in top/htop/whatever you like and see if it's actually consuming CPU/RAM
magnetophon has quit [Read error: Connection reset by peer]
<cixel>
also noob question: i've noticed a couple of cases so far where an attribute name in nix-pkgs is locked to a specific version of a package, rather than the latest version. so lldb is locked to lldb 7.something, and for latest i'd need to specifically get pkgs.lldb_10. is there a reason why the 'naked' attribute doesn't just track the latest major
<cixel>
version?
<MtotheM>
just finished now after 13min. that's good.
<cransom>
there's `requiredSystemFeatures`, is there a also something like a `forbiddenSystemFeatures` or a way to replicate that behavior?
magnetophon has joined #nixos
<simpson>
cixel: In those cases, the upstream package has many major versions and many downstream packages are developed against only one specific major version. This happens at all levels, with everything from Python to Qt to GCC.
alp has joined #nixos
<MtotheM>
I know it's an OCD thing. but can you choose to exclude programs that come in the base? such as nano and sddm?
virus_dave has quit [Quit: virus_dave]
magnetophon has quit [Read error: Connection reset by peer]
<simpson>
sddm isn't in any base/core/standard layout; if you have it, then it's because you explicitly asked for it in NixOS configuration. And yeah, some stuff does need PATH, and that's life. We don't build a whole /usr or anything.
<cixel>
simpson: treating major versions as entirely different packages makes total sense to me, but it seems like a package where this is likely to happen would have an attribute per major version + an attribute that kinda aliases the most recent major
<simpson>
cixel: That approach might not work cleanly for something like Python; we have `python36Packages`, `pypyPackages`, etc.
<simpson>
But yeah, I see your point. There's *got* to be a better way~
asymptotically has joined #nixos
time_unavailable has joined #nixos
<eyJhb>
This might be a stupid question, but how can I get a list of attrs, to end up being a attrs of attrs? e.g. [ { name = "foo"; something = "bar"; } ] -> foo = {"something" = "bar"}
gustavderdrache has quit [Ping timeout: 265 seconds]
<symphorien>
> lib.genAttrs
<{^_^}>
<LAMBDA>
<symphorien>
iirc
magnetophon has quit [Read error: Connection reset by peer]
<symphorien>
> lib.genAttrs [ { name = "foo"; value = "bar" } ]
<{^_^}>
error: syntax error, unexpected '}', expecting ';', at (string):315:46
<eyJhb>
> v:lib.genAttrs
<{^_^}>
"v:lib.genAttrs"
<eyJhb>
DAM YOU!
<symphorien>
> lib.genAttrs [ { name = "foo"; value = "bar"; } ]
<cixel>
simpson: lol, i recognize I'm sorta making aimless suggestions. in the case i was dealing with it just seemed like pinning the 'naked' attribute to a specific version was just a measure meant to avoid breaking things which had started to depend on that specific version because when that attribute was released it wasn't also released with an
<cixel>
attribute specific to that major version. but yeah it's probably more complicated than that. thanks for the input.
<time_unavailable>
symphorien: It is already appended to /etc/dbus-1/system.conf as an includeDir and I would like to change or modify what gets set by the package
<symphorien>
then override the package to patch it
<eyJhb>
symphorien: not sure I can use it, as I cannot give it what you specified above, as far as I can see
<eyJhb>
But I might not be good enough at Nix
dramforever has joined #nixos
<eyJhb>
Then I would need to split the string or something, which I have no clue if is ugly
xeu has quit [Changing host]
xeu has joined #nixos
<evanjs>
Soooo are the virtual machien disk images defaulted to dynamic disks? Like... I should be able to create a 1TB VM on a computer with 100GB of space remaining?
<evanjs>
Currently trying to create a VMDK and it is stalling when specifying something like 100+ GiB (default is 50GB)
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfSSQ
Yaniel has quit [Ping timeout: 256 seconds]
ncakerlist has quit [Ping timeout: 260 seconds]
magnetophon has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
phaebz has joined #nixos
mananamenos has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
leungbk has joined #nixos
time_unavailable has quit [Remote host closed the connection]
magnetophon has joined #nixos
slack1256 has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<eyJhb>
New problem, how can I loop the keys of a attrset? e.g. I have a options.{key1,key2,key3,...,keyN}.enable = true, where I do not know the keys name, etc. I just need to get a value of the attrsset
magnetophon has joined #nixos
<eyJhb>
Nvm. again
<eyJhb>
`lib.attrsets.attrVals` :)
<MtotheM>
I'm assuming the objects like 'time' have a bunch of members outside of the default suggestions. but where can i find that specific documentation?
<{^_^}>
[nixpkgs] @mmlb opened pull request #90087 → pythonPackages.srvlookup: init at 2.0.0 → https://git.io/JfS9B
<MtotheM>
When i search i only find the general docs
leungbk has quit [Ping timeout: 260 seconds]
EsperLily has joined #nixos
asymptotically has quit [Quit: Leaving]
<phaebz>
What is the recommended approach to set TeXLive environment variables for a given user? I tried with `environment.variables.TEXMFHOME = "/path/to/texmf";` in configuration.nix, but that does not work for me.
mananamenos has quit [Ping timeout: 264 seconds]
KindOne has quit [Ping timeout: 258 seconds]
erasmas has quit [Read error: Connection reset by peer]
user_0x58 has quit [Ping timeout: 256 seconds]
cript0nauta has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<evanjs>
MtotheM: I can't remember all the cases, but at the very least, if you're on e.g. darwin, you'll want to use nixpkgs, and if you're on nixos, you can use nixos
<MtotheM>
another quick question. when i declare packages in my config. it doesn't want to accept `nixos.<program>` but just mentioning the program works. how can i tell which one it will take?
<infinisil>
MtotheM: Asking again, can you show the code?
never_released has quit [Ping timeout: 260 seconds]
waleee-cl has joined #nixos
dramforever__ is now known as dramforever
<MtotheM>
I can't right now sorry. I'll ask again some other time if I can't figure it out. it's on a laptop without networking
<dramforever>
MtotheM: Context matters, whether it's on the command line or in Nix code makes a difference
<MtotheM>
there is the list 'systemPackages' that's the only way to declare packages i know about so far. apart from the desktop section
<dramforever>
That's within Nix code
<MtotheM>
xserver*
<dramforever>
packages are passed around as values in the nix language
Notkea[m] has left #nixos ["User left"]
<dramforever>
There's nothing special about names in the list, they are just ways to refer to the derivations, which are pretty much just values. They could have been stuff like (pkgs.callPackages ./random-stuff {}) or (lib.hiPrio stuff)
<dramforever>
i.e. any expression that evals to a derivation is also fine
vandenoever has quit [Ping timeout: 240 seconds]
glittershark has quit [Quit: ZNC 1.7.5 - https://znc.in]
lsix has quit [Quit: WeeChat 2.8]
glittershark has joined #nixos
<dramforever>
When you use names like nixpkgs.hello with nix-env or nix the program (basically) first find the package set identified by the first component, then finds hello in that package set
glittershark has quit [Client Quit]
glittershark_ has joined #nixos
sbetrium has joined #nixos
<dramforever>
In configuration.nix that package set is passed into your module as pkgs, and (with A; E) means 'whenever there's a variable E that's not defined, find it in A'
glittershark_ is now known as glittershark
<dramforever>
You can play around with stuff using nix repl. It's fantastic
gustavderdrache has quit [Quit: Leaving.]
<dramforever>
*variable in E
magnetophon has joined #nixos
__monty__ has quit [Quit: leaving]
chloekek has quit [Ping timeout: 256 seconds]
dkjii has joined #nixos
<dkjii>
hey, how does nix bootstrap itself when building from source? From what I understand, nix usess its own tools in /nix/store to build, but if starting from an existing os, how does it find the packages it needs to compile and bootstrap gcc & al?
<dmj`>
I have two derivations (same hash) on two different ubuntu machines, they are both building `node-sass`. One fails, the other does not. One is trying to call `node` on `node-gyp.js` that is located in the `/build` directory (fails) and another in the `/tmp` directory. How can these two derivations be different?