tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nuked-md: Fetch patch for missing include on Darwin
OPNA2608
2 years ago
d4397100
4a4f68c0
+10
1 changed file
expand all
collapse all
unified
split
pkgs
applications
emulators
nuked-md
default.nix
+10
pkgs/applications/emulators/nuked-md/default.nix
···
1
{ stdenv
2
, lib
3
, fetchFromGitHub
0
4
, gitUpdater
5
, cmake
6
, SDL2
···
16
rev = "v${finalAttrs.version}";
17
hash = "sha256-Pe+TSu9FBUhxtACq+6jMbrUxiwKLOJgQbEcmUrcrjMs=";
18
};
0
0
0
0
0
0
0
0
0
19
20
# Interesting detail about our SDL2 packaging:
21
# Because we build it with the configure script instead of CMake, we ship sdl2-config.cmake instead of SDL2Config.cmake
···
1
{ stdenv
2
, lib
3
, fetchFromGitHub
4
+
, fetchpatch
5
, gitUpdater
6
, cmake
7
, SDL2
···
17
rev = "v${finalAttrs.version}";
18
hash = "sha256-Pe+TSu9FBUhxtACq+6jMbrUxiwKLOJgQbEcmUrcrjMs=";
19
};
20
+
21
+
patches = [
22
+
# Remove when version > 1.2
23
+
(fetchpatch {
24
+
name = "0001-nuked-md-Fix-missing-string-h-include.patch";
25
+
url = "https://github.com/nukeykt/Nuked-MD/commit/b875cd79104217af581131b22f4111409273617a.patch";
26
+
hash = "sha256-Mx3jmrlBbxdz3ZBr4XhmBk1S04xB0uaxzPXpXSlipV4=";
27
+
})
28
+
];
29
30
# Interesting detail about our SDL2 packaging:
31
# Because we build it with the configure script instead of CMake, we ship sdl2-config.cmake instead of SDL2Config.cmake