about summary refs log tree commit diff
path: root/pkgs/games/steam/steamcmd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/steam/steamcmd.sh')
-rw-r--r--pkgs/games/steam/steamcmd.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/steam/steamcmd.sh b/pkgs/games/steam/steamcmd.sh
index e092a4fedbe9..588badb41a1a 100644
--- a/pkgs/games/steam/steamcmd.sh
+++ b/pkgs/games/steam/steamcmd.sh
@@ -3,6 +3,9 @@
 # Always run steamcmd in the user's Steam root.
 STEAMROOT=@steamRoot@
 
+# Add coreutils to PATH for mkdir, ln and cp used below
+PATH=$PATH${PATH:+:}@coreutils@/bin
+
 # Create a facsimile Steam root if it doesn't exist.
 if [ ! -e "$STEAMROOT" ]; then
   mkdir -p "$STEAMROOT"/{appcache,config,logs,Steamapps/common}