* Make all ocaml versions available in the proper way.
svn path=/nixpkgs/trunk/; revision=17805
This commit is contained in:
parent
c5b198300d
commit
f581d2a719
@ -1,9 +0,0 @@
|
|||||||
args:
|
|
||||||
|
|
||||||
builtins.listToAttrs [
|
|
||||||
{ name = "3.08.0"; value = import ./3.08.0.nix args; }
|
|
||||||
{ name = "3.09.1"; value = import ./3.09.1.nix args; }
|
|
||||||
{ name = "3.10.0"; value = import ./3.10.0.nix args; }
|
|
||||||
{ name = "3.11.1"; value = import ./3.11.1.nix args; }
|
|
||||||
{ name = "default"; value = import ./3.11.1.nix args; }
|
|
||||||
]
|
|
@ -2115,9 +2115,21 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
ocaml = getVersion "ocaml" ocaml_alts;
|
ocaml = ocaml_3_11_1;
|
||||||
|
|
||||||
ocaml_alts = import ../development/compilers/ocaml {
|
ocaml_3_08_0 = import ../development/compilers/ocaml/3.08.0.nix {
|
||||||
|
inherit fetchurl stdenv x11 ncurses;
|
||||||
|
};
|
||||||
|
|
||||||
|
ocaml_3_09_1 = import ../development/compilers/ocaml/3.09.1.nix {
|
||||||
|
inherit fetchurl stdenv x11 ncurses;
|
||||||
|
};
|
||||||
|
|
||||||
|
ocaml_3_10_0 = import ../development/compilers/ocaml/3.10.0.nix {
|
||||||
|
inherit fetchurl stdenv x11 ncurses;
|
||||||
|
};
|
||||||
|
|
||||||
|
ocaml_3_11_1 = import ../development/compilers/ocaml/3.11.1.nix {
|
||||||
inherit fetchurl stdenv x11 ncurses;
|
inherit fetchurl stdenv x11 ncurses;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -2145,7 +2157,7 @@ let
|
|||||||
|
|
||||||
qcmm = import ../development/compilers/qcmm {
|
qcmm = import ../development/compilers/qcmm {
|
||||||
lua = lua4;
|
lua = lua4;
|
||||||
ocaml = builtins.getAttr "3.08.0" ocaml_alts;
|
ocaml = ocaml_3_08_0;
|
||||||
inherit fetchurl stdenv mk noweb groff;
|
inherit fetchurl stdenv mk noweb groff;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3204,7 +3216,7 @@ let
|
|||||||
facile = import ../development/libraries/facile {
|
facile = import ../development/libraries/facile {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
# Actually, we don't need this version but we need native-code compilation
|
# Actually, we don't need this version but we need native-code compilation
|
||||||
ocaml = builtins.getAttr "3.10.0" ocaml_alts;
|
ocaml = ocaml_3_10_0;
|
||||||
};
|
};
|
||||||
|
|
||||||
faac = import ../development/libraries/faac {
|
faac = import ../development/libraries/faac {
|
||||||
|
Loading…
Reference in New Issue
Block a user