mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-03-09 13:30:20 +00:00
16 lines
568 B
YAML
16 lines
568 B
YAML
name: install-nix
|
|
description: Install Nix with flakes enabled and pre-warm the repository's flake devShell
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Install Nix (with flakes)
|
|
uses: cachix/install-nix-action@v31
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
- name: Pre-warm flake devShell
|
|
run: |
|
|
# Use the repository's `flake.nix` devShell to fetch dependencies.
|
|
# This speeds up later `nix develop` invocations in workflow steps.
|
|
nix develop --command true
|
|
shell: bash
|