From 13614aa53090739990624016aea96890a0aaeafd Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 16 Jul 2023 19:30:13 +0800 Subject: [PATCH] ci: update the workflow environment --- .github/workflows/check.yml | 1 + .github/workflows/iso.yml | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8feaa5bf..0bd41bd9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,6 +8,7 @@ on: schedule: - cron: '30 11 * * *' # At 11:30 everyday. env: + NIXPKGS_ALLOW_BROKEN: "1" NIXPKGS_ALLOW_UNFREE: "1" jobs: check-outputs: diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index 02d415b0..4d730abf 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -15,8 +15,11 @@ jobs: - uses: DeterminateSystems/nix-installer-action@v4 - name: Build ISO run: | - nix build .#images.bootstrap --out-link build-iso-result - nix build .#images.graphical-installer --out-link build-graphical-iso-result + nix build .#images.bootstrap --impure --out-link build-iso-result + nix build .#images.graphical-installer --impure --out-link build-graphical-iso-result + env: + NIXPKGS_ALLOW_BROKEN: "1" + NIXPKGS_ALLOW_UNFREE: "1" - name: Create release if: github.ref == 'refs/heads/master' env: