mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
Nix refuses to operate when the store path or its parent directories contain symlinks. On some systems /mnt can be a symlink, causing disko-install to fail with: error: the path '"/mnt"' is a symlink; this is not allowed for the Nix store and its parent directories Use realpath to resolve symlinks before passing the mount point to nix-store and nixos-install commands.