jj/.github/workflows/nix-linux.yml
2022-03-17 09:19:12 -07:00

24 lines
557 B
YAML

name: Nix on Linux
on:
push:
branches:
- master
pull_request:
permissions: read-all
jobs:
nix:
runs-on: ubuntu-latest
name: nix-build
timeout-minutes: 20
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v16
with:
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix flake check --print-build-logs --show-trace --override-input nixpkgs github:NixOS/nixpkgs