nixpkgs/pkgs/development/tools/ocaml/opam/installer.nix

18 lines
406 B
Nix
Raw Normal View History

2020-12-06 19:49:59 +00:00
{ 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";
};
}