Most icons themes just copy a bunch of files from the source to the installation directory and therefore work perfectly fine with stdenvNoCC. All themes in pkgs/data/icons that still use stdenv after this change are failing to build with stdenvNoCC.
20 lines
558 B
Nix
20 lines
558 B
Nix
{ lib, stdenvNoCC, fetchurl }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "hicolor-icon-theme";
|
|
version = "0.17";
|
|
|
|
src = fetchurl {
|
|
url = "https://icon-theme.freedesktop.org/releases/hicolor-icon-theme-${version}.tar.xz";
|
|
sha256 = "1n59i3al3zx6p90ff0l43gzpzmlqnzm6hf5cryxqrlbi48sq8x1i";
|
|
};
|
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
meta = with lib; {
|
|
description = "Default fallback theme used by implementations of the icon theme specification";
|
|
homepage = "https://icon-theme.freedesktop.org/releases/";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|