picoc: fix darwin build
This commit is contained in:
parent
f5054121cb
commit
5b45f1458f
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue