nixpkgs-bootstrap: fix so the scope is recursed into and my updaters know to update it
This commit is contained in:
12
pkgs/by-name/nixpkgs-bootstrap/package.nix
Normal file
12
pkgs/by-name/nixpkgs-bootstrap/package.nix
Normal 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 { };
|
||||||
|
}))
|
Reference in New Issue
Block a user