summary refs log tree commit diff
path: root/pkgs/development/ruby-modules/bundler-app
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/development/ruby-modules/bundler-app
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/development/ruby-modules/bundler-app')
-rw-r--r--pkgs/development/ruby-modules/bundler-app/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/bundler-app/default.nix b/pkgs/development/ruby-modules/bundler-app/default.nix
index 03bf7275cc7..e3c430cc923 100644
--- a/pkgs/development/ruby-modules/bundler-app/default.nix
+++ b/pkgs/development/ruby-modules/bundler-app/default.nix
@@ -57,7 +57,7 @@ in
                                 "--set BUNDLE_FROZEN 1 "+
                                 "--set GEM_HOME ${basicEnv}/${ruby.gemPath} "+
                                 "--set GEM_PATH ${basicEnv}/${ruby.gemPath} "+
-                                "--run \"cd $srcdir\";\n") scripts)}
+                                "--chdir \"$srcdir\";\n") scripts)}
 
     ${lib.optionalString installManpages ''
     for section in {1..9}; do