mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
ocamlPackages.opam-state: fix for opam 2.2
This commit is contained in:
parent
816c9b4d45
commit
3bb78ca87f
@ -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";
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user