about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-03-05 17:44:09 -0800
committerPhilip Taron <philip.taron@gmail.com>2024-03-08 14:55:07 -0800
commit5aa9130a69c047ae21a729666e929f4274f76411 (patch)
tree7415c6ac559996b14d5f706e6e8a43a8b31d1441
parentf23c28ca41f7b2e4843e5b4ba1d6f2fb9ea2f105 (diff)
Avoid `with lib;` at the top level in pkgs/top-level/octave-packages.nix
-rw-r--r--pkgs/top-level/octave-packages.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix
index 374163fa56732..c6d0839e96827 100644
--- a/pkgs/top-level/octave-packages.nix
+++ b/pkgs/top-level/octave-packages.nix
@@ -19,7 +19,15 @@
 , octave
 }:
 
-with lib;
+let
+  inherit (lib)
+    catAttrs
+    concatLists
+    filter
+    makeScope
+    unique
+    ;
+in
 
 makeScope newScope (self:
   let