Revert autoModules and preferBuiltin #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build image" | |
on: | |
pull_request: | |
push: | |
jobs: | |
build-image: | |
runs-on: ARM64 | |
steps: | |
# Workaround to make install-nix-action work with self-hosted runners | |
- run: echo "$HOME/.nix-profile/bin" >> "${GITHUB_PATH}" | |
- run: echo "/nix/var/nix/profiles/default/bin" >> "${GITHUB_PATH}" | |
- uses: cachix/install-nix-action@v17 | |
- uses: cachix/cachix-action@v10 | |
with: | |
name: nix-community | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- run: nix build github:${GITHUB_REPOSITORY}/${GITHUB_SHA} | |
- uses: actions/upload-artifact@v3 | |
if: ${{ github.ref == 'refs/heads/master' }} | |
with: | |
name: nixos-mnt-reform | |
path: result/sd-image/* | |
if-no-files-found: error |