nixpkgs-bootstrap: fix so the scope is recursed into and my updaters know to update it

This commit is contained in:
2024-10-06 22:07:22 +00:00
parent 0e6a94d399
commit 9c4235d521

View File

@@ -0,0 +1,12 @@
# this scope isn't special in any way, except that `packagesFromDirectory` doesn't set `recurseIntoAttrs`, and this does.
# (that's needed for my update scripts to be found)
{
lib,
newScope,
}:
lib.recurseIntoAttrs (lib.makeScope newScope (self: with self; {
mkNixpkgs = callPackage ./mkNixpkgs.nix { };
master = callPackage ./master.nix { };
staging = callPackage ./staging.nix { };
staging-next = callPackage ./staging-next.nix { };
}))