picoc: fix darwin build

main
Ben Siraphob 2 years ago
parent f5054121cb
commit 5b45f1458f
No known key found for this signature in database
GPG Key ID: 45F0E5D788143267
  1. 4
      pkgs/development/interpreters/picoc/default.nix

@ -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…
Cancel
Save