Skip to content

ci: nix: use --impure with nix develop #103

ci: nix: use --impure with nix develop

ci: nix: use --impure with nix develop #103

Workflow file for this run

name: Nix Build
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- macos-13
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Nix Build
run: nix build --print-build-logs .
- name: Nix Develop
# devenv needs `--impure`
run: nix develop --impure --command true