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

This commit is contained in:
Philip Taron 2024-03-26 07:51:49 -07:00 committed by Vincent Laporte
parent 6938c6ae78
commit 9df9593b0c
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
{ lib, fetchFromGitHub, ocamlPackages }:
with ocamlPackages; buildDunePackage rec {
let
inherit (ocamlPackages) buildDunePackage lablgtk3-sourceview3 ocp-index;
in
buildDunePackage rec {
pname = "ocaml-top";
version = "1.2.0";