diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c0c72015a2aa4e423b6c7e1093e3584f8afdc793..b2c295cb38732a5f8075fb7ea9f89d328f35612a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,10 +46,6 @@ uses: cachix/install-nix-action@v14 with: nix_path: "${{ matrix.nixPath }}" push: - - main - experimental-features = nix-command flakes - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - push: # rebuild everyday at 2:51 run: nix-instantiate --eval -E '(import {}).lib.version' - name: Setup cachix @@ -70,7 +66,8 @@ --drv-path --show-trace \ -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 run -I 'nixpkgs=channel:nixos-unstable' nixpkgs.nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs - name: Trigger NUR update # Don't replace here! if: ${{ matrix.nurRepo != '' }}