2020-08-01 15:56:00 +02:00
|
|
|
name: Nix
|
|
|
|
on: [ push ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
# Nix Flakes doesn't work on shallow clones
|
|
|
|
fetch-depth: 0
|
2022-04-11 13:22:56 +02:00
|
|
|
- uses: cachix/install-nix-action@v17
|
2020-08-01 15:56:00 +02:00
|
|
|
with:
|
|
|
|
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20200618_377345e/install
|
|
|
|
- run: echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
|
|
|
|
- run: nix flake check
|