Skip to content

Commit

Permalink
steam: fix bootstrap tarball with non-default steamroot
Browse files Browse the repository at this point in the history
This removes the hardcoded Steam root in the bootstrap fixer, which lets it work
even if the user has moved their Steam root to somewhere other than the default
location.
  • Loading branch information
eriedaberrie authored and SuperSandro2000 committed Sep 9, 2024
1 parent 66cf1eb commit 933f091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/games/steam/fhsenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ let
# bootstrap.tar.xz has 444 permissions, which means that simple deletes fail
# and steam will not be able to start
fixBootstrap = ''
if [ -r $HOME/.local/share/Steam/bootstrap.tar.xz ]; then
chmod +w $HOME/.local/share/Steam/bootstrap.tar.xz
if [ -r $HOME/.steam/steam/bootstrap.tar.xz ]; then
chmod +w $HOME/.steam/steam/bootstrap.tar.xz
fi
'';

Expand Down

0 comments on commit 933f091

Please sign in to comment.