leo2: add darwin support

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