Skip to content

Commit 5ceea57

Browse files
committed
Revert "utils.bash: also "fix" cc-wrapper and pkg-config-wrapper"
Follow up to the revert in e560459. This reverts commit 1936b11.
1 parent be61518 commit 5ceea57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkgs/build-support/cc-wrapper/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ stdenv.mkDerivation {
453453
454454
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
455455
substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
456-
substituteAll ${if stdenv.isDarwin then ../wrapper-common/utils.bash.darwin else ../wrapper-common/utils.bash} $out/nix-support/utils.bash
456+
substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
457457
''
458458

459459
##

pkgs/build-support/pkg-config-wrapper/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ stdenv.mkDerivation {
107107

108108
+ ''
109109
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
110-
substituteAll ${if stdenv.isDarwin then ../wrapper-common/utils.bash.darwin else ../wrapper-common/utils.bash} $out/nix-support/utils.bash
110+
substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
111111
''
112112

113113
##

0 commit comments

Comments
 (0)