ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
17 lines
406 B
Nix
17 lines
406 B
Nix
{ 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";
|
|
};
|
|
}
|