ocamlPackages.bitsring: associate ocaml versions with bitstring versions univocally
This commit is contained in:
parent
ba993ad506
commit
2a17b75fb1
@ -53,13 +53,10 @@ let
|
|||||||
|
|
||||||
bolt = callPackage ../development/ocaml-modules/bolt { };
|
bolt = callPackage ../development/ocaml-modules/bolt { };
|
||||||
|
|
||||||
bitstring_2_0_4 = callPackage ../development/ocaml-modules/bitstring/2.0.4.nix { };
|
|
||||||
bitstring_git = callPackage ../development/ocaml-modules/bitstring { };
|
|
||||||
|
|
||||||
bitstring =
|
bitstring =
|
||||||
if lib.versionOlder "4.02" ocaml.version
|
if lib.versionOlder "4.02" ocaml.version
|
||||||
then bitstring_git
|
then callPackage ../development/ocaml-modules/bitstring { }
|
||||||
else bitstring_2_0_4;
|
else callPackage ../development/ocaml-modules/bitstring/2.0.4.nix { };
|
||||||
|
|
||||||
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user