summary refs log tree commit diff
path: root/lib/strings-with-deps.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strings-with-deps.nix')
-rw-r--r--lib/strings-with-deps.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strings-with-deps.nix b/lib/strings-with-deps.nix
index bdcc25cbd20cc..a901940ac12b0 100644
--- a/lib/strings-with-deps.nix
+++ b/lib/strings-with-deps.nix
@@ -15,7 +15,7 @@ Usage:
   Attention:
 
   let
-    pkgs = (import /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix) {};
+    pkgs = (import <nixpkgs>) {};
   in let
     inherit (pkgs.stringsWithDeps) fullDepEntry packEntry noDepEntry textClosureMap;
     inherit (pkgs.lib) id;