diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ccf731..add9aaf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,8 @@ jobs: uses: cachix/install-nix-action@v14 with: nix_path: "${{ matrix.nixPath }}" + extra_nix_config: | + experimental-features = nix-command flakes - name: Show nixpkgs version run: nix-instantiate --eval -E '(import {}).lib.version' - name: Setup cachix @@ -50,8 +52,7 @@ jobs: name: ${{ matrix.cachixName }} signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' - name: Build nix packages - # 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 + run: nix shell -f '' 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 }}"