Merge pull request #283353 from OPNA2608/fix/nuked-md_darwin
nuked-md: Fetch patch for missing include on Darwin
This commit is contained in:
commit
8cfed4ebde
@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, gitUpdater
|
||||
, cmake
|
||||
, SDL2
|
||||
@ -17,6 +18,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-Pe+TSu9FBUhxtACq+6jMbrUxiwKLOJgQbEcmUrcrjMs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove when version > 1.2
|
||||
(fetchpatch {
|
||||
name = "0001-nuked-md-Fix-missing-string-h-include.patch";
|
||||
url = "https://github.com/nukeykt/Nuked-MD/commit/b875cd79104217af581131b22f4111409273617a.patch";
|
||||
hash = "sha256-Mx3jmrlBbxdz3ZBr4XhmBk1S04xB0uaxzPXpXSlipV4=";
|
||||
})
|
||||
];
|
||||
|
||||
# Interesting detail about our SDL2 packaging:
|
||||
# Because we build it with the configure script instead of CMake, we ship sdl2-config.cmake instead of SDL2Config.cmake
|
||||
# The former doesn't set SDL2_FOUND while the latter does (like CMake config scripts should), which causes this issue:
|
||||
|
Loading…
Reference in New Issue
Block a user