try to fix theme
This commit is contained in:
parent
79d7e8c00d
commit
7858cbeab3
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv }:
|
{ lib, stdenv, gtk3, adwaita-icon-theme, hicolor-icon-theme }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "theme-platinum9";
|
name = "theme-platinum9";
|
||||||
|
@ -10,6 +10,17 @@ stdenv.mkDerivation rec {
|
||||||
rev = version;
|
rev = version;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gtk3
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
adwaita-icon-theme
|
||||||
|
hicolor-icon-theme
|
||||||
|
];
|
||||||
|
|
||||||
|
dontDropIconThemeCache = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
@ -20,8 +31,12 @@ stdenv.mkDerivation rec {
|
||||||
mv PlatiPlus26 "$out/share/themes"
|
mv PlatiPlus26 "$out/share/themes"
|
||||||
|
|
||||||
# Install icons
|
# Install icons
|
||||||
# mkdir -p "$out/share/icons"
|
mkdir -p "$out/share/icons"
|
||||||
# mv NineIcons/ "$out/share/icons"
|
mv NineIcons/ "$out/share/icons"
|
||||||
|
|
||||||
|
for theme in $out/share/icons/*; do
|
||||||
|
gtk-update-icon-cache "$theme"
|
||||||
|
done
|
||||||
|
|
||||||
# Install fonts
|
# Install fonts
|
||||||
mkdir -p "$out/share/fonts/truetype"
|
mkdir -p "$out/share/fonts/truetype"
|
||||||
|
|
Loading…
Reference in New Issue