papirus-maia-icon-theme: add missing parent icon themes
Also: - move postFixup actions to postInstallPhase
This commit is contained in:
parent
1aac597a51
commit
7cd86ce7a1
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "papirus-maia-icon-theme";
|
pname = "papirus-maia-icon-theme";
|
||||||
@ -16,11 +16,20 @@ stdenv.mkDerivation rec {
|
|||||||
gtk3
|
gtk3
|
||||||
];
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
breeze-icons
|
||||||
|
gnome-icon-theme
|
||||||
|
papirus-icon-theme
|
||||||
|
hicolor-icon-theme
|
||||||
|
];
|
||||||
|
|
||||||
|
dontDropIconThemeCache = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace CMakeLists.txt --replace /usr "$out"
|
substituteInPlace CMakeLists.txt --replace /usr "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postInstall = ''
|
||||||
for theme in $out/share/icons/*; do
|
for theme in $out/share/icons/*; do
|
||||||
gtk-update-icon-cache $theme
|
gtk-update-icon-cache $theme
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user