mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
7c8200811b
And add an update script.
15 lines
292 B
Bash
Executable file
15 lines
292 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p bundix zlib
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
|
|
readonly BASEDIR="$(dirname $(readlink -f $0))"
|
|
|
|
for directory in "basic" "full"; do
|
|
pushd "$BASEDIR/$directory"
|
|
rm -f Gemfile.lock gemset.nix
|
|
bundix --magic
|
|
rm -rf .bundle vendor
|
|
popd
|
|
done
|