Skip to content

update nix dependencies with niv-update #76

update nix dependencies with niv-update

update nix dependencies with niv-update #76

Workflow file for this run

name: "Nix Checks"
on:
pull_request:
push:
jobs:
build:
name: nix-build can build the project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix-build
shell:
name: nix-shell can produce a working shell environment
runs-on: ubuntu-latest
env:
# lamdera is unfree
NIXPKGS_ALLOW_UNFREE: 1
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix-shell --run true