File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
pkgs/by-name/et/etlegacy-unwrapped Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 22, stdenv
33, writeShellApplication
44, fetchFromGitHub
5+ , fetchpatch
56, cjson
67, cmake
78, git
@@ -44,6 +45,16 @@ stdenv.mkDerivation {
4445 hash = "sha256-k1H3irA9UVOICY3keKGVJMtBczW/b5ObyNvB7fGAcFA=" ;
4546 } ;
4647
48+ patches = lib . optionals stdenv . hostPlatform . isDarwin [
49+ # Fix compilation on Darwin archs
50+ # Reported upstream at https://github.com/etlegacy/etlegacy/pull/3005
51+ # Remove this patch when the PR is merged
52+ ( fetchpatch {
53+ url = "https://github.com/etlegacy/etlegacy/commit/2767d15c67fe0680178d9cc85ed4cf2ad1d88ad0.patch?full_index=1" ;
54+ hash = "sha256-rGfNIWb9zohk1QJLrYg9nqw6sMvXM0IbIl9kvYXRBuk=" ;
55+ } )
56+ ] ;
57+
4758 nativeBuildInputs = [
4859 cjson
4960 cmake
@@ -104,6 +115,5 @@ stdenv.mkDerivation {
104115 gameplay is still considered unmatched by many, despite its great age.
105116 '' ;
106117 maintainers = with lib . maintainers ; [ ashleyghooper drupol ] ;
107- platforms = lib . platforms . linux ;
108118 } ;
109119}
You can’t perform that action at this time.
0 commit comments