mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
gti: Fix build on darwin
This commit is contained in:
parent
eacabb9993
commit
08c65bc68b
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue