tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
gnome-2048: fix build with meson 0.61
Bobby Rong
3 years ago
5fa8d3ac
68824fbc
+10
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
gnome
games
gnome-2048
default.nix
+10
pkgs/desktops/gnome/games/gnome-2048/default.nix
···
1
1
{ lib
2
2
, stdenv
3
3
, fetchurl
4
4
+
, fetchpatch
4
5
, wrapGAppsHook
5
6
, meson
6
7
, vala
···
22
23
url = "mirror://gnome/sources/gnome-2048/${lib.versions.majorMinor version}/gnome-2048-${version}.tar.xz";
23
24
sha256 = "0s5fg4z5in1h39fcr69j1qc5ynmg7a8mfprk3mc3c0csq3snfwz2";
24
25
};
26
26
+
27
27
+
patches = [
28
28
+
# Fix build with meson 0.61
29
29
+
# https://gitlab.gnome.org/GNOME/gnome-2048/-/merge_requests/21
30
30
+
(fetchpatch {
31
31
+
url = "https://gitlab.gnome.org/GNOME/gnome-2048/-/commit/194e22699f7166a016cd39ba26dd719aeecfc868.patch";
32
32
+
sha256 = "Qpn/OJJwblRm5Pi453aU2HwbrNjsf+ftmSnns/5qZ9E=";
33
33
+
})
34
34
+
];
25
35
26
36
nativeBuildInputs = [
27
37
itstool