Merge pull request #67149 from marsam/fix-mosml-darwin
mosml: fix build error on darwin
This commit is contained in:
commit
2558929984
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user