patchShebangs: Ignore outputs that don't exist yet
This commit is contained in:
parent
8dc7073546
commit
276e38a1bb
@ -5,7 +5,7 @@
|
|||||||
# rewritten to /nix/store/<hash>/bin/python. Interpreters that are
|
# rewritten to /nix/store/<hash>/bin/python. Interpreters that are
|
||||||
# already in the store are left untouched.
|
# 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() {
|
patchShebangs() {
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user