Skip to content

Commit

Permalink
Add substituters to maybe fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jun 17, 2024
1 parent 77453fc commit 6636fbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
- uses: jlumbroso/free-disk-space@main
with:
large-packages: false
swap-storage: false

- uses: actions/checkout@v4

Expand All @@ -21,4 +20,9 @@ jobs:
- name: Run nix-fast-build
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
run: nix run github:Mic92/nix-fast-build -- --cachix-cache joinemm --no-nom --skip-cached
run: |
nix run github:Mic92/nix-fast-build -- --cachix-cache joinemm --no-nom --skip-cached \
--option substituters "https://cache.nixos.org/ https://nix-gaming.cachix.org https://joinemm.cachix.org" \
--option trusted-public-keys "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4= cache.vedenemo.dev:8NhplARANhClUSWJyLVk4WMyy1Wb4rhmWW2 joinemm.cachix.org-1:aMZBO1baRjhaI5QzePLelFz/GJ82fZOjmiHQwCl1FxI="
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
trusted-public-keys = joinemm.cachix.org-1:aMZBO1baRjhaI5QzePLelFz/GJ82fZOjmiHQwCl1FxI=
substituters = https://joinemm.cachix.org
substituters = https://cache.nixos.org/ https://nix-gaming.cachix.org https://joinemm.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4= cache.vedenemo.dev:8NhplARANhClUSWJyLVk4WMyy1Wb4rhmWW2 joinemm.cachix.org-1:aMZBO1baRjhaI5QzePLelFz/GJ82fZOjmiHQwCl1FxI=
- name: Run nix flake check
run: nix flake check -v

0 comments on commit 6636fbf

Please sign in to comment.