2022-02-20 20:48:51 +00:00
|
|
|
name: Nix on Linux
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
|
2022-03-16 19:18:01 +00:00
|
|
|
permissions: read-all
|
|
|
|
|
2022-02-20 20:48:51 +00:00
|
|
|
jobs:
|
|
|
|
nix:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: nix-build
|
|
|
|
timeout-minutes: 20
|
|
|
|
steps:
|
2022-03-17 03:58:04 +00:00
|
|
|
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
2022-02-20 20:48:51 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2022-03-17 04:09:33 +00:00
|
|
|
- uses: cachix/install-nix-action@v16
|
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
|