@@ -11,10 +11,18 @@ inputs:
1111runs:
1212 using: "composite"
1313 steps:
14+ - name: Install Nix
15+ uses: cachix/install-nix-action@v16
16+ with:
17+ extra_nix_config: |
18+ system-features = kvm
19+ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
20+ substituters = https://hydra.iohk.io https://cache.nixos.org/
1421 - name: make nix store writable
1522 shell: bash
1623 run: |
1724 sudo chown -R $USER /nix
25+ sudo rm -rf /nix/*
1826 - name: Cache Nix
1927 id: cache-nix
2028 uses: actions/cache@v2.1.7
@@ -23,6 +31,13 @@ runs:
2331 /nix
2432 key: ${{ inputs.key }}
2533 restore-keys: ${{ inputs.restore-keys }}
34+ - name: Install Nix
35+ uses: cachix/install-nix-action@v16
36+ with:
37+ extra_nix_config: |
38+ system-features = kvm
39+ trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
40+ substituters = https://hydra.iohk.io https://cache.nixos.org/
2641 # - name: Move nix store
2742 # shell: bash
2843 # run: |