drat-trim: fix build on darwin
This commit is contained in:
parent
6cab82d1b4
commit
c13c93f03b
@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1m9q47dfnvdli1z3kb1jvvbm0dgaw725k1aw6h9w00bggqb91bqh";
|
sha256 = "1m9q47dfnvdli1z3kb1jvvbm0dgaw725k1aw6h9w00bggqb91bqh";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace gcc cc
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dt $out/bin drat-trim
|
install -Dt $out/bin drat-trim
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user