summary refs log tree commit diff
path: root/pkgs/data/icons/nordzy-icon-theme/default.nix
diff options
context:
space:
mode:
authorAlexander Nortung <alex_nortung@live.dk>2021-12-25 10:55:34 +0100
committerAlexander Nortung <alex_nortung@live.dk>2021-12-25 10:55:34 +0100
commit236074ea759894518beda3eb0ef91070bdfdf0e9 (patch)
treecc7afaf31c442411f798c4cab447549279f26ed2 /pkgs/data/icons/nordzy-icon-theme/default.nix
parent35b60b25aa588fe30e236a44cfeacb5a5a69c1a9 (diff)
downloadnixpkgs-236074ea759894518beda3eb0ef91070bdfdf0e9.tar
nixpkgs-236074ea759894518beda3eb0ef91070bdfdf0e9.tar.gz
nixpkgs-236074ea759894518beda3eb0ef91070bdfdf0e9.tar.bz2
nixpkgs-236074ea759894518beda3eb0ef91070bdfdf0e9.tar.lz
nixpkgs-236074ea759894518beda3eb0ef91070bdfdf0e9.tar.xz
nixpkgs-236074ea759894518beda3eb0ef91070bdfdf0e9.tar.zst
nixpkgs-236074ea759894518beda3eb0ef91070bdfdf0e9.zip
nordzy-icon-theme: etc
set platforms to all, and added nordzy-theme-name argument
Diffstat (limited to 'pkgs/data/icons/nordzy-icon-theme/default.nix')
-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 2c8813ce5df..5c06b5c8767 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
     ];