curl{,Minimal}: patchShebang of wcurl script with host Bash#493004
curl{,Minimal}: patchShebang of wcurl script with host Bash#493004doronbehar wants to merge 1 commit intoNixOS:stagingfrom
Conversation
wcurl's shebang is patched to use build platform runtimeShell in `postPatch`, and it is easier to `--update` its shebangs instead of filtering it out in `postPatch`.
Scrumplex
left a comment
There was a problem hiding this comment.
Changes LGTM
Optional: Perhaps we can reduce rebuilds and merge to master by only adding this for cross builds (i.e. lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform))
|
Unfortunately I don't see either that much in the nixpkgs codebase, I might be missing something. |
|
This is not urgent for me, so I'd prefer to go straight to the correct solution, even if it has to go through staging. I'm not merging this yet based upon @Scrumplex's approval because I am still hopeful that @emilazy will reply to my comment in the PR that attempts to generalize this fix. |
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.