mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
lumina.lumina: update icon theme caches
This commit is contained in:
parent
a31ae59bb2
commit
e012556e45
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fluxbox
|
, fluxbox
|
||||||
|
, hicolor-icon-theme
|
||||||
, libarchive
|
, libarchive
|
||||||
, numlockx
|
, numlockx
|
||||||
, qmake
|
, qmake
|
||||||
|
@ -34,6 +35,7 @@ mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
fluxbox # window manager for Lumina DE
|
fluxbox # window manager for Lumina DE
|
||||||
|
hicolor-icon-theme
|
||||||
libarchive # make `bsdtar` available for lumina-archiver
|
libarchive # make `bsdtar` available for lumina-archiver
|
||||||
numlockx # required for changing state of numlock at login
|
numlockx # required for changing state of numlock at login
|
||||||
qtbase
|
qtbase
|
||||||
|
@ -48,6 +50,8 @@ mkDerivation rec {
|
||||||
xscreensaver
|
xscreensaver
|
||||||
];
|
];
|
||||||
|
|
||||||
|
dontDropIconThemeCache = true;
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./LuminaOS-NixOS.cpp.patch
|
./LuminaOS-NixOS.cpp.patch
|
||||||
];
|
];
|
||||||
|
@ -85,6 +89,12 @@ mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for theme in lumina-icons material-design-{dark,light}; do
|
||||||
|
gtk-update-icon-cache $out/share/icons/$theme
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
qmakeFlags = [
|
qmakeFlags = [
|
||||||
"LINUX_DISTRO=NixOS"
|
"LINUX_DISTRO=NixOS"
|
||||||
"CONFIG+=WITH_I18N"
|
"CONFIG+=WITH_I18N"
|
||||||
|
|
Loading…
Reference in a new issue