diff options
Diffstat (limited to '.github')
-rwxr-xr-x | .github/actions/nix-build/entrypoint.sh | 2 | ||||
-rw-r--r-- | .github/workflows/haskell.yml | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index e1a57d44005e..df82de3e8caf 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -11,5 +11,5 @@ jobs: - uses: actions/checkout@v1 - name: Nix Build with: - args: default.nix + args: default.nix --arg failOnWarnings true uses: ./.github/actions/nix-build |