From 65834d0ff625c54c96994614ca064d95f4d398f4 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sun, 12 Feb 2023 11:06:41 -0800 Subject: [PATCH] Run the flake as part of CI The update to the build script makes it so that the entire script exits when a failure is encountered (and returns with that exit code). --- .github/workflows/build.yml | 1 + build.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 345b45f..ea12155 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,3 +10,4 @@ jobs: - uses: cachix/install-nix-action@v19 - run: nix build - run: nix flake check + - run: nix run diff --git a/build.sh b/build.sh index 53189bd..ac8adda 100644 --- a/build.sh +++ b/build.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + # Following variables are set via sed in the buildPhase step PREFIX="" # Intentionally overriding PATH so supressing shellcheck