Merge pull request #67149 from marsam/fix-mosml-darwin

mosml: fix build error on darwin
This commit is contained in:
Sarah Brofeldt 2019-08-22 09:07:18 +02:00 committed by GitHub
commit 2558929984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];
};
}