From 38ffd641e0da8f37b82858ebd7cd679fa4716b66 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 29 Nov 2022 23:25:42 +0100 Subject: [PATCH] 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. --- .../ruby-modules/bundler-update-script/default.nix | 4 ++-- 1 file 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