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 {
services.displayManager.sessionPackages = with pkgs; [
budgie.budgie-desktop
budgie-desktop
];
services.xserver.displayManager.lightdm.greeters.slick = {
@ -123,7 +123,7 @@ in {
# Budgie Desktop.
budgie-backgrounds
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-screensaver
budgie.budgie-session
@ -210,7 +210,7 @@ in {
xdg.portal.extraPortals = with pkgs; [
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.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"):
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 '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"):
machine.send_key("alt-f2")

View File

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

View File

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

View File

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

View File

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

View File

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