diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-10-31 16:50:15 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-01 14:44:44 -0400 |
commit | 2811b032d639684d3983282e9d10d89f37d161d5 (patch) | |
tree | 8354d496dc4207144775f458d81c3b1224014b43 /pkgs/build-support/setup-hooks/auto-patchelf.sh | |
parent | 1290e532eac8f8a1815c0aedee94796509e04e3d (diff) | |
download | nixpkgs-2811b032d639684d3983282e9d10d89f37d161d5.tar nixpkgs-2811b032d639684d3983282e9d10d89f37d161d5.tar.gz nixpkgs-2811b032d639684d3983282e9d10d89f37d161d5.tar.bz2 nixpkgs-2811b032d639684d3983282e9d10d89f37d161d5.tar.lz nixpkgs-2811b032d639684d3983282e9d10d89f37d161d5.tar.xz nixpkgs-2811b032d639684d3983282e9d10d89f37d161d5.tar.zst nixpkgs-2811b032d639684d3983282e9d10d89f37d161d5.zip |
treewide: Make still dont* Variables are optional in most cases
Go beyond the obvious setup hooks now, with a bit of sed, with a skipped case: - cc-wrapper's `dontlink`, because it already is handled. Also, in nix files escaping was manually added. EMP
Diffstat (limited to 'pkgs/build-support/setup-hooks/auto-patchelf.sh')
-rw-r--r-- | pkgs/build-support/setup-hooks/auto-patchelf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/auto-patchelf.sh b/pkgs/build-support/setup-hooks/auto-patchelf.sh index 6af8eb1aed9..52c50091d08 100644 --- a/pkgs/build-support/setup-hooks/auto-patchelf.sh +++ b/pkgs/build-support/setup-hooks/auto-patchelf.sh @@ -228,7 +228,7 @@ autoPatchelf() { # behaviour as fixupOutputHooks because the setup hook for patchelf is run in # fixupOutput and the postFixup hook runs later. postFixupHooks+=(' - if [ -z "$dontAutoPatchelf" ]; then + if [ -z "${dontAutoPatchelf-}" ]; then autoPatchelf -- $(for output in $outputs; do [ -e "${!output}" ] || continue echo "${!output}" |