Add the possibility to build a patoline environment with
nix-env -i env-patoline. This is the only reasonnable way to install patoline which require ocaml compiler with a large set of libraries installed.
This commit is contained in:
parent
270d929089
commit
ac347e5cde
@ -2786,6 +2786,22 @@ let
|
||||
|
||||
ocamlnat = let callPackage = newScope pkgs.ocamlPackages_3_12_1; in callPackage ../development/ocaml-modules/ocamlnat { };
|
||||
|
||||
# patoline requires a rather large ocaml compilation environment.
|
||||
# this is why it is build as an environment and not just a normal package.
|
||||
# remark : the emacs mode is also installed, but you have to adjust your load-path.
|
||||
mkPatolineEnv = pack: pkgs.myEnvFun {
|
||||
name = "patoline";
|
||||
buildInputs = [ stdenv ncurses mesa freeglut libzip
|
||||
pack.ocaml pack.findlib pack.camomile
|
||||
pack.dypgen pack.ocaml_sqlite3 pack.camlzip
|
||||
pack.lablgtk pack.camlimages pack.ocaml_cairo
|
||||
pack.lablgl pack.ocamlnet pack.cryptokit
|
||||
pack.ocaml_pcre pack.patoline
|
||||
];
|
||||
};
|
||||
|
||||
patoline = mkPatolineEnv ocamlPackages_4_00_1;
|
||||
|
||||
opencxx = callPackage ../development/compilers/opencxx {
|
||||
gcc = gcc33;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user