steam-tui: adds missing runtime dependencies

This commit is contained in:
legendofmiracles 2021-05-12 14:27:28 -06:00
parent 7dd35786f3
commit 65380bc338
No known key found for this signature in database
GPG key ID: 19B082B3DEFE5451

View file

@ -28,7 +28,8 @@ rustPlatform.buildRustPackage rec {
mv $out/bin/steam-tui $out/bin/.steam-tui-unwrapped
cat > $out/bin/steam-tui <<EOF
#!${runtimeShell}
exec steam-run $out/bin/.steam-tui-unwrapped '$@'
export PATH=${steamcmd}/bin:\$PATH
exec ${steam-run-native}/bin/steam-run $out/bin/.steam-tui-unwrapped '\$@'
EOF
chmod +x $out/bin/steam-tui
'';