summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-08-08 21:43:32 +0000
committerJan Malakhovski <oxij@oxij.org>2018-08-11 09:35:22 +0000
commit17104e82cffdabbbae5ebe19529626d04811a1a5 (patch)
tree4647b64d58ca60628884cac064d14ee5aa0a0229 /pkgs/tools
parent15bf17a3f8a66caad2ff2eea1344a02dd69a8c7b (diff)
downloadnixlib-17104e82cffdabbbae5ebe19529626d04811a1a5.tar
nixlib-17104e82cffdabbbae5ebe19529626d04811a1a5.tar.gz
nixlib-17104e82cffdabbbae5ebe19529626d04811a1a5.tar.bz2
nixlib-17104e82cffdabbbae5ebe19529626d04811a1a5.tar.lz
nixlib-17104e82cffdabbbae5ebe19529626d04811a1a5.tar.xz
nixlib-17104e82cffdabbbae5ebe19529626d04811a1a5.tar.zst
nixlib-17104e82cffdabbbae5ebe19529626d04811a1a5.zip
gptfdisk: fix tests
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/system/gptfdisk/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/system/gptfdisk/default.nix b/pkgs/tools/system/gptfdisk/default.nix
index 4a3c895c3b93..25d60ffca5dc 100644
--- a/pkgs/tools/system/gptfdisk/default.nix
+++ b/pkgs/tools/system/gptfdisk/default.nix
@@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
     sha256 = "13d7gff4prl1nsdknjigmb7bbqhn79165n01v4y9mwbnd0d3jqxn";
   };
 
-  patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
+  postPatch = ''
+    patchShebangs gdisk_test.sh
+  '' + stdenv.lib.optionalString stdenv.isDarwin ''
     substituteInPlace Makefile.mac --replace \
       "-mmacosx-version-min=10.4" "-mmacosx-version-min=10.6"
     substituteInPlace Makefile.mac --replace \