Skip to content

fix flake.nix

fix flake.nix #38

Workflow file for this run

# https://github.com/DeterminateSystems/magic-nix-cache#usage
name: Nix Flake
on:
push:
pull_request:
jobs:
nix:
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
# - ubuntu-24.04-arm
- macos-latest
name: Nix on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix flake check
- name: "Check `nix develop` shell"
run: nix develop --check
- name: "Check `nix develop` shell can run command"
run: nix develop --command "echo"