diff options
author | Alexander Nortung <alex_nortung@live.dk> | 2021-12-25 11:26:04 +0100 |
---|---|---|
committer | Alexander Nortung <alex_nortung@live.dk> | 2021-12-25 11:26:04 +0100 |
commit | 9d6b9ddac5cebd17a99c397389c4f836c1d175dd (patch) | |
tree | d1f4afa86db5e72d041f5724e9d207c7db60ae39 /pkgs | |
parent | 236074ea759894518beda3eb0ef91070bdfdf0e9 (diff) | |
download | nixpkgs-9d6b9ddac5cebd17a99c397389c4f836c1d175dd.tar nixpkgs-9d6b9ddac5cebd17a99c397389c4f836c1d175dd.tar.gz nixpkgs-9d6b9ddac5cebd17a99c397389c4f836c1d175dd.tar.bz2 nixpkgs-9d6b9ddac5cebd17a99c397389c4f836c1d175dd.tar.lz nixpkgs-9d6b9ddac5cebd17a99c397389c4f836c1d175dd.tar.xz nixpkgs-9d6b9ddac5cebd17a99c397389c4f836c1d175dd.tar.zst nixpkgs-9d6b9ddac5cebd17a99c397389c4f836c1d175dd.zip |
nordzy-icon-theme: etc
Using stdvenvNoCC. Patching away the call to gtk-update-icon-cache, thus there is no longer any need for gtk3.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/data/icons/nordzy-icon-theme/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/data/icons/nordzy-icon-theme/default.nix b/pkgs/data/icons/nordzy-icon-theme/default.nix index 5c06b5c8767..13c8d154f88 100644 --- a/pkgs/data/icons/nordzy-icon-theme/default.nix +++ b/pkgs/data/icons/nordzy-icon-theme/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ stdenvNoCC , fetchFromGitHub , lib , bash @@ -10,7 +10,7 @@ let themes-arg-string = lib.strings.concatMapStrings (theme: "-t ${theme} ") nordzy-themes; in -stdenv.mkDerivation rec { +stdenvNoCC.mkDerivation { pname = "nordzy-icon-theme"; version = "unstable-2021-12-14"; @@ -21,10 +21,12 @@ stdenv.mkDerivation rec { sha256 = "Jqn5CF80xlYJ7H4qI1VEj91vcKPPoMXP5+sPs0ksiC4="; }; - nativeBuildInputs = [ gtk3 ]; - + # 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. postPatch = '' patchShebangs install.sh + substituteInPlace install.sh \ + --replace "gtk-update-icon-cache" "#" ''; installPhase = '' @@ -33,7 +35,7 @@ stdenv.mkDerivation rec { mkdir -p $out/share/icons ./install.sh --dest $out/share/icons \ -n ${nordzy-theme-name} \ - -t ${themes-arg-string} + ${themes-arg-string} runHook postInstall ''; |