diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 288d6e5..4ab663d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,9 +40,6 @@ jobs: uses: cachix/install-nix-action@v14.1 with: nix_path: "${{ matrix.nixPath }}" - extra_nix_config: | - experimental-features = nix-command flakes - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Show nixpkgs version run: nix-instantiate --eval -E '(import {}).lib.version' # - name: Setup cachix @@ -61,7 +58,8 @@ jobs: -I nixpkgs=$(nix-instantiate --find-file nixpkgs) \ -I $PWD - name: Build nix packages - run: nix shell -f '' nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs + # TODO switch to default nixpkgs channel once nix-build-uncached 1.0.0 is in stable + run: nix --extra-experimental-features 'nix-command flakes' shell -I 'nixpkgs=channel:nixos-unstable' nixpkgs#nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs - name: Trigger NUR update if: ${{ matrix.nurRepo != '' }} run: curl -XPOST "https://nur-update.herokuapp.com/update?repo=${{ matrix.nurRepo }}"