genromfs: fix darwin build

This commit is contained in:
Matthew Bauer
2016-08-16 19:25:41 +00:00
parent ad61000697
commit 9ab5b14d56
+3 -1
View File
@@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
};
postPatch = ''
substituteInPlace Makefile --replace "prefix = /usr" "prefix = $out"
substituteInPlace Makefile \
--replace "prefix = /usr" "prefix = $out" \
--replace "gcc" "cc"
'';
meta = with stdenv.lib; {