diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-16 10:38:23 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-19 21:29:34 -0300 |
commit | 7cd86ce7a13ff22a9c3bcbfc78bcf64375fd748f (patch) | |
tree | 39a8868ee0002efadd2b375a43111ac288eb109d /pkgs/data/icons | |
parent | 1aac597a51fd21cb8e8639566753c73c0574a3c0 (diff) |
papirus-maia-icon-theme: add missing parent icon themes
Also: - move postFixup actions to postInstallPhase
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/papirus-maia-icon-theme/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/data/icons/papirus-maia-icon-theme/default.nix b/pkgs/data/icons/papirus-maia-icon-theme/default.nix index a90182cc8d785..4cfe50d7836bc 100644 --- a/pkgs/data/icons/papirus-maia-icon-theme/default.nix +++ b/pkgs/data/icons/papirus-maia-icon-theme/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, gtk3 }: +{ stdenv, fetchFromGitHub, cmake, gtk3, breeze-icons, gnome-icon-theme, papirus-icon-theme, hicolor-icon-theme }: stdenv.mkDerivation rec { pname = "papirus-maia-icon-theme"; @@ -16,11 +16,20 @@ stdenv.mkDerivation rec { gtk3 ]; + propagatedBuildInputs = [ + breeze-icons + gnome-icon-theme + papirus-icon-theme + hicolor-icon-theme + ]; + + dontDropIconThemeCache = true; + postPatch = '' substituteInPlace CMakeLists.txt --replace /usr "$out" ''; - postFixup = '' + postInstall = '' for theme in $out/share/icons/*; do gtk-update-icon-cache $theme done |