Update .github/workflows/main.yml
Some checks failed
update-flake-lock / lockfile (push) Failing after 7s
Some checks failed
update-flake-lock / lockfile (push) Failing after 7s
This commit is contained in:
parent
2efe8ca19a
commit
bbfae1bbdc
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -14,12 +14,14 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v16
|
||||
with:
|
||||
extra_nix_config: |
|
||||
auto-optimise-store = true
|
||||
experimental-features = nix-command flakes
|
||||
- name: Install nix
|
||||
run: |
|
||||
sudo mkdir -p /nix /etc/nix
|
||||
sudo chmod a+rwx /nix
|
||||
sudo sh -c "echo 'sandbox = false' > /etc/nix/nix.conf"
|
||||
sh <(curl -L https://nixos.org/nix/install) --no-daemon
|
||||
mkdir -p /home/runner/.config/nix/
|
||||
echo 'experimental-features = nix-command flakes' > /home/runner/.config/nix/nix.conf
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v16
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user