From 742124d8e620fa58a04486ac059c4ef1ff8d4c7b Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 26 May 2025 19:56:19 -0400 Subject: [PATCH] add determinate nix installer mirror --- .github/workflows/flake-health-checks.yml | 10 +++++++++- .github/workflows/flake-update.yml | 7 +++++++ .github/workflows/nix-fmt.yml | 10 +++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/flake-health-checks.yml b/.github/workflows/flake-health-checks.yml index c0cea76..df2f328 100644 --- a/.github/workflows/flake-health-checks.yml +++ b/.github/workflows/flake-health-checks.yml @@ -13,7 +13,15 @@ jobs: matrix: os: [ubuntu-latest] steps: - - uses: DeterminateSystems/nix-installer-action@main + - name: Get Latest Determinate Nix Installer binary + id: latest-installer + uses: sigyl-actions/gitea-action-get-latest-release@main + with: + repository: ahuston-0/determinate-nix-mirror + - name: Install nix + uses: https://github.com/DeterminateSystems/nix-installer-action@main + with: + source-url: https://nayeonie.com/ahuston-0/determinate-nix-mirror/releases/download/${{ steps.latest-installer.outputs.release }}/nix-installer-x86_64-linux - name: Setup Attic cache uses: ryanccn/attic-action@v0 with: diff --git a/.github/workflows/flake-update.yml b/.github/workflows/flake-update.yml index b50bb41..cee68bc 100644 --- a/.github/workflows/flake-update.yml +++ b/.github/workflows/flake-update.yml @@ -11,8 +11,15 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Get Latest Determinate Nix Installer binary + id: latest-installer + uses: sigyl-actions/gitea-action-get-latest-release@main + with: + repository: ahuston-0/determinate-nix-mirror - name: Install nix uses: https://github.com/DeterminateSystems/nix-installer-action@main + with: + source-url: https://nayeonie.com/ahuston-0/determinate-nix-mirror/releases/download/${{ steps.latest-installer.outputs.release }}/nix-installer-x86_64-linux - name: Setup Attic cache uses: ryanccn/attic-action@v0 with: diff --git a/.github/workflows/nix-fmt.yml b/.github/workflows/nix-fmt.yml index f94cbea..783ecc0 100644 --- a/.github/workflows/nix-fmt.yml +++ b/.github/workflows/nix-fmt.yml @@ -10,7 +10,15 @@ jobs: name: "Perform Nix format checks" runs-on: ubuntu-latest steps: - - uses: DeterminateSystems/nix-installer-action@main + - name: Get Latest Determinate Nix Installer binary + id: latest-installer + uses: sigyl-actions/gitea-action-get-latest-release@main + with: + repository: ahuston-0/determinate-nix-mirror + - name: Install nix + uses: https://github.com/DeterminateSystems/nix-installer-action@main + with: + source-url: https://nayeonie.com/ahuston-0/determinate-nix-mirror/releases/download/${{ steps.latest-installer.outputs.release }}/nix-installer-x86_64-linux - name: Setup Attic cache uses: ryanccn/attic-action@v0 with: