Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1#!/usr/bin/env nix-shell 2#! nix-shell -i bash -p bash bundix bundler 3 4set -e 5 6cd "$(dirname "${BASH_SOURCE[0]}")" 7 8rm -f Gemfile.lock Gemfile.lock 9 10# Otherwise nokogiri will fail to build. 11# https://github.com/nix-community/bundix/issues/88 12bundler config set --local force_ruby_platform true 13 14bundler lock 15BUNDLE_GEMFILE=Gemfile bundler lock --lockfile=Gemfile.lock 16bundix --gemfile=Gemfile --lockfile=Gemfile.lock --gemset=gemset.nix