Merge pull request #131735 from svanderburg/fix-ecwolf-darwin

ecwolf: fix compilation on darwin

authored by

Sander van der Burg and committed by
GitHub
a293e463 d1c93d30

+4 -1
+4 -1
pkgs/games/ecwolf/default.nix
··· 33 33 34 34 preConfigure = '' 35 35 sed -i -e "s|ecwolf.pk3|$out/share/ecwolf/ecwolf.pk3|" src/version.h 36 + '' 37 + # Disable app bundle creation on Darwin. It fails, and it is not needed to run it from the Nix store 38 + + lib.optionalString (stdenv.isDarwin) '' 39 + sed -i -e "s|include(\''${CMAKE_CURRENT_SOURCE_DIR}/macosx/install.txt)||" src/CMakeLists.txt 36 40 ''; 37 41 38 42 # Install the required PK3 file in the required data directory ··· 46 50 homepage = "https://maniacsvault.net/ecwolf/"; 47 51 license = licenses.gpl2Plus; 48 52 maintainers = with maintainers; [ sander ]; 49 - # Darwin is untested (supported by upstream) 50 53 platforms = platforms.all; 51 54 }; 52 55 }