Fail on all warnings in CI

All the undefineds are gone, so it's time to enable -Werror in CI.
This commit is contained in:
Griffin Smith 2019-11-30 18:16:48 -05:00
parent 97a5c61f28
commit 0b22bb099c
5 changed files with 14 additions and 11 deletions

View file

@ -16,7 +16,7 @@ file="$1"
[ ! -e "$file" ] && echo "File $file not exist!" && exit 1
echo "Building all attrs in $file..."
nix-build --no-link ${QUIET_ARG} "$file"
nix-build --no-link ${QUIET_ARG} "$file" "${@:2}"
echo "Copying build closure to $(pwd)/store..."
mapfile -t storePaths < <(nix-build ${QUIET_ARG} --no-link "$file" | grep -v cache-deps)