root should own /nix before we install nix
This commit is contained in:
parent
f8018ab702
commit
bb0da64219
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
|
@ -50,6 +50,7 @@ jobs:
|
||||||
remove-codeql: 'true'
|
remove-codeql: 'true'
|
||||||
remove-docker-images: 'true'
|
remove-docker-images: 'true'
|
||||||
build-mount-path: /nix
|
build-mount-path: /nix
|
||||||
|
build-mount-path-ownership: 'root:root'
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
with:
|
||||||
logger: pretty
|
logger: pretty
|
||||||
|
@ -89,6 +90,7 @@ jobs:
|
||||||
remove-codeql: 'true'
|
remove-codeql: 'true'
|
||||||
remove-docker-images: 'true'
|
remove-docker-images: 'true'
|
||||||
build-mount-path: /nix
|
build-mount-path: /nix
|
||||||
|
build-mount-path-ownership: 'root:root'
|
||||||
- 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