summaryrefslogtreecommitdiff
path: root/pkgs/misc/emulators/caprice32/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/emulators/caprice32/default.nix')
-rw-r--r--pkgs/misc/emulators/caprice32/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/caprice32/default.nix b/pkgs/misc/emulators/caprice32/default.nix
index 3e20ba616423..6c2932f7e10b 100644
--- a/pkgs/misc/emulators/caprice32/default.nix
+++ b/pkgs/misc/emulators/caprice32/default.nix
@@ -5,6 +5,9 @@ stdenv.mkDerivation rec {
pname = "caprice32";
version = "4.6.0";
+ # NOTE: When bumping version beyond 4.6.0, you likely need to remove
+ # string.patch below. The fix of this patch has already been
+ # done upstream but is not yet part of a release
src = fetchFromGitHub {
repo = "caprice32";
@@ -16,6 +19,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ desktop-file-utils pkg-config ];
buildInputs = [ libpng SDL freetype zlib ];
+ patches = [ ./string.patch ];
+
makeFlags = [
"APP_PATH=${placeholder "out"}/share/caprice32"
"RELEASE=1"