mirror of
https://github.com/NixOS/nix.git
synced 2025-12-17 22:41:08 +01:00
https://github.com/NixOS/nix/pull/10456 fixed the addition of symlink store paths to the sandbox, but also made it so that the hardcoded sandbox paths (like `/etc/hosts`) were now bind-mounted without following the possible symlinks. This made these files unreadable if there were symlinks (because the sandbox would now contain a symlink to an unreachable file rather than the underlying file). In particular, this broke FOD derivations on NixOS as `/etc/hosts` is a symlink there. Fix that by canonicalizing all these hardcoded sandbox paths before adding them to the sandbox. |
||
|---|---|---|
| .. | ||
| functional | ||
| installer | ||
| nixos | ||
| unit | ||