diff --git a/pkgs/games/ecwolf/default.nix b/pkgs/games/ecwolf/default.nix index b5f0c5152c18..34c186f7f2dc 100644 --- a/pkgs/games/ecwolf/default.nix +++ b/pkgs/games/ecwolf/default.nix @@ -33,6 +33,12 @@ stdenv.mkDerivation rec { sed -i -e "s|include(\''${CMAKE_CURRENT_SOURCE_DIR}/macosx/install.txt)||" src/CMakeLists.txt ''; + # ECWolf installs its binary to the games/ directory, but Nix only adds bin/ + # directories to the PATH. + postInstall = '' + mv "$out/games" "$out/bin" + ''; + meta = with lib; { description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms"; homepage = "https://maniacsvault.net/ecwolf/";