use nix 2.0

This commit is contained in:
Ryan Mulligan 2018-03-04 11:07:41 -08:00
parent 94b9b420e3
commit ca6ce85c8b

2
up.sh
View File

@ -40,7 +40,7 @@ grep "$OLD_HASH" "$DERIVATION_FILE"
sed -i "s/$OLD_HASH/$NEW_HASH/g" "$DERIVATION_FILE"
RESULT=$(nix-build -A $1)
RESULT=$(nix build $1)
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"