From e9ebd66bf63a1a07b7449432db3938ce87becc66 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 7 May 2022 15:12:12 -0300 Subject: [PATCH] arcan: refactor To be more similar to other expressions (especially XFCE). --- pkgs/desktops/arcan/default.nix | 6 +++--- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/desktops/arcan/default.nix b/pkgs/desktops/arcan/default.nix index 9d9f28a79538..3db4d4eb819c 100644 --- a/pkgs/desktops/arcan/default.nix +++ b/pkgs/desktops/arcan/default.nix @@ -1,6 +1,6 @@ -{ callPackage, lib, pkgs }: +{ config, lib, pkgs }: -rec { +lib.makeScope pkgs.newScope (self: with self; { # Dependencies espeak = pkgs.espeak-ng; @@ -40,4 +40,4 @@ rec { name = "all-wrapped"; appls = [ durden pipeworld ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 87782f38ea50..0458cfd945e0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32452,9 +32452,7 @@ with pkgs; ### DESKTOP ENVIRONMENTS - arcan = recurseIntoAttrs (callPackage ../desktops/arcan { - callPackage = newScope arcan; - }); + arcan = recurseIntoAttrs (callPackage ../desktops/arcan { }); cdesktopenv = callPackage ../desktops/cdesktopenv { };