jj/.github/workflows/nix-linux.yml

25 lines
594 B
YAML
Raw Normal View History

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