fetchurl: move netrcPhase invokation into build.sh and stringify curlOpts early#471172
Conversation
|
Don't rely on the `postPhase` in `$stdenv/setup.sh` provided by `stdenv/generic/make-derivation.nix`'s realBuilder hack.
09ddf0d to
21311af
Compare
21311af to
e469228
Compare
0827ece to
a9fdc3b
Compare
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
a9fdc3b to
901c16a
Compare
901c16a to
d0f0e55
Compare
|
Added |
This PR cleans up the leftover of PR #464475 regarding
curlOptsandnetrcPhase.postPhasein$stdenv/setup.shprovided bystdenv/generic/make-derivation.nix's realBuilder hack.curlOptsis passed as a Bash array from a Nix Language list (which we warned against at eval time), set it as a plain Bash variable after sourcing$NIX_ATTRS_SH_FILE, so that we don't have to handle such edge cases.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.