Merge pull request #166191 from siraben/picoc-darwin
This commit is contained in:
commit
19c90d5f74
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ readline ];
|
buildInputs = [ readline ];
|
||||||
|
|
||||||
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile --replace '`svnversion -n`' "${version}"
|
substituteInPlace Makefile --replace '`svnversion -n`' "${version}"
|
||||||
'';
|
'';
|
||||||
@ -46,6 +48,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/zsaleeba/picoc";
|
homepage = "https://github.com/zsaleeba/picoc";
|
||||||
downloadPage = "https://code.google.com/p/picoc/downloads/list";
|
downloadPage = "https://code.google.com/p/picoc/downloads/list";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user