Skip to content

Commit

Permalink
desmume: unbreak on aarch64-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Nov 28, 2022
1 parent 1ffa33b commit 255cfa7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkgs/applications/emulators/desmume/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, SDL2
, agg
, alsa-lib
Expand Down Expand Up @@ -32,6 +33,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-vmjKXa/iXLTwtqnG+ZUvOnOQPZROeMpfM5J3Jh/Ynfo=";
};

patches = [
# Fix compiling on GCC for AArch64
(fetchpatch {
url = "https://github.com/TASEmulators/desmume/commit/24eb5ed95c6cbdaba8b3c63a99e95e899e8a5061.patch";
hash = "sha256-J3ZRU1tPTl+4/jg0DBo6ro6DTUZkpQCey+QGF2EugCQ=";
})
];

nativeBuildInputs = [
desktop-file-utils
intltool
Expand Down Expand Up @@ -81,8 +90,5 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix;
broken = stdenv.isAarch64 && stdenv.isLinux; # ofborg failed
};
})
# TODO: investigate the patches
# TODO: investigate other platforms

0 comments on commit 255cfa7

Please sign in to comment.