mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
megam: add darwin support (#209898)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
fa8ae2120d
commit
b40f0196f3
@ -12,11 +12,16 @@ stdenv.mkDerivation {
|
||||
|
||||
patches = [ ./ocaml-includes.patch ./ocaml-3.12.patch ];
|
||||
|
||||
buildInputs = [ ocaml ncurses ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ makeWrapper ocaml ];
|
||||
|
||||
makeFlags = [ "CAML_INCLUDES=${ocaml}/lib/ocaml/caml" ];
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
makeFlags = [
|
||||
"CAML_INCLUDES=${ocaml}/lib/ocaml/caml"
|
||||
"WITHBIGARRAY=bigarray.cma"
|
||||
];
|
||||
|
||||
# see https://bugzilla.redhat.com/show_bug.cgi?id=435559
|
||||
dontStrip = true;
|
||||
@ -42,6 +47,6 @@ stdenv.mkDerivation {
|
||||
license = "non-commercial";
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -36752,9 +36752,7 @@ with pkgs;
|
||||
wxGTK = wxGTK32;
|
||||
};
|
||||
|
||||
megam = callPackage ../applications/science/misc/megam {
|
||||
inherit (ocaml-ng.ocamlPackages_4_07) ocaml;
|
||||
};
|
||||
megam = callPackage ../applications/science/misc/megam { };
|
||||
|
||||
netlogo = callPackage ../applications/science/misc/netlogo { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user