leo2: add darwin support

+4 -2
+3 -1
pkgs/applications/science/logic/leo2/default.nix
··· 31 32 buildFlags = [ "opt" ]; 33 34 preInstall = "mkdir -p $out/bin"; 35 36 postInstall = '' ··· 44 meta = with lib; { 45 description = "A high-performance typed higher order prover"; 46 maintainers = [ maintainers.raskin ]; 47 - platforms = platforms.linux; 48 license = licenses.bsd3; 49 homepage = "http://www.leoprover.org/"; 50 };
··· 31 32 buildFlags = [ "opt" ]; 33 34 + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-reserved-user-defined-literal"; 35 + 36 preInstall = "mkdir -p $out/bin"; 37 38 postInstall = '' ··· 46 meta = with lib; { 47 description = "A high-performance typed higher order prover"; 48 maintainers = [ maintainers.raskin ]; 49 + platforms = platforms.unix; 50 license = licenses.bsd3; 51 homepage = "http://www.leoprover.org/"; 52 };
+1 -1
pkgs/top-level/all-packages.nix
··· 37168 mathlibtools = with python3Packages; toPythonApplication mathlibtools; 37169 37170 leo2 = callPackage ../applications/science/logic/leo2 37171 - { inherit (ocaml-ng.ocamlPackages_4_05) ocaml camlp4; }; 37172 37173 leo3-bin = callPackage ../applications/science/logic/leo3/binary.nix {}; 37174
··· 37168 mathlibtools = with python3Packages; toPythonApplication mathlibtools; 37169 37170 leo2 = callPackage ../applications/science/logic/leo2 37171 + { inherit (ocaml-ng.ocamlPackages_4_14_unsafe_string) ocaml camlp4; }; 37172 37173 leo3-bin = callPackage ../applications/science/logic/leo3/binary.nix {}; 37174