Make lib imports in overlay explicit

This commit is contained in:
Aleix Boné 2025-07-23 15:06:35 +02:00 committed by Aleix Boné
parent 02b0295986
commit 30ca57a0ad

View File

@ -1,10 +1,10 @@
final: /* Future last stage */ final: /* Future last stage */
prev: /* Previous stage */ prev: /* Previous stage */
with final.lib;
let let
callPackage = final.callPackage; inherit (prev.lib) collect isDerivation mapAttrs;
inherit (final) callPackage;
mkDeps = name: pkgs: final.runCommand name { } mkDeps = name: pkgs: final.runCommand name { }
"printf '%s\n' ${toString (collect (x: x ? outPath) pkgs)} > $out"; "printf '%s\n' ${toString (collect (x: x ? outPath) pkgs)} > $out";