Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Recently, we made it harder for external code to use some stdenv-only bash
variables by unsetting them in
nixpkgs/pkgs/stdenv/generic/setup.sh
Lines 574 to 578 in 9d3911f
withPackages
was sourcing somesetup hooks in
nixpkgs/pkgs/development/interpreters/lua-5/wrapper.nix
Lines 23 to 27 in 9d3911f
I say great! We caught something bad: Lua should use normal dependencies, even
though that is harder with
buildEnv
. Now it works that way, and everything isfine.
CC @matthewbauer
Fixes #73887
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @