Merge pull request #166191 from siraben/picoc-darwin

This commit is contained in:
Ben Siraphob 2022-03-29 09:34:22 -05:00 committed by GitHub
commit 19c90d5f74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
buildInputs = [ readline ];
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
postPatch = ''
substituteInPlace Makefile --replace '`svnversion -n`' "${version}"
'';
@ -46,6 +48,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/zsaleeba/picoc";
downloadPage = "https://code.google.com/p/picoc/downloads/list";
license = licenses.bsd3;
platforms = platforms.linux;
platforms = platforms.unix;
};
}