tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mojave-gtk-theme: 2022-06-07 -> 2022-10-21
José Romildo
3 years ago
f86d8fc2
202ea673
+6
-6
1 changed file
expand all
collapse all
unified
split
pkgs
data
themes
mojave
default.nix
+6
-6
pkgs/data/themes/mojave/default.nix
···
1
1
{ lib
2
2
-
, stdenv
2
2
+
, stdenvNoCC
3
3
, fetchFromGitHub
4
4
, fetchurl
5
5
, glib
···
29
29
lib.checkListOfEnum "${pname}: opacity variants" [ "standard" "solid" ] opacityVariants
30
30
lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink" "red" "orange" "yellow" "green" "grey" "all" ] themeVariants
31
31
32
32
-
stdenv.mkDerivation rec {
32
32
+
stdenvNoCC.mkDerivation rec {
33
33
inherit pname;
34
34
-
version = "2022-06-07";
34
34
+
version = "2022-10-21";
35
35
36
36
srcs = [
37
37
(fetchFromGitHub {
38
38
owner = "vinceliuice";
39
39
repo = pname;
40
40
rev = version;
41
41
-
sha256 = "sha256-OEqB2PSZ5KoxXAUhlyT1PRUzckVz+jTCIoAqP8gVqTk=";
41
41
+
sha256 = "sha256-0OqQXyv/fcbKTzvQUVIbUw5Y27hU1bzwx/0DelMEZIs=";
42
42
})
43
43
]
44
44
++
···
114
114
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
115
115
''}
116
116
117
117
-
# Replace duplicate files with hardlinks to the first file in each
117
117
+
# Replace duplicate files with soft links to the first file in each
118
118
# set of duplicates, reducing the installed size in about 53%
119
119
-
jdupes -L -r $out/share
119
119
+
jdupes --quiet --link-soft --recurse $out/share
120
120
121
121
runHook postInstall
122
122
'';