[flake] nix flake init
failed with ~/.local/share/nix/root used
as a chroot store
#6853
Labels
nix flake init
failed with ~/.local/share/nix/root used
as a chroot store
#6853
Describe the bug
When
~/.local/share/nix/root
is used as a chroot store, template's source is not found despite it being present in the store.Steps To Reproduce
nix build "github:NixOS/nix/0b62dab6db3da5b20e62697b14aaaf80f1a2eea6#packages.x86_64-linux.nix-static"
./nix --extra-experimental-features 'flakes nix-command' flake init
Expected behavior
Copy flake.nix from trivial template in current directory.
Tested with:
nix (Nix) 2.10.3
The text was updated successfully, but these errors were encountered: