1{
2 lib,
3 generateSplicesForMkScope,
4 newScope,
5 splicePackages,
6 callPackage,
7}:
8
9let
10 otherSplices = generateSplicesForMkScope [ "nixDependencies" ];
11in
12lib.makeScopeWithSplicing'
13 {
14 inherit splicePackages;
15 inherit newScope; # layered directly on pkgs, unlike nixComponents above
16 }
17 {
18 # Technically this should point to the nixDependencies set only, but
19 # this is ok as long as the scopes don't intersect.
20 inherit otherSplices;
21 f = (callPackage ./dependencies.nix { }).scopeFunction;
22 }