I'm seeing the following error when I run nix-build with a nix file that uses dockerTools on MacOS.
Running the nix-build with this same script was working previously. But I recently updated to Nix 2.2 and that's when it started breaking.
building '/nix/store/1yki5kfxk7c8rmkvcak7p9jsic4xagx7-tarsum.drv' on 'ssh://root@nix-docker'...
failed to initialize build cache at /homeless-shelter/.cache/go-build: mkdir /homeless-shelter: permission denied
builder for '/nix/store/1yki5kfxk7c8rmkvcak7p9jsic4xagx7-tarsum.drv' failed with exit code 1
error: build of '/nix/store/1yki5kfxk7c8rmkvcak7p9jsic4xagx7-tarsum.drv' on 'ssh://root@nix-docker' failed: builder for '/nix/store/1yki5kfxk7c8rmkvcak7p9jsic4xagx7-tarsum.drv' failed with exit code 1
builder for '/nix/store/1yki5kfxk7c8rmkvcak7p9jsic4xagx7-tarsum.drv' failed with exit code 1
I'm seeing the following error when I run
nix-build
with a nix file that uses dockerTools on MacOS.Running the nix-build with this same script was working previously. But I recently updated to Nix 2.2 and that's when it started breaking.