-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
stdenv.mkDerivation: inputDerivation: fix for __structuredAttrs = true #368226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdenv.mkDerivation: inputDerivation: fix for __structuredAttrs = true #368226
Conversation
|
wolfgangwalther
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
OfBorg failed to build |
|
Basically flat on performance. |
Supposedly NixOS#368226 fixed it, but either nobody actually tested it or older Nix versions were fine, but all currently available Nix versions, including 2.24 and 2.32 complain about it: building '/nix/store/9n4hwzk8s74n6cq8dlxa4qas9jchsbgc-inputDerivation.drv'... error: output '/nix/store/l3gmc01pwa42rzq9riv8wm3skzkm144r-inputDerivation' is not allowed to refer to the following paths: /nix/store/k5z8rkvj1fn1nrf05l5a86aflc5s1p6m-stdenv-linux /nix/store/l3gmc01pwa42rzq9riv8wm3skzkm144r-inputDerivation /nix/store/l622p70vy8k5sh7y5wizi5f2mic6ynpg-source-stdenv.sh /nix/store/qsydfxm1vq6q9jac2kq3r8kn0xdmsldf-bash-5.3p3 /nix/store/shkw4qm9qcw5sc5n1k5jznc83ny02r39-default-builder.sh This commit fixes it (again?) and adds a regression test
|
Oddly enough, |
This PR makes
<drv>.inputDerivaitonevaluate without warnings messages regarding theoutputChecks.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.