genromfs: fix darwin build

This commit is contained in:
Matthew Bauer 2016-08-11 22:18:38 -05:00
parent ad61000697
commit 9ab5b14d56

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; {