gti: Fix build on darwin

This commit is contained in:
Franz Pletz 2016-07-17 15:07:44 +02:00
parent eacabb9993
commit 08c65bc68b

View File

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "1wki7d61kcmv9s3xayky9cz84qa773x3y1z88y768hq8ifwadcbn";
};
prePatch = ''
substituteInPlace Makefile --replace gcc cc
'';
installPhase = ''
mkdir -p $out/bin $out/share/man/man6
cp gti $out/bin