about summary refs log tree commit diff
path: root/.github/actions/nix-build/entrypoint.sh
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-11-30T23·16-0500
committerGriffin Smith <root@gws.fyi>2019-11-30T23·16-0500
commit0b22bb099c9f2254d16784e5897b18e9e410c2fa (patch)
tree295a1781a95e6f435b7c5469de13144fbace9a74 /.github/actions/nix-build/entrypoint.sh
parent97a5c61f28ba98728bab390e0ea745edfbea7103 (diff)
Fail on all warnings in CI
All the undefineds are gone, so it's time to enable -Werror in CI.
Diffstat (limited to '.github/actions/nix-build/entrypoint.sh')
-rwxr-xr-x.github/actions/nix-build/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
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)