3
0
Fork 0
forked from mirrors/nixpkgs

mosml: fix build error on darwin

This commit is contained in:
Mario Rodas 2019-08-20 16:20:00 -05:00
parent 249b4ad942
commit 690e363780
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gmp perl ];
makeFlags = "PREFIX=$(out)";
makeFlags = [ "PREFIX=$(out)" ] ++ stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
src = fetchurl {
url = "https://github.com/kfl/mosml/archive/ver-${version}.tar.gz";
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://mosml.org/;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ vaibhavsagar ];
};
}