summary refs log tree commit diff
path: root/pkgs/tools/graphics/structure-synth
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/tools/graphics/structure-synth
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/tools/graphics/structure-synth')
-rw-r--r--pkgs/tools/graphics/structure-synth/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/structure-synth/default.nix b/pkgs/tools/graphics/structure-synth/default.nix
index ab32657236a..ce97f1c7034 100644
--- a/pkgs/tools/graphics/structure-synth/default.nix
+++ b/pkgs/tools/graphics/structure-synth/default.nix
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
   # either $HOME or $PWD - so help it along by moving $PWD to 'share',
   # where we just copied those two directories:
   preFixup = ''
-    wrapProgram "$out/bin/structure-synth" --run "cd $out/share"
+    wrapProgram "$out/bin/structure-synth" --chdir "$out/share"
   '';
 
   meta = with lib; {