diff options
author | OPNA2608 <opna2608@protonmail.com> | 2024-01-24 01:37:08 +0100 |
---|---|---|
committer | OPNA2608 <opna2608@protonmail.com> | 2024-01-24 01:37:08 +0100 |
commit | d4397100e963f033e24ae47b1ea5e388065363d1 (patch) | |
tree | 301c58662681612fba6057f391d6bd2ce5cb0582 /pkgs/applications/emulators | |
parent | 4a4f68c095049436714cc142e15fa259d75a876d (diff) |
nuked-md: Fetch patch for missing include on Darwin
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/nuked-md/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/nuked-md/default.nix b/pkgs/applications/emulators/nuked-md/default.nix index 883d62b89832d..3f42ce6d2d077 100644 --- a/pkgs/applications/emulators/nuked-md/default.nix +++ b/pkgs/applications/emulators/nuked-md/default.nix @@ -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: |