Merge pull request #235261 from nicknovitski/buc

bundlerUpdateScript: don't run bundler-audit
This commit is contained in:
Mario Rodas 2023-06-02 08:26:08 -05:00 committed by GitHub
commit fc6855d83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
{ runtimeShell, lib, writeScript, bundix, bundler, bundler-audit, coreutils, git, nix }:
{ runtimeShell, lib, writeScript, bundix, bundler, coreutils, git, nix }:
attrPath:
let
updateScript = writeScript "bundler-update-script" ''
#!${runtimeShell}
PATH=${lib.makeBinPath [ bundler bundler-audit bundix coreutils git nix ]}
PATH=${lib.makeBinPath [ bundler bundix coreutils git nix ]}
set -o errexit
set -o nounset
set -o pipefail
@ -19,7 +19,6 @@ let
cd "$gemdir"
bundler lock --update
bundler-audit check --update
bundix
'';
in [ updateScript attrPath ]