tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
numix-icon-theme-circle: build GTK icon cache
José Romildo Malaquias
8 years ago
86036cc6
b087ca23
+8
-4
1 changed file
expand all
collapse all
unified
split
pkgs
data
icons
numix-icon-theme-circle
default.nix
+8
-4
pkgs/data/icons/numix-icon-theme-circle/default.nix
···
1
1
-
{ stdenv, fetchFromGitHub, numix-icon-theme }:
1
1
+
{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
version = "18-02-16";
···
14
14
sha256 = "0q08q1czsk6h0dxqscbgryr12xaakp4zbch37z0jxpwh087gnq4f";
15
15
};
16
16
17
17
-
buildInputs = [ numix-icon-theme ];
18
18
-
19
19
-
dontBuild = true;
17
17
+
nativeBuildInputs = [ gtk3 numix-icon-theme ];
20
18
21
19
installPhase = ''
22
20
install -dm 755 $out/share/icons
23
21
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
22
22
+
'';
23
23
+
24
24
+
postFixup = ''
25
25
+
for theme in $out/share/icons/*; do
26
26
+
gtk-update-icon-cache $theme
27
27
+
done
24
28
'';
25
29
26
30
meta = with stdenv.lib; {