summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/edk2
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2024-05-14 15:18:04 +0200
committerJörg Thalheim <joerg@thalheim.io>2024-05-14 15:22:57 +0200
commit474fe1a90547c7d1b8509e8b4aeef9e8935f94a4 (patch)
treeacce541b3981e69cb30e34a6d7cbf9190488a4fb /pkgs/development/compilers/edk2
parentda5ec6b0c3e0bfce25dc9e5c3e45fdd8c38affdf (diff)
edk2: use patchShebangs for fixing up shell wrappers
Diffstat (limited to 'pkgs/development/compilers/edk2')
-rw-r--r--pkgs/development/compilers/edk2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix
index 2d2cce113f9e..302d5611c19e 100644
--- a/pkgs/development/compilers/edk2/default.nix
+++ b/pkgs/development/compilers/edk2/default.nix
@@ -94,8 +94,8 @@ edk2 = stdenv.mkDerivation rec {
mv -v edksetup.sh $out
# patchShebangs fails to see these when cross compiling
for i in $out/BaseTools/BinWrappers/PosixLike/*; do
- substituteInPlace $i --replace '/usr/bin/env bash' ${buildPackages.bash}/bin/bash
chmod +x "$i"
+ patchShebangs --build "$i"
done
'';