mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 07:07:32 -06:00
tryout alt action to install lix
This commit is contained in:
parent
fc6e5deea6
commit
74cee0e251
1 changed files with 10 additions and 5 deletions
15
.github/actions/nix/action.yml
vendored
15
.github/actions/nix/action.yml
vendored
|
@ -5,7 +5,7 @@ inputs:
|
||||||
description: Extra nix.conf config
|
description: Extra nix.conf config
|
||||||
default: |
|
default: |
|
||||||
accept-flake-config = true
|
accept-flake-config = true
|
||||||
experimental-features = pipe-operator
|
experimental-features = nix-command flakes pipe-operator
|
||||||
build-dir = /nix/var
|
build-dir = /nix/var
|
||||||
keep-derivations = true
|
keep-derivations = true
|
||||||
keep-outputs = true
|
keep-outputs = true
|
||||||
|
@ -27,10 +27,15 @@ runs:
|
||||||
BTRFS: ${{ inputs.btrfs }}
|
BTRFS: ${{ inputs.btrfs }}
|
||||||
run: exec ${{ github.action_path }}/prepare.sh
|
run: exec ${{ github.action_path }}/prepare.sh
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@v15
|
# - uses: DeterminateSystems/nix-installer-action@v15
|
||||||
with:
|
# with:
|
||||||
source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux
|
# source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux
|
||||||
extra-conf: ${{ inputs.nix_conf }}
|
# extra-conf: ${{ inputs.nix_conf }}
|
||||||
|
|
||||||
|
- uses: samueldr/lix-gha-installer-action@released
|
||||||
|
- name: workaround
|
||||||
|
shell: bash
|
||||||
|
run: echo "${{ inputs.nix_conf }}" >> /etc/nix/nix.conf
|
||||||
|
|
||||||
- name: Install and login to attic cache
|
- name: Install and login to attic cache
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue