git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #67149 from marsam/fix-mosml-darwin

mosml: fix build error on darwin

commit25589299847b84f530b3048f3730ca95fee0fd14 authorSarah Brofeldt <sbrofeldt@gmail.com> dateThu 22 Aug 2019, 09:07 (7 years ago) parent5ca95f0690e363
1 file changed+2−2
pkgs/development/compilers/mosml/default.nix+2−2
pkgs/development/compilers/mosml/default.nix+2−2
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66
77 buildInputs = [ gmp perl ];
88
9− makeFlags = "PREFIX=$(out)";
9+ makeFlags = [ "PREFIX=$(out)" ] ++ stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
1010
1111 src = fetchurl {
1212 url = "https://github.com/kfl/mosml/archive/ver-${version}.tar.gz";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 '';
2424 homepage = https://mosml.org/;
2525 license = licenses.gpl2;
26− platforms = platforms.linux;
26+ platforms = platforms.unix;
2727 maintainers = with maintainers; [ vaibhavsagar ];
2828 };
2929}