gptfdisk: fix tests

This commit is contained in:
Jan Malakhovski 2018-08-08 21:43:32 +00:00
parent 15bf17a3f8
commit 17104e82cf

View File

@ -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 \