From 76ab64ad6c10b2bab9934f66a841e7db9b8bf3f7 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Fri, 18 Mar 2022 09:55:41 +0800 Subject: [PATCH] elementary-planner: pick up hardcoded icon theme With https://github.com/NixOS/nixpkgs/pull/163623, we need to handle the hardcoded icon theme ourselves. Co-authored-by: Jan Tojnar --- pkgs/applications/office/elementary-planner/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/office/elementary-planner/default.nix b/pkgs/applications/office/elementary-planner/default.nix index 3cc94e2ff343..2cb3efd8f308 100644 --- a/pkgs/applications/office/elementary-planner/default.nix +++ b/pkgs/applications/office/elementary-planner/default.nix @@ -78,6 +78,8 @@ stdenv.mkDerivation rec { gappsWrapperArgs+=( # The GTK theme is hardcoded. --prefix XDG_DATA_DIRS : "${pantheon.elementary-gtk-theme}/share" + # The icon theme is hardcoded. + --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" ) '';