summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-04 19:57:14 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-11-04 19:57:14 -0500
commitfae8d2627db00bd07d0a80669be26648161c86c0 (patch)
tree8e969ec3f367f35c1ef34d3edb33353fade9358b /pkgs/build-support/cc-wrapper
parentc5cf0099967e0f5011b9188d56de22c376465b88 (diff)
downloadnixpkgs-fae8d2627db00bd07d0a80669be26648161c86c0.tar
nixpkgs-fae8d2627db00bd07d0a80669be26648161c86c0.tar.gz
nixpkgs-fae8d2627db00bd07d0a80669be26648161c86c0.tar.bz2
nixpkgs-fae8d2627db00bd07d0a80669be26648161c86c0.tar.lz
nixpkgs-fae8d2627db00bd07d0a80669be26648161c86c0.tar.xz
nixpkgs-fae8d2627db00bd07d0a80669be26648161c86c0.tar.zst
nixpkgs-fae8d2627db00bd07d0a80669be26648161c86c0.zip
cc-wrapper, bintools-wrapper: Remove now unneeded `set {+,-}u`
Diffstat (limited to 'pkgs/build-support/cc-wrapper')
-rw-r--r--pkgs/build-support/cc-wrapper/default.nix4
-rw-r--r--pkgs/build-support/cc-wrapper/setup-hook.sh3
2 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix
index cf2d38cd997..d6037552ef6 100644
--- a/pkgs/build-support/cc-wrapper/default.nix
+++ b/pkgs/build-support/cc-wrapper/default.nix
@@ -134,8 +134,6 @@ stdenv.mkDerivation {
 
   installPhase =
     ''
-      set -u
-
       mkdir -p $out/bin $out/nix-support
 
       wrap() {
@@ -224,8 +222,6 @@ stdenv.mkDerivation {
 
   postFixup =
     ''
-      set -u
-
       # Backwards compatability for packages expecting this file, e.g. with
       # `$NIX_CC/nix-support/dynamic-linker`.
       #
diff --git a/pkgs/build-support/cc-wrapper/setup-hook.sh b/pkgs/build-support/cc-wrapper/setup-hook.sh
index 211b5063291..5b13f268309 100644
--- a/pkgs/build-support/cc-wrapper/setup-hook.sh
+++ b/pkgs/build-support/cc-wrapper/setup-hook.sh
@@ -54,8 +54,6 @@
 # For more details, read the individual files where the mechanisms used to
 # accomplish this will be individually documented.
 
-set -u
-
 # Skip setup hook if we're neither a build-time dep, nor, temporarily, doing a
 # native compile.
 #
@@ -120,4 +118,3 @@ export NIX_HARDENING_ENABLE
 
 # No local scope in sourced file
 unset -v role_pre role_post
-set +u