budgie-desktop{,with-plugins}: move from budgie scope to top-level

This commit is contained in:
seth 2024-07-12 18:50:03 -04:00
parent e242148119
commit 417179abbd
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86
9 changed files with 14 additions and 17 deletions

View File

@ -94,7 +94,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.displayManager.sessionPackages = with pkgs; [ services.displayManager.sessionPackages = with pkgs; [
budgie.budgie-desktop budgie-desktop
]; ];
services.xserver.displayManager.lightdm.greeters.slick = { services.xserver.displayManager.lightdm.greeters.slick = {
@ -123,7 +123,7 @@ in {
# Budgie Desktop. # Budgie Desktop.
budgie-backgrounds budgie-backgrounds
budgie-control-center' budgie-control-center'
(budgie.budgie-desktop-with-plugins.override { plugins = cfg.extraPlugins; }) (budgie-desktop-with-plugins.override { plugins = cfg.extraPlugins; })
budgie.budgie-desktop-view budgie.budgie-desktop-view
budgie.budgie-screensaver budgie.budgie-screensaver
budgie.budgie-session budgie.budgie-session
@ -210,7 +210,7 @@ in {
xdg.portal.extraPortals = with pkgs; [ xdg.portal.extraPortals = with pkgs; [
xdg-desktop-portal-gtk # provides a XDG Portals implementation. xdg-desktop-portal-gtk # provides a XDG Portals implementation.
]; ];
xdg.portal.configPackages = mkDefault [ pkgs.budgie.budgie-desktop ]; xdg.portal.configPackages = mkDefault [ pkgs.budgie-desktop ];
services.geoclue2.enable = mkDefault true; # for BCC's Privacy > Location Services panel. services.geoclue2.enable = mkDefault true; # for BCC's Privacy > Location Services panel.
services.upower.enable = config.powerManagement.enable; # for Budgie's Status Indicator and BCC's Power panel. services.upower.enable = config.powerManagement.enable; # for Budgie's Status Indicator and BCC's Power panel.

View File

@ -63,7 +63,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
with subtest("Check if various environment variables are set"): with subtest("Check if various environment variables are set"):
cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf /run/current-system/sw/bin/budgie-wm)/environ" cmd = "xargs --null --max-args=1 echo < /proc/$(pgrep -xf /run/current-system/sw/bin/budgie-wm)/environ"
machine.succeed(f"{cmd} | grep 'XDG_CURRENT_DESKTOP' | grep 'Budgie:GNOME'") machine.succeed(f"{cmd} | grep 'XDG_CURRENT_DESKTOP' | grep 'Budgie:GNOME'")
machine.succeed(f"{cmd} | grep 'BUDGIE_PLUGIN_DATADIR' | grep '${pkgs.budgie.budgie-desktop-with-plugins.pname}'") machine.succeed(f"{cmd} | grep 'BUDGIE_PLUGIN_DATADIR' | grep '${pkgs.budgie-desktop-with-plugins.pname}'")
with subtest("Open run dialog"): with subtest("Open run dialog"):
machine.send_key("alt-f2") machine.send_key("alt-f2")

View File

@ -5,7 +5,7 @@
substituteAll, substituteAll,
accountsservice, accountsservice,
adwaita-icon-theme, adwaita-icon-theme,
budgie, budgie-desktop,
cheese, cheese,
clutter, clutter,
clutter-gtk, clutter-gtk,
@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
patches = [ patches = [
(substituteAll { (substituteAll {
src = ./paths.patch; src = ./paths.patch;
budgie_desktop = budgie.budgie-desktop; budgie_desktop = budgie-desktop;
gcm = gnome.gnome-color-manager; gcm = gnome.gnome-color-manager;
inherit inherit
cups cups
@ -167,7 +167,7 @@ stdenv.mkDerivation (finalAttrs: {
preFixup = '' preFixup = ''
gappsWrapperArgs+=( gappsWrapperArgs+=(
# Sound theme # Sound theme
--prefix XDG_DATA_DIRS : "${budgie.budgie-desktop}/share" --prefix XDG_DATA_DIRS : "${budgie-desktop}/share"
# Thumbnailers (for setting user profile pictures) # Thumbnailers (for setting user profile pictures)
--prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share" --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
--prefix XDG_DATA_DIRS : "${librsvg}/share" --prefix XDG_DATA_DIRS : "${librsvg}/share"

View File

@ -4,7 +4,7 @@
fetchFromGitHub, fetchFromGitHub,
accountsservice, accountsservice,
alsa-lib, alsa-lib,
budgie-screensaver, budgie,
docbook-xsl-nons, docbook-xsl-nons,
glib, glib,
gnome, gnome,
@ -23,7 +23,6 @@
libpulseaudio, libpulseaudio,
libuuid, libuuid,
libwnck, libwnck,
magpie,
mesa, mesa,
meson, meson,
ninja, ninja,
@ -65,7 +64,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ buildInputs = [
accountsservice accountsservice
alsa-lib alsa-lib
budgie-screensaver budgie.budgie-screensaver
glib glib
gnome-desktop gnome-desktop
gnome.gnome-settings-daemon gnome.gnome-settings-daemon
@ -83,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: {
libpulseaudio libpulseaudio
libuuid libuuid
libwnck libwnck
magpie budgie.magpie
mesa mesa
polkit polkit
sassc sassc

View File

@ -6,9 +6,7 @@ lib.makeScope newScope (
inherit (self) callPackage; inherit (self) callPackage;
in in
{ {
budgie-desktop = callPackage ./budgie-desktop { };
budgie-desktop-view = callPackage ./budgie-desktop-view { }; budgie-desktop-view = callPackage ./budgie-desktop-view { };
budgie-desktop-with-plugins = callPackage ./budgie-desktop/wrapper.nix { };
budgie-gsettings-overrides = callPackage ./budgie-gsettings-overrides { }; budgie-gsettings-overrides = callPackage ./budgie-gsettings-overrides { };
budgie-screensaver = callPackage ./budgie-screensaver { }; budgie-screensaver = callPackage ./budgie-screensaver { };
budgie-session = callPackage ./budgie-session { }; budgie-session = callPackage ./budgie-session { };

View File

@ -6,7 +6,7 @@
ninja, ninja,
pkg-config, pkg-config,
vala, vala,
budgie, budgie-desktop,
gtk3, gtk3,
libpeas, libpeas,
}: }:
@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
buildInputs = [ buildInputs = [
budgie.budgie-desktop budgie-desktop
gtk3 gtk3
libpeas libpeas
]; ];

View File

@ -3,7 +3,7 @@
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
accountsservice, accountsservice,
budgie, budgie-desktop,
gtk3, gtk3,
intltool, intltool,
libgee, libgee,
@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ buildInputs = [
accountsservice accountsservice
budgie.budgie-desktop budgie-desktop
gtk3 gtk3
libgee libgee
libpeas libpeas