about summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-11-29 23:25:42 +0100
committersternenseemann <sternenseemann@systemli.org>2022-11-29 23:25:42 +0100
commit38ffd641e0da8f37b82858ebd7cd679fa4716b66 (patch)
tree3a14eae5a45d1ce2758d97e0ad2bb766f8ba33d7 /pkgs/development/ruby-modules
parent8db42896f1f22639d819188d7fa8184279f8f363 (diff)
bundlerUpdateScript: use Nix 2.3
The script assumes that nix(1) can be used without any flags which
is no longer the case. We can easily use Nix 2.3 as a workaround
until someone else musters the willpower to adjust this script for
Nix 2.11.
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/bundler-update-script/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ruby-modules/bundler-update-script/default.nix b/pkgs/development/ruby-modules/bundler-update-script/default.nix
index 50d0364aa0672..cf4942f6e58c4 100644
--- a/pkgs/development/ruby-modules/bundler-update-script/default.nix
+++ b/pkgs/development/ruby-modules/bundler-update-script/default.nix
@@ -1,11 +1,11 @@
-{ runtimeShell, lib, writeScript, bundix, bundler, bundler-audit, coreutils, git, nix }:
+{ runtimeShell, lib, writeScript, bundix, bundler, bundler-audit, coreutils, git, nix_2_3 }:
 
 attrPath:
 
 let
   updateScript = writeScript "bundler-update-script" ''
     #!${runtimeShell}
-    PATH=${lib.makeBinPath [ bundler bundler-audit bundix coreutils git nix ]}
+    PATH=${lib.makeBinPath [ bundler bundler-audit bundix coreutils git nix_2_3 ]}
     set -o errexit
     set -o nounset
     set -o pipefail