summary refs log tree commit diff
path: root/pkgs/data/icons
diff options
context:
space:
mode:
authorAlexander Nortung <alex_nortung@live.dk>2021-12-28 08:59:42 +0100
committerAlexander Nortung <alex_nortung@live.dk>2021-12-28 08:59:42 +0100
commite0bc5ad7d9391e136e86e5a9f57991f6cfd934c4 (patch)
tree1ad52ab8afdd6391029c755ea08a9642c92b6aa2 /pkgs/data/icons
parent9d6b9ddac5cebd17a99c397389c4f836c1d175dd (diff)
downloadnixpkgs-e0bc5ad7d9391e136e86e5a9f57991f6cfd934c4.tar
nixpkgs-e0bc5ad7d9391e136e86e5a9f57991f6cfd934c4.tar.gz
nixpkgs-e0bc5ad7d9391e136e86e5a9f57991f6cfd934c4.tar.bz2
nixpkgs-e0bc5ad7d9391e136e86e5a9f57991f6cfd934c4.tar.lz
nixpkgs-e0bc5ad7d9391e136e86e5a9f57991f6cfd934c4.tar.xz
nixpkgs-e0bc5ad7d9391e136e86e5a9f57991f6cfd934c4.tar.zst
nixpkgs-e0bc5ad7d9391e136e86e5a9f57991f6cfd934c4.zip
nordzy-icon-theme: etc
Removed unnecessary input. Set platforms to linux only. Using gtk3 again and making sure the cache is not removed.
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r--pkgs/data/icons/nordzy-icon-theme/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/data/icons/nordzy-icon-theme/default.nix b/pkgs/data/icons/nordzy-icon-theme/default.nix
index 13c8d154f88..cf87bb01cc1 100644
--- a/pkgs/data/icons/nordzy-icon-theme/default.nix
+++ b/pkgs/data/icons/nordzy-icon-theme/default.nix
@@ -1,7 +1,6 @@
 { stdenvNoCC
 , fetchFromGitHub
 , lib
-, bash
 , gtk3
 , nordzy-theme-name ? "Nordzy"
 , nordzy-themes ? [ "all" ] # Override this to only install selected themes
@@ -21,14 +20,17 @@ stdenvNoCC.mkDerivation {
     sha256 = "Jqn5CF80xlYJ7H4qI1VEj91vcKPPoMXP5+sPs0ksiC4=";
   };
 
-  # In the post patch phase we should fir st make sure to patch shebangs.
-  # We can also remove the gtk-update-icon-cache since the cache will later be built by the system.
+  # In the post patch phase we should first make sure to patch shebangs.
   postPatch = ''
     patchShebangs install.sh
-    substituteInPlace install.sh \
-      --replace "gtk-update-icon-cache" "#"
   '';
 
+  nativeBuildInputs = [
+    gtk3
+  ];
+
+  dontDropIconThemeCache = true;
+
   installPhase = ''
     runHook preInstall
 
@@ -46,7 +48,7 @@ stdenvNoCC.mkDerivation {
     description = "A free and open source icon theme using the Nord color palette and based on WhiteSur and Numix Icon Theme";
     homepage = "https://github.com/alvatip/Nordzy-icon";
     license = licenses.gpl3;
-    platforms = platforms.all;
+    platforms = platforms.linux;
     maintainers = with maintainers; [
       alexnortung
     ];