about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-03-26 07:51:49 -0700
committerVincent Laporte <vbgl@users.noreply.github.com>2024-03-26 16:41:24 +0100
commit9df9593b0c743737ba36da33e17a8e958d37c0b6 (patch)
tree5e1cd04c931a2e1b05d8c39c1fa56ce9d53aa43b /pkgs/development
parent6938c6ae788d9a807f76d539d0b7b8bfdb5be688 (diff)
Avoid top-level `with ...;` in pkgs/development/tools/ocaml/ocaml-top/default.nix
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/ocaml/ocaml-top/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/tools/ocaml/ocaml-top/default.nix b/pkgs/development/tools/ocaml/ocaml-top/default.nix
index b5c506ad9b823..f96ad2248ee21 100644
--- a/pkgs/development/tools/ocaml/ocaml-top/default.nix
+++ b/pkgs/development/tools/ocaml/ocaml-top/default.nix
@@ -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";