mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
patchShebangs: Ignore outputs that don't exist yet
This commit is contained in:
parent
8dc7073546
commit
276e38a1bb
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
# rewritten to /nix/store/<hash>/bin/python. Interpreters that are
|
||||
# already in the store are left untouched.
|
||||
|
||||
fixupOutputHooks+=('if [ -z "$dontPatchShebangs" ]; then patchShebangs "$prefix"; fi')
|
||||
fixupOutputHooks+=('if [ -z "$dontPatchShebangs" -a -e "$prefix" ]; then patchShebangs "$prefix"; fi')
|
||||
|
||||
patchShebangs() {
|
||||
local dir="$1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue