diff options
author | Artturin <Artturin@artturin.com> | 2022-12-24 17:44:09 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-12-25 14:05:03 +0200 |
commit | 58fa78077c937e1879a20fc66fe7c6c57e4f75b7 (patch) | |
tree | 08b5beba6b171cc7c70036aaac300f9bd3b1727e /pkgs/desktops | |
parent | 665e15ee407ea3d08c80344fa1da2bad34e78650 (diff) |
treewide: use splicing convenience functions
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/xfce/default.nix | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix index 546681afedf92..d76e0d10aff51 100644 --- a/pkgs/desktops/xfce/default.nix +++ b/pkgs/desktops/xfce/default.nix @@ -1,31 +1,17 @@ { config , lib , pkgs -, splicePackages -, newScope -, pkgsBuildBuild -, pkgsBuildHost -, pkgsBuildTarget -, pkgsHostHost -, pkgsTargetTarget +, generateSplicesForMkScope +, makeScopeWithSplicing }: let - otherSplices = { - selfBuildBuild = pkgsBuildBuild.xfce; - selfBuildHost = pkgsBuildHost.xfce; - selfBuildTarget = pkgsBuildTarget.xfce; - selfHostHost = pkgsHostHost.xfce; - selfTargetTarget = pkgsTargetTarget.xfce or { }; - }; keep = _self: { }; extra = _spliced0: { }; in -lib.makeScopeWithSplicing - splicePackages - newScope - otherSplices +makeScopeWithSplicing + (generateSplicesForMkScope "xfce") keep extra (self: |