github.builds: Only pull in nix-build-uncached in nix-shell invocation for builds

This commit is contained in:
adisbladis 2022-05-10 07:46:11 +12:00
parent e622945c72
commit efe5cbb217

View file

@ -64,4 +64,4 @@ jobs:
with:
name: poetry2nix
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix-shell --run 'nix-build-uncached -build-flags "-L" --keep-going --show-trace tests/default.nix -A ${{ matrix.attr }}'
- run: nix-shell --arg packages 'pkgs: [ pkgs.nix-build-uncached ]' --run 'nix-build-uncached -build-flags "-L" --keep-going --show-trace tests/default.nix -A ${{ matrix.attr }}'