summary refs log tree commit diff
path: root/pkgs/games/iortcw/sp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/iortcw/sp.nix')
-rw-r--r--pkgs/games/iortcw/sp.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/iortcw/sp.nix b/pkgs/games/iortcw/sp.nix
index fa6f73a177b..d9faa177c17 100644
--- a/pkgs/games/iortcw/sp.nix
+++ b/pkgs/games/iortcw/sp.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
 
   postInstall = ''
     for i in `find $out/opt/iortcw -maxdepth 1 -type f -executable`; do
-      makeWrapper $i $out/bin/`basename $i` --run "cd $out/opt/iortcw"
+      makeWrapper $i $out/bin/`basename $i` --chdir "$out/opt/iortcw"
     done
   '';