commit 05d9fe21660dcb9e5af9269780aeb535ce5a5c30
parent 2c1a7cc89abf376c10544a3d1735a2dcd42371d8
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 30 Sep 2023 21:39:23 +0200
Make nix-shell work
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
@@ -80,6 +80,7 @@ jobs:
toolchain: stable
targets: ${{ matrix.settings.target }}
- name: Cache cargo
+ if: ${{ matrix.settings.host != 'arm64' }}
uses: actions/cache@v3
with:
path: |
@@ -111,6 +112,10 @@ jobs:
check-latest: true
cache: yarn
architecture: x86
+ - uses: cachix/install-nix-action@v22
+ if: ${{ matrix.settings.host == 'arm64' }}
+ with:
+ nix_path: nixpkgs=channel:nixos-23-05
- name: Build
run: ${{ matrix.settings.build }}
shell: bash