mirror of
https://github.com/izzy2lost/nix.git
synced 2026-03-10 12:35:57 -07:00
E.g. in a derivation attribute `foo = ./bar`, if ./bar is a symlink,
we should copy the symlink to the store, not its target. This restores
the behaviour of Nix <= 2.19.
(cherry picked from commit 26b87e78b5)