ocamlPackages.opam-state: fix for opam 2.2

This commit is contained in:
Vincent Laporte 2024-07-24 08:01:17 +02:00 committed by Vincent Laporte
parent 816c9b4d45
commit 3bb78ca87f
2 changed files with 3 additions and 8 deletions

View File

@ -1,18 +1,15 @@
{ lib, buildDunePackage, unzip, opam, opam-repository }:
{ lib, buildDunePackage, opam, opam-repository, spdx_licenses }:
buildDunePackage rec {
pname = "opam-state";
inherit (opam) src version;
useDune2 = true;
# get rid of check for curl at configure time
# opam-state does not call curl at run time
configureFlags = [ "--disable-checks" ];
nativeBuildInputs = [ unzip ];
propagatedBuildInputs = [ opam-repository ];
propagatedBuildInputs = [ opam-repository spdx_licenses ];
meta = opam.meta // {
description = "OPAM development library handling the ~/.opam hierarchy, repository and switch states";

View File

@ -1390,9 +1390,7 @@ let
opam-repository = callPackage ../development/ocaml-modules/opam-repository { };
opam-state = callPackage ../development/ocaml-modules/opam-state {
inherit (pkgs) unzip;
};
opam-state = callPackage ../development/ocaml-modules/opam-state { };
opium = callPackage ../development/ocaml-modules/opium { };