mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
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 {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user