Files

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

23 lines
523 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
generateSplicesForMkScope,
newScope,
splicePackages,
callPackage,
}:
let
otherSplices = generateSplicesForMkScope [ "nixDependencies" ];
in
lib.makeScopeWithSplicing'
{
inherit splicePackages;
inherit newScope; # layered directly on pkgs, unlike nixComponents above
}
{
# Technically this should point to the nixDependencies set only, but
# this is ok as long as the scopes don't intersect.
inherit otherSplices;
f = (callPackage ./dependencies.nix { }).scopeFunction;
}