1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

ocamlPackages.opam-format: clean

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

View file

@ -1,19 +1,14 @@
{ lib, buildDunePackage, unzip, opam-core, opam-file-format }:
{ lib, buildDunePackage, opam-core, opam-file-format }:
buildDunePackage rec {
pname = "opam-format";
useDune2 = true;
inherit (opam-core) src version;
minimalOCamlVersion = "4.02.3";
# get rid of check for curl at configure time
# opam-format does not call curl at run time
configureFlags = [ "--disable-checks" ];
nativeBuildInputs = [ unzip ];
propagatedBuildInputs = [ opam-core opam-file-format ];
meta = opam-core.meta // {

View file

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