diff options
author | Naïm Favier <n@monade.li> | 2022-03-14 19:06:00 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-03-19 09:46:31 +0100 |
commit | 9160044f5f05d0a4ac46f1260beb8604c15ed4fa (patch) | |
tree | baed08f4b9da8509af8f1e126c054d13a0d69ef8 /pkgs/games/ut2004 | |
parent | 10479e4f51ff182651ccff4a71b2a94ab93816c0 (diff) | |
download | nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.gz nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.bz2 nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.lz nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.xz nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.zst nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.zip |
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/ut2004')
-rw-r--r-- | pkgs/games/ut2004/wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/ut2004/wrapper.nix b/pkgs/games/ut2004/wrapper.nix index bf344372933..cc5b0e400bc 100644 --- a/pkgs/games/ut2004/wrapper.nix +++ b/pkgs/games/ut2004/wrapper.nix @@ -38,7 +38,7 @@ in runCommand "ut2004" { for i in ${game}/System/*-bin; do name="$(basename "$i")" makeWrapper $i $out/bin/''${name%-bin} \ - --run "cd ${game}/System" + --chdir "${game}/System" done mkdir -p $out/share/applications |