Avoid top-level `with ...;` in pkgs/development/tools/ocaml/opam-publish/default.nix

This commit is contained in:
Philip Taron 2024-03-26 07:48:56 -07:00 committed by Vincent Laporte
parent 71c7097220
commit 6938c6ae78
1 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,17 @@
{ lib, fetchFromGitHub, ocamlPackages }:
with ocamlPackages;
let
inherit (ocamlPackages)
buildDunePackage
cmdliner
github
github-unix
lwt_ssl
opam-core
opam-format
opam-state
;
in
buildDunePackage rec {
pname = "opam-publish";