From 0b22bb099c9f2254d16784e5897b18e9e410c2fa Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 30 Nov 2019 18:16:48 -0500 Subject: Fail on all warnings in CI All the undefineds are gone, so it's time to enable -Werror in CI. --- .github/actions/nix-build/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/actions/nix-build') diff --git a/.github/actions/nix-build/entrypoint.sh b/.github/actions/nix-build/entrypoint.sh index 4499660edd32..cb7aca541a3f 100755 --- a/.github/actions/nix-build/entrypoint.sh +++ b/.github/actions/nix-build/entrypoint.sh @@ -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) -- cgit 1.4.1