Skip to content

Commit b8d482a

Browse files
authored
gnome-recipes: fix gcc-14 build (NixOS#373297)
2 parents d554f27 + 44ac0b5 commit b8d482a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pkgs/by-name/gn/gnome-recipes/package.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
stdenv,
33
lib,
44
fetchFromGitLab,
5+
fetchpatch,
56
meson,
67
ninja,
78
pkg-config,
@@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
3536
sha256 = "GyFOwEYmipQdFLtTXn7+NvhDTzxBlOAghr3cZT4QpQw=";
3637
};
3738

39+
patches = [
40+
# gcc-14 build failure fix
41+
(fetchpatch {
42+
name = "gcc-14.patch";
43+
url = "https://gitlab.gnome.org/GNOME/recipes/-/commit/c0304675f63a33737b24fdf37e06c6b154a91a31.patch";
44+
hash = "sha256-YTf4NDwUiU/q96RAXKTO499pW9sPrgh8IvdPBPEnV6Q=";
45+
})
46+
];
47+
3848
nativeBuildInputs = [
3949
meson
4050
ninja

0 commit comments

Comments
 (0)