diff options
Diffstat (limited to 'pkgs/tools/security/wpscan/update.sh')
-rwxr-xr-x | pkgs/tools/security/wpscan/update.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/security/wpscan/update.sh b/pkgs/tools/security/wpscan/update.sh index 4e55a770fd4ee..c30cc62e52960 100755 --- a/pkgs/tools/security/wpscan/update.sh +++ b/pkgs/tools/security/wpscan/update.sh @@ -6,6 +6,11 @@ set -e cd "$(dirname "${BASH_SOURCE[0]}")" rm -f Gemfile.lock Gemfile.lock + +# Otherwise nokogiri will fail to build. +# https://github.com/nix-community/bundix/issues/88 +bundler config set --local force_ruby_platform true + bundler lock BUNDLE_GEMFILE=Gemfile bundler lock --lockfile=Gemfile.lock bundix --gemfile=Gemfile --lockfile=Gemfile.lock --gemset=gemset.nix |