tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wesnoth: move to pkgs/by-name
Rafael Ieda
4 months ago
3bdfcf7a
7c6a695e
+12
-14
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
we
wesnoth
package.nix
top-level
all-packages.nix
+12
-2
pkgs/games/wesnoth/default.nix
pkgs/by-name/we/wesnoth/package.nix
···
12
12
SDL2_ttf,
13
13
pango,
14
14
gettext,
15
15
-
boost,
15
15
+
boost186,
16
16
libvorbis,
17
17
fribidi,
18
18
dbus,
···
20
20
pcre,
21
21
openssl,
22
22
icu,
23
23
-
lua,
23
23
+
lua5_4,
24
24
curl,
25
25
nix-update-script,
26
26
}:
27
27
+
28
28
+
let
29
29
+
boost = boost186;
30
30
+
# wesnoth requires lua built with c++, see https://github.com/wesnoth/wesnoth/pull/8234
31
31
+
lua = lua5_4.override {
32
32
+
postConfigure = ''
33
33
+
makeFlagsArray+=("CC=$CXX")
34
34
+
'';
35
35
+
};
36
36
+
in
27
37
28
38
stdenv.mkDerivation (finalAttrs: {
29
39
pname = "wesnoth";
-12
pkgs/top-level/all-packages.nix
···
13917
13917
13918
13918
warsow = callPackage ../games/warsow { };
13919
13919
13920
13920
-
wesnoth = callPackage ../games/wesnoth {
13921
13921
-
boost = boost186;
13922
13922
-
# wesnoth requires lua built with c++, see https://github.com/wesnoth/wesnoth/pull/8234
13923
13923
-
lua = lua5_4.override {
13924
13924
-
postConfigure = ''
13925
13925
-
makeFlagsArray+=("CC=$CXX")
13926
13926
-
'';
13927
13927
-
};
13928
13928
-
};
13929
13929
-
13930
13930
-
wesnoth-dev = wesnoth;
13931
13931
-
13932
13920
inherit (callPackage ../games/xonotic { })
13933
13921
xonotic-data
13934
13922
xonotic