epsxe: fix install, 32-bit executable uses mixed case

This commit is contained in:
Yegor Timoshenko 2017-09-26 19:20:30 +00:00
parent 0ddca0715a
commit c3e6e9b765

View File

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
dontStrip = true;
installPhase = ''
install -D epsxe${optionalString stdenv.is64bit "_x64"} $out/bin/epsxe
install -D ${if stdenv.is64bit then "epsxe_x64" else "ePSXe"} $out/bin/epsxe
patchelf \
--set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) \
--set-rpath ${makeLibraryPath buildInputs} \