nix-config/.gitea/workflows/check-flake.yaml
Zuckerberg 883a9fb28f
Some checks failed
Check Flake / check-flake (push) Failing after 2m6s
Try to allow cross build
2023-04-29 14:37:01 -06:00

33 lines
784 B
YAML

name: Check Flake
on: [push]
env:
DEBIAN_FRONTEND: noninteractive
defaults:
run:
shell: sh
jobs:
check-flake:
runs-on: ubuntu-latest
steps:
- name: Install basic dependencies
run: apt-get update && apt-get install -y --no-install-recommends sudo curl ca-certificates xz-utils
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v20
with:
github_access_token: ${{ secrets.__GITHUB_TOKEN }}
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
# - name: Get ENV var names
# run: printenv | cut -d'=' -f1
- name: Check Flake
run: nix build .#nixosConfigurations."phil".config.system.build.toplevel --show-trace