ecwolf: fix executable not being added to PATH
Co-authored-by: Guillaume Girol <symphorien+git@xlumurb.eu>
This commit is contained in:
parent
774420e456
commit
d3bb475232
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue