git.iko.soy/typeable/nixpkgs
on master help sign in
drat-trim: fix build on darwin
commitc13c93f03bf0ffaa97bfe2615e43bd35386b0f8b authorOrivej Desh <orivej@gmx.fr> dateSun 17 Dec 2017, 13:18 (9 years ago) parent6cab82d
1 file changed+4
pkgs/applications/science/logic/drat-trim/default.nix+4
pkgs/applications/science/logic/drat-trim/default.nix+4
@@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
1010 sha256 = "1m9q47dfnvdli1z3kb1jvvbm0dgaw725k1aw6h9w00bggqb91bqh";
1111 };
1212
13+ postPatch = ''
14+ substituteInPlace Makefile --replace gcc cc
15+ '';
16+
1317 installPhase = ''
1418 install -Dt $out/bin drat-trim
1519 '';