tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cataclysm-dda: fix build
Raphael Robatsch
3 years ago
69c89075
474faf3a
+18
-3
1 changed file
expand all
collapse all
unified
split
pkgs
games
cataclysm-dda
stable.nix
+18
-3
pkgs/games/cataclysm-dda/stable.nix
···
1
1
-
{ lib, callPackage, CoreFoundation, fetchFromGitHub, pkgs, wrapCDDA, attachPkgs
2
2
-
, tiles ? true, Cocoa
1
1
+
{ lib
2
2
+
, callPackage
3
3
+
, CoreFoundation
4
4
+
, fetchFromGitHub
5
5
+
, fetchpatch
6
6
+
, pkgs
7
7
+
, wrapCDDA
8
8
+
, attachPkgs
9
9
+
, tiles ? true
10
10
+
, Cocoa
3
11
, debug ? false
4
12
, useXdgDir ? false
5
13
}:
···
22
30
patches = [
23
31
# Unconditionally look for translation files in $out/share/locale
24
32
./locale-path-stable.patch
33
33
+
34
34
+
# Fixes compiler errors when compiling against SDL2_ttf >= 1.20.0, https://github.com/CleverRaven/Cataclysm-DDA/pull/59083
35
35
+
# Remove with next version update.
36
36
+
(fetchpatch {
37
37
+
url = "https://github.com/CleverRaven/Cataclysm-DDA/commit/625fadf3d493c1712d9ade2b849ff6a79765c7a7.patch";
38
38
+
hash = "sha256-c0NXkd6jSGSruKrwuYUmLbgiL97YQDkUm313fnMJ7GA=";
39
39
+
})
25
40
];
26
41
27
42
makeFlags = common.makeFlags ++ [
···
31
46
32
47
meta = common.meta // {
33
48
maintainers = with lib.maintainers;
34
34
-
common.meta.maintainers ++ [ skeidel ];
49
49
+
common.meta.maintainers ++ [ skeidel ];
35
50
};
36
51
});
37
52
in