From b856f4ef6094e08e0a3b01bb4951306f6c2e9485 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 18 Mar 2022 10:47:26 +0800 Subject: [PATCH] pantheon.elementary-greeter: pick up hardcoded icon theme wrapGAppsHook no longer pick up XDG_ICON_DIRS for us. --- .../desktops/pantheon/desktop/elementary-greeter/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix b/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix index 45a8f119ee0..84033e047eb 100644 --- a/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix +++ b/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix @@ -91,8 +91,11 @@ stdenv.mkDerivation rec { # for the compositor --prefix PATH : "$out/bin" - # the theme is hardcoded + # the GTK theme is hardcoded --prefix XDG_DATA_DIRS : "${elementary-gtk-theme}/share" + + # the icon theme is hardcoded + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" ) '';