I'd like to use Lix with this, but currently we hard-code nixos/nix-installer-action in action.yaml:
|
- name: Install Nix |
|
uses: nixos/nix-installer-action@main |
|
with: |
|
# build-dir in /nix works around nothing-but-nix issue 18 |
|
extra-conf: | |
|
# authenticate github api calls so flake fetches (github: refs, the |
|
# nixpkgs registry, the niks3 install) get the 5000/hr token limit |
|
# instead of the 60/hr unauthenticated one shared across runner ips, |
|
# which 403s intermittently; the installer's own github-token does not |
|
# configure this for later nix invocations |
|
access-tokens = github.com=${{ github.token }} |
|
accept-flake-config = true |
|
experimental-features = nix-command flakes |
|
build-dir = /nix/build |
|
system = ${{ inputs.system }} |
|
sandbox = ${{ runner.os == 'macOS' && 'relaxed' || 'true' }} |
Also we can't customize experimental-features to add things like the pipe operator.
I'd like to use Lix with this, but currently we hard-code
nixos/nix-installer-actioninaction.yaml:atelier/.github/actions/atelier/action.yaml
Lines 47 to 62 in 62d187e
Also we can't customize
experimental-featuresto add things like the pipe operator.