Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

gnome-2048: fix build with meson 0.61

+10
+10
pkgs/desktops/gnome/games/gnome-2048/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , wrapGAppsHook 5 , meson 6 , vala ··· 22 url = "mirror://gnome/sources/gnome-2048/${lib.versions.majorMinor version}/gnome-2048-${version}.tar.xz"; 23 sha256 = "0s5fg4z5in1h39fcr69j1qc5ynmg7a8mfprk3mc3c0csq3snfwz2"; 24 }; 25 26 nativeBuildInputs = [ 27 itstool
··· 1 { lib 2 , stdenv 3 , fetchurl 4 + , fetchpatch 5 , wrapGAppsHook 6 , meson 7 , vala ··· 23 url = "mirror://gnome/sources/gnome-2048/${lib.versions.majorMinor version}/gnome-2048-${version}.tar.xz"; 24 sha256 = "0s5fg4z5in1h39fcr69j1qc5ynmg7a8mfprk3mc3c0csq3snfwz2"; 25 }; 26 + 27 + patches = [ 28 + # Fix build with meson 0.61 29 + # https://gitlab.gnome.org/GNOME/gnome-2048/-/merge_requests/21 30 + (fetchpatch { 31 + url = "https://gitlab.gnome.org/GNOME/gnome-2048/-/commit/194e22699f7166a016cd39ba26dd719aeecfc868.patch"; 32 + sha256 = "Qpn/OJJwblRm5Pi453aU2HwbrNjsf+ftmSnns/5qZ9E="; 33 + }) 34 + ]; 35 36 nativeBuildInputs = [ 37 itstool