tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
classicube: 1.3.2 -> 1.3.3
360ied
3 years ago
3f525e0d
4cdda329
+5
-5
2 changed files
expand all
collapse all
unified
split
pkgs
games
classicube
default.nix
font-location.patch
+3
-3
pkgs/games/classicube/default.nix
···
12
12
13
13
stdenv.mkDerivation rec {
14
14
pname = "ClassiCube";
15
15
-
version = "1.3.2";
15
15
+
version = "1.3.3";
16
16
17
17
src = fetchFromGitHub {
18
18
owner = "UnknownShadow200";
19
19
repo = "ClassiCube";
20
20
rev = version;
21
21
-
sha256 = "6a0f7b03ef3a7f74cf42ffa5b88ab1a7b7beb4d864871a1b700465343ae74bb6";
21
21
+
sha256 = "a31e95a7f49e58aaf4271015dd60730fc74d9776dfac425a8f14eb64cdcd9944";
22
22
};
23
23
24
24
nativeBuildInputs = [ dos2unix makeWrapper ];
···
74
74
# in ~/.local/share instead.
75
75
wrapProgram "$out/bin/ClassiCube" \
76
76
--run 'mkdir -p "$HOME/.local/share/ClassiCube"' \
77
77
-
--add-flags '-d"$HOME/.local/share/ClassiCube"'
77
77
+
--run 'cd "$HOME/.local/share/ClassiCube"'
78
78
'';
79
79
80
80
meta = with lib; {
+2
-2
pkgs/games/classicube/font-location.patch
···
6
6
String_FromConst("/Library/Fonts")
7
7
};
8
8
#else
9
9
-
- static const cc_string dirs[2] = {
9
9
+
- static const cc_string dirs[] = {
10
10
- String_FromConst("/usr/share/fonts"),
11
11
- String_FromConst("/usr/local/share/fonts")
12
12
-
+ static const cc_string dirs[1] = {
12
12
+
+ static const cc_string dirs[] = {
13
13
+ String_FromConst("%NIXPKGS_FONT_PATH%")
14
14
};
15
15
#endif