tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pingus: fix build with gcc7
Piotr Bogdan
8 years ago
2dfeb6fc
6625fb8a
+9
-2
1 changed file
expand all
collapse all
unified
split
pkgs
games
pingus
default.nix
+9
-2
pkgs/games/pingus/default.nix
···
1
1
-
{stdenv, fetchurl, scons, SDL, SDL_image, boost, libpng, SDL_mixer, pkgconfig
2
2
-
, libGLU_combined}:
1
1
+
{stdenv, fetchurl, fetchpatch, scons, SDL, SDL_image, boost, libpng, SDL_mixer
2
2
+
, pkgconfig, libGLU_combined}:
3
3
let
4
4
s = # Generated upstream information
5
5
rec {
···
18
18
src = fetchurl {
19
19
inherit (s) url sha256;
20
20
};
21
21
+
patches = [
22
22
+
# fix build with gcc7
23
23
+
(fetchpatch {
24
24
+
url = https://github.com/Pingus/pingus/commit/df6e2f445d3e2925a94d22faeb17be9444513e92.patch;
25
25
+
sha256 = "0nqyhznnnvpgfa6rfv8rapjfpw99b67n97jfqp9r3hpib1b3ja6p";
26
26
+
})
27
27
+
];
21
28
makeFlags = '' PREFIX="$(out)" '';
22
29
meta = {
23
30
inherit (s) version;