summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/emulators/sameboy
diff options
context:
space:
mode:
authorAlexandre Iooss <erdnaxe@crans.org>2022-10-29 07:14:34 +0200
committerAlexandre Iooss <erdnaxe@crans.org>2022-10-29 07:14:34 +0200
commitbfd9577640a6da76f18a4946c43ee531c6c7072e (patch)
treea17d84607e57a1cf3d217ba7dca7ae4060d7bbef /pkgs/applications/emulators/sameboy
parent3802a1d38b5e524f26f893674995f46e15fbaca8 (diff)
sameboy: add rgbds 0.6 compatibility
Diffstat (limited to 'pkgs/applications/emulators/sameboy')
-rw-r--r--pkgs/applications/emulators/sameboy/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/sameboy/default.nix b/pkgs/applications/emulators/sameboy/default.nix
index 26555acb61cb..6ae3d141b399 100644
--- a/pkgs/applications/emulators/sameboy/default.nix
+++ b/pkgs/applications/emulators/sameboy/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, gtk3, rgbds, SDL2, wrapGAppsHook, glib }:
+{ lib, stdenv, fetchpatch, fetchFromGitHub, gtk3, rgbds, SDL2, wrapGAppsHook, glib }:
stdenv.mkDerivation rec {
pname = "sameboy";
@@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ rgbds glib wrapGAppsHook ];
buildInputs = [ SDL2 ];
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/LIJI32/SameBoy/commit/c0966ceebaf1cf2518427ffa3c0189d8f96ab5aa.patch";
+ hash = "sha256-2o/aWimtAKqay7SGq5Q9vLDcQKqV6Bn2xJtnjACrLUw=";
+ })
+ ];
+
makeFlags = [
"CONF=release"
"FREEDESKTOP=true"