Conversation
|
@GrahamcOfBorg eval |
|
I've checked the error on my local, here is what I found out the file I'm trying to add a debug statement to see where the null byte is encountered. |
|
I've found 2 previous attempt and one person suggested a solution second attempt is older and just like mine so far I'm trying the fix documented in the first link. In bash 5 the behavior of |
pkgs/stdenv/generic/setup.sh
Outdated
There was a problem hiding this comment.
Isn't this covered by line 13?
There was a problem hiding this comment.
that is a leftover from my debugging. Sorry for leaving that!
For some reason I can't get it to work with NIX_DEBUG, so I just forcefully added it.
My bad. Removing it from the commit
I'm under fish shell and just doing
env NIX_DEBUG=10 nix-build ...
doesn't work. When I try to echo NIX_DEBUG in setup.sh it exits with an unbound variable error. Maybe the way to enable NIX_DEBUG is with the -vvv flag. I have to say I don't know here.
|
The next two errors are test errors while building nix. it only took 19h on my machine to build. Here are the problematic files I can't see anything problematic in those files. My initial guess is to try to build with |
e0a26bd to
96974fe
Compare
python3Packages.b2sdk: 1.9.0 -> 1.11.0
From within the sandbox, it couldn't be possible to do HTTP requests so we need to make `node-gyp` aware of local `nodejs` and use header files out of it instead of attempt to download it and fail.
The `profile` parameter in `buildFHSUserEnv` is used to create an /etc/profile file which should be sourced by bash. However, the default runScript is a non-login bash which does not source /etc/profile. Therefore the conda package breaks, as a script which is required for `conda activate`, is not sourced. Also the installationPath parameter is ignored as it is setup in the /etc/profile file.
|
I think you just rebased off master instead of staging 🙂 |
|
Yes :-) |
|
Recreated the PR leaving bash_4 around Sorry about messing up the branch and notifying half of the world. |
Motivation for this change
This is just a test to see if defaulting to bash 5 and removing old bash 4.4 works properly.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)