root should own /nix before we install nix
This commit is contained in:
parent
8b90488ca6
commit
3fb20f66e6
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build-and-cache.yml
vendored
2
.github/workflows/build-and-cache.yml
vendored
|
@ -53,6 +53,7 @@ jobs:
|
||||||
remove-codeql: 'true'
|
remove-codeql: 'true'
|
||||||
remove-docker-images: 'true'
|
remove-docker-images: 'true'
|
||||||
build-mount-path: /nix
|
build-mount-path: /nix
|
||||||
|
- run: sudo chown root:root /nix
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
logger: pretty
|
logger: pretty
|
||||||
|
@ -92,6 +93,7 @@ jobs:
|
||||||
remove-codeql: 'true'
|
remove-codeql: 'true'
|
||||||
remove-docker-images: 'true'
|
remove-docker-images: 'true'
|
||||||
build-mount-path: /nix
|
build-mount-path: /nix
|
||||||
|
- run: sudo chown root:root /nix
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
logger: pretty
|
logger: pretty
|
||||||
|
|
Loading…
Add table
Reference in a new issue