-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (24 loc) · 1.09 KB
/
nix-flake-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: "Nix Flake check"
on:
push:
jobs:
Build-Package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get install -y qemu-user-static binfmt-support
sudo systemctl restart binfmt-support
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
extra-platforms = aarch64-linux i686-linux
system-features = nixos-test benchmark big-parallel kvm
extra-sandbox-paths = /usr/bin/qemu-aarch64-static
substituters = https://nix-community.cachix.org https://attic.holypenguin.net/holynix https://cache.nixos.org/
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= holynix:Ucr2JJ5xLEy4hElI/SToX5klNe4I3wKgVIa2+b3lmYo=
trusted-substituters = https://nix-community.cachix.org https://attic.holypenguin.net/holynix
- run: |
sudo systemctl restart nix-daemon.service
nix flake check --accept-flake-config