summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-11-29 23:25:42 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-11-30 13:45:08 +0000
commit76e1155823a8e6e937fc4240783204e5744787ee (patch)
tree57e7a0a524e992a731bc17c26ba732f012e0d4a6
parentlicensee: 9.15.1 -> 9.15.3 (diff)
downloadnixpkgs-76e1155823a8e6e937fc4240783204e5744787ee.tar.gz
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. (cherry picked from commit 38ffd641e0da8f37b82858ebd7cd679fa4716b66)
-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 50d0364aa067..cf4942f6e58c 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