Commit 76e11558 authored by sternenseemann's avatar sternenseemann Committed by github-actions[bot]
Browse files

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 38ffd641)
parent 3bd71527
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ 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