Fix infinite recursion evaluating lib

This commit is contained in:
Aleix Boné 2025-10-07 17:27:28 +02:00
parent 21002bca2a
commit 129dfb1998
No known key found for this signature in database

View File

@ -1,9 +1,11 @@
final: /* Future last stage */
prev: /* Previous stage */
with final.lib;
let
inherit (prev) lib;
inherit (lib) collect filterAttrs isDerivation mapAttrs;
callPackage = final.callPackage;
mkStrict = drv: if (isDerivation drv && drv ? overrideAttrs && !(drv ? strictDeps))