Files
nixpkgs/pkgs/tools/package-management/nix/modular/packages.nix
Wolfgang Walther d4a597194f teams/nix: clarify relation to Nix team
The Nix team is not the same as the Nixpkgs Nix team, at least in
practice. Now we reflect that in metadata as well.
2026-01-10 23:38:19 +01:00

40 lines
807 B
Nix

{
lib,
splicePackages,
nixDependencies,
pkgs,
teams,
otherSplices,
version,
src,
}:
let
officialRelease = true;
# A new scope, so that we can use `callPackage` to inject our own interdependencies
# without "polluting" the top level "`pkgs`" attrset.
# This also has the benefit of providing us with a distinct set of packages
# we can iterate over.
nixComponents =
lib.makeScopeWithSplicing'
{
inherit splicePackages;
inherit (nixDependencies) newScope;
}
{
inherit otherSplices;
f = import ./packaging/components.nix {
inherit
lib
teams
officialRelease
pkgs
src
version
;
};
};
in
nixComponents.overrideSource src