about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/data/icons/nordzy-icon-theme/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/data/icons/nordzy-icon-theme/default.nix b/pkgs/data/icons/nordzy-icon-theme/default.nix
index 2c8813ce5df30..5c06b5c8767b4 100644
--- a/pkgs/data/icons/nordzy-icon-theme/default.nix
+++ b/pkgs/data/icons/nordzy-icon-theme/default.nix
@@ -3,6 +3,7 @@
 , lib
 , bash
 , gtk3
+, nordzy-theme-name ? "Nordzy"
 , nordzy-themes ? [ "all" ] # Override this to only install selected themes
 }:
 
@@ -23,8 +24,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ gtk3 ];
 
   postPatch = ''
-    substituteInPlace install.sh \
-      --replace /bin/bash ${bash}/bin/bash
+    patchShebangs install.sh
   '';
 
   installPhase = ''
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
 
     mkdir -p $out/share/icons
     ./install.sh --dest $out/share/icons \
-      -n Nordzy \
+      -n ${nordzy-theme-name} \
       -t ${themes-arg-string}
 
     runHook postInstall
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
     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 = [ "x86_64-linux" ];
+    platforms = platforms.all;
     maintainers = with maintainers; [
       alexnortung
     ];