diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b1640a..4ab663d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,9 +35,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.3.5 - name: Install nix - uses: cachix/install-nix-action@v13 + uses: cachix/install-nix-action@v14.1 with: nix_path: "${{ matrix.nixPath }}" - name: Show nixpkgs version @@ -59,7 +59,7 @@ jobs: -I $PWD - 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 --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 }}"