Disable cachix (for now)

This commit is contained in:
Moritz 'e1mo' Fromm 2023-04-12 14:18:19 +02:00
parent ab4baf558d
commit 07779e14b3
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -24,10 +24,10 @@ jobs:
- uses: cachix/install-nix-action@v20 - uses: cachix/install-nix-action@v20
with: with:
github_access_token: ${{ secrets.GITHUB_TOKEN }} github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v12 #- uses: cachix/cachix-action@v12
with: # with:
name: chaos-jetzt-nixfiles # name: chaos-jetzt-nixfiles
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' # authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: nix flake check - name: nix flake check
run: | run: |
nix flake check --no-build nix flake check --no-build
@ -47,7 +47,8 @@ jobs:
echo "::group::Building ${host}" echo "::group::Building ${host}"
drv=".#nixosConfigurations.$host.config.system.build.toplevel" drv=".#nixosConfigurations.$host.config.system.build.toplevel"
build_cmd="nix build ${drv}" build_cmd="nix build ${drv}"
cachix watch-exec chaos-jetzt-nixfiles -- $build_cmd #cachix watch-exec chaos-jetzt-nixfiles -- $build_cmd
$build_cmd
echo "::endgroup::" echo "::endgroup::"
out_path=$($build_cmd --print-out-paths) out_path=$($build_cmd --print-out-paths)
echo -e "\x1b[32;1mSuccessfully built .#nixosConfigurations.${host}\x1b[0m" echo -e "\x1b[32;1mSuccessfully built .#nixosConfigurations.${host}\x1b[0m"