Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
846 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
splicePackages,
nixDependencies,
pkgs,
maintainers,
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
maintainers
teams
officialRelease
pkgs
src
version
;
};
};
in
nixComponents.overrideSource src