ocamlPackages.uri_1_9: add an attribute for version 1.9

This commit is contained in:
Vincent Laporte 2019-04-16 08:41:56 +00:00
parent 2dfc7524c6
commit 5e93a2f2d9
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -67,8 +67,7 @@ let
}; };
}; };
}; };
uri = uri.override { uri = uri_1_9.override {
legacy = true;
inherit (janeStreet_0_9_0) ppx_sexp_conv sexplib; inherit (janeStreet_0_9_0) ppx_sexp_conv sexplib;
}; };
}; };
@ -756,6 +755,10 @@ let
then callPackage ../development/ocaml-modules/uri { } then callPackage ../development/ocaml-modules/uri { }
else callPackage ../development/ocaml-modules/uri/legacy.nix { }; else callPackage ../development/ocaml-modules/uri/legacy.nix { };
uri_1_9 = callPackage ../development/ocaml-modules/uri {
legacy = true;
};
uri_p4 = callPackage ../development/ocaml-modules/uri/legacy.nix { uri_p4 = callPackage ../development/ocaml-modules/uri/legacy.nix {
legacyVersion = true; legacyVersion = true;
}; };