Make lib imports in overlay explicit

This commit is contained in:
Aleix Boné 2025-07-23 15:06:35 +02:00
parent 46524cd2ec
commit cf3543690d
No known key found for this signature in database

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";