git.iko.soy/typeable/nixpkgs
on master help sign in
mosml: fix build error on darwin
commit690e363780b2d3b209fb9865119aed3d8983dc67 authorMario Rodas <marsam@users.noreply.github.com> dateTue 20 Aug 2019, 16:20 (7 years ago) parent249b4ad
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}