mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nordzy-icon-theme: etc
Removed unnecessary input. Set platforms to linux only. Using gtk3 again and making sure the cache is not removed.
This commit is contained in:
parent
9d6b9ddac5
commit
e0bc5ad7d9
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user