Update .github/workflows/main.yml
Some checks failed
update-flake-lock / lockfile (push) Failing after 7s

This commit is contained in:
sora 2023-11-14 18:28:30 +01:00
parent 2efe8ca19a
commit bbfae1bbdc

View File

@ -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: