We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2db882d commit b1a81b8Copy full SHA for b1a81b8
pkgs/by-name/x1/x16/package.nix
@@ -2,6 +2,7 @@
2
lib,
3
stdenv,
4
fetchFromGitHub,
5
+ fetchpatch2,
6
SDL2,
7
callPackage,
8
zlib,
@@ -18,6 +19,15 @@ stdenv.mkDerivation (finalAttrs: {
18
19
hash = "sha256-E4TosRoORCWLotOIXROP9oqwqo1IRSa6X13GnmuxE9A=";
20
};
21
22
+ # Fix build on GCC 14
23
+ # TODO: Remove for next release as it should already be included in upstream
24
+ patches = [
25
+ (fetchpatch2 {
26
+ url = "https://github.com/X16Community/x16-emulator/commit/3da83c93d46a99635cf73a6f9fdcf1bd4a4ae04f.patch";
27
+ hash = "sha256-DZItqq7B1lXZ6VFsQUdQKn0wt1HaX4ymq2pI2DamY3w=";
28
+ })
29
+ ];
30
+
31
postPatch = ''
32
substituteInPlace Makefile \
33
--replace-fail '/bin/echo' 'echo'
0 commit comments