From cf3543690dc09d5ca15c3a9bcfd89f114cead662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Wed, 23 Jul 2025 15:06:35 +0200 Subject: [PATCH] Make lib imports in overlay explicit --- overlay.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/overlay.nix b/overlay.nix index 25edd66..d50ed18 100644 --- a/overlay.nix +++ b/overlay.nix @@ -1,10 +1,10 @@ final: /* Future last stage */ prev: /* Previous stage */ -with final.lib; - let - callPackage = final.callPackage; + inherit (prev.lib) collect isDerivation mapAttrs; + + inherit (final) callPackage; mkDeps = name: pkgs: final.runCommand name { } "printf '%s\n' ${toString (collect (x: x ? outPath) pkgs)} > $out";