mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #122765 from legendofmiracles/steam-tui
steam-tui: adds missing runtime dependencies correctly
This commit is contained in:
commit
88df2cb177
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue