Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
ci: another try at /nix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Mar 19, 2024
1 parent 6e86e37 commit 17e9477
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/Nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ jobs:
large-packages: true
swap-storage: true

- name: "Create Dir for Mounting moar Disk Space"
- name: "Create dir for mounting moar disk Space"
if: matrix.os == 'ubuntu-latest'
run: |
sudo mkdir /nix
sudo chown -R runner:runner /nix
- name: "Maximize Disk Space"
if: matrix.os == 'ubuntu-latest'
Expand All @@ -71,6 +70,12 @@ jobs:
swap-size-mb: "4096"
root-reserve-mb: "1024"

- name: "Adjust permissions for /nix"
if: matrix.os == 'ubuntu-latest'
run: |
sudo chown -R root:root /nix
sudo chmod -R 755 /nix
- name: "Install Nix"
uses: DeterminateSystems/nix-installer-action@v10

Expand Down

0 comments on commit 17e9477

Please sign in to comment.