drat-trim: fix build on darwin

This commit is contained in:
Orivej Desh 2017-12-17 13:18:10 +00:00
parent 6cab82d1b4
commit c13c93f03b

View File

@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
sha256 = "1m9q47dfnvdli1z3kb1jvvbm0dgaw725k1aw6h9w00bggqb91bqh";
};
postPatch = ''
substituteInPlace Makefile --replace gcc cc
'';
installPhase = ''
install -Dt $out/bin drat-trim
'';