summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-08-14 02:49:53 +0300
committerArtturin <Artturin@artturin.com>2023-08-14 02:51:10 +0300
commitcbc8aa437c44c510b54c664364dbfbcd98ac5f18 (patch)
treeae1007b5847b91704edd9ab87458d8b5c3374f11 /pkgs/desktops
parenta1fdbae706c846f01c31bbe02cb8246fa348b480 (diff)
downloadnixpkgs-cbc8aa437c44c510b54c664364dbfbcd98ac5f18.tar
nixpkgs-cbc8aa437c44c510b54c664364dbfbcd98ac5f18.tar.gz
nixpkgs-cbc8aa437c44c510b54c664364dbfbcd98ac5f18.tar.bz2
nixpkgs-cbc8aa437c44c510b54c664364dbfbcd98ac5f18.tar.lz
nixpkgs-cbc8aa437c44c510b54c664364dbfbcd98ac5f18.tar.xz
nixpkgs-cbc8aa437c44c510b54c664364dbfbcd98ac5f18.tar.zst
nixpkgs-cbc8aa437c44c510b54c664364dbfbcd98ac5f18.zip
treewide: use uncurried version of makeScopeWithSplicing
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/xfce/default.nix18
1 files changed, 6 insertions, 12 deletions
diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix
index 5dc21338a72..4aec72ea334 100644
--- a/pkgs/desktops/xfce/default.nix
+++ b/pkgs/desktops/xfce/default.nix
@@ -2,19 +2,12 @@
 , lib
 , pkgs
 , generateSplicesForMkScope
-, makeScopeWithSplicing
+, makeScopeWithSplicing'
 }:
 
-let
-  keep = _self: { };
-  extra = _spliced0: { };
-
-in
-makeScopeWithSplicing
-  (generateSplicesForMkScope "xfce")
-  keep
-  extra
-  (self:
+makeScopeWithSplicing' {
+  otherSplices = generateSplicesForMkScope "xfce";
+  f = (self:
     let
       inherit (self) callPackage;
     in
@@ -177,4 +170,5 @@ makeScopeWithSplicing
       thunar-bare = self.thunar.override { thunarPlugins = [ ]; }; # added 2019-11-04
 
       xfce4-hardware-monitor-plugin = throw "xfce.xfce4-hardware-monitor-plugin has been removed: abandoned by upstream and does not build"; # added 2023-01-15
-    })
+    });
+}