Fix icon theme dependencies
This commit is contained in:
parent
575604589a
commit
84da57ceef
|
@ -5,7 +5,8 @@ rec {
|
|||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
package = pkgs.callPackage ../pkgs/gruvbox-material-gtk.nix { hiDpi = true; };
|
||||
package =
|
||||
pkgs.callPackage ../pkgs/gruvbox-material-gtk.nix { hiDpi = true; };
|
||||
name = "gruvbox-material";
|
||||
};
|
||||
iconTheme = {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, gtk3, pantheon, breeze-icons, gnome-icon-theme
|
||||
, hicolor-icon-theme }:
|
||||
{ lib, stdenv, fetchFromGitHub, gtk3, papirus-icon-theme, hicolor-icon-theme }:
|
||||
|
||||
let lock = builtins.fromJSON (builtins.readFile ../flake.lock);
|
||||
in stdenv.mkDerivation rec {
|
||||
|
@ -15,15 +14,14 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ gtk3 ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pantheon.elementary-icon-theme
|
||||
breeze-icons
|
||||
gnome-icon-theme
|
||||
hicolor-icon-theme
|
||||
];
|
||||
propagatedBuildInputs = [ papirus-icon-theme hicolor-icon-theme ];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
buildPhase = ''
|
||||
sed -i 's|^Inherits=.*$|Inherits=Papirus,hicolor|' icons/Gruvbox-Material-Dark/index.theme
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/icons
|
||||
|
|
Loading…
Reference in a new issue