about summary refs log tree commit diff
path: root/pkgs/games/tome4
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-03-14 19:06:00 +0100
committerNaïm Favier <n@monade.li>2022-03-19 09:46:31 +0100
commit9160044f5f05d0a4ac46f1260beb8604c15ed4fa (patch)
treebaed08f4b9da8509af8f1e126c054d13a0d69ef8 /pkgs/games/tome4
parent10479e4f51ff182651ccff4a71b2a94ab93816c0 (diff)
treewide/makeWrapper: replace `--run cd` with `--chdir`
Lay the groundwork for switching to binary wrappers by reducing uses
of `--run` (which is not supported by `makeBinaryWrapper`).
Diffstat (limited to 'pkgs/games/tome4')
-rw-r--r--pkgs/games/tome4/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/tome4/default.nix b/pkgs/games/tome4/default.nix
index 70fbebe084c78..1f148feb9320a 100644
--- a/pkgs/games/tome4/default.nix
+++ b/pkgs/games/tome4/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
     install -Dm755 t-engine $dir/t-engine
     cp -r bootstrap game $dir
     makeWrapper $dir/t-engine $out/bin/${pname} \
-      --run "cd $dir"
+      --chdir "$dir"
 
     install -Dm755 ${desktop}/share/applications/${pname}.desktop $out/share/applications/${pname}.desktop
     substituteInPlace $out/share/applications/${pname}.desktop \