Skip to content

Commit

Permalink
ci: setup-nix: _that's how_ you download derivs
Browse files Browse the repository at this point in the history
  • Loading branch information
develop7 committed Dec 3, 2023
1 parent 3dca94b commit a2b4360
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup-nix/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ runs:
name: postgrest
authToken: ${{ inputs.authToken }}
- name: Put all tools to store to be cached afterwards
run: nix-instantiate -A style -A memory -A withTools -A loadtest -A tests default.nix
run: |
nix-store -v --realize $( nix-instantiate -A style -A memory -A withTools -A loadtest -A tests default.nix )
shell: bash
- if: ${{ inputs.tools }}
run: nix-env -f default.nix -iA ${{ inputs.tools }}
Expand Down

0 comments on commit a2b4360

Please sign in to comment.