diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2021-01-26 13:53:25 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2021-01-26 13:53:25 +0100 |
commit | 69fca326f806e217b821a9c98493930699442c35 (patch) | |
tree | 020de7d0fd37d23c7dd6229bfb3ff054a3033f04 /pkgs/development/tools | |
parent | 312f252ebac2b859220232fb86b661da7f9d579b (diff) | |
parent | 13a6565c4c5fd34c4dcaf3fc06471a49e100b8ab (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/ocaml/opam/installer.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/opam/installer.nix b/pkgs/development/tools/ocaml/opam/installer.nix new file mode 100644 index 000000000000..4501ddd63f04 --- /dev/null +++ b/pkgs/development/tools/ocaml/opam/installer.nix @@ -0,0 +1,17 @@ +{ lib, unzip, opam, ocamlPackages }: + +ocamlPackages.buildDunePackage { + pname = "opam-installer"; + + useDune2 = true; + + inherit (opam) version src; + nativeBuildInputs = [ unzip ]; + + configureFlags = [ "--disable-checks" "--prefix=$out" ]; + buildInputs = with ocamlPackages; [ opam-format cmdliner ]; + + meta = opam.meta // { + description = "Handle (un)installation from opam install files"; + }; +} |