summary refs log tree commit diff
path: root/pkgs/applications/networking/remote
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/applications/networking/remote
parent10479e4f51ff182651ccff4a71b2a94ab93816c0 (diff)
downloadnixpkgs-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/applications/networking/remote')
-rw-r--r--pkgs/applications/networking/remote/rustdesk/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/remote/rustdesk/default.nix b/pkgs/applications/networking/remote/rustdesk/default.nix
index 677629dbcfb..2850995bd13 100644
--- a/pkgs/applications/networking/remote/rustdesk/default.nix
+++ b/pkgs/applications/networking/remote/rustdesk/default.nix
@@ -86,7 +86,7 @@ rustPlatform.buildRustPackage rec {
     ln -s ${libsciter}/lib/libsciter-gtk.so $out/lib/rustdesk
 
     makeWrapper $out/lib/rustdesk/rustdesk $out/bin/rustdesk \
-      --run "cd $out/share"
+      --chdir "$out/share"
 
     cp -a $src/src/ui $out/share/src