From b7e43d5b082e7b96ebce27d567a5bf018d9f228d 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 a7c19b4..f974ecb 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";