diff options
author | Guillaume Maudoux <guillaume.maudoux@tweag.io> | 2022-01-11 11:57:45 +0100 |
---|---|---|
committer | Guillaume Maudoux <guillaume.maudoux@tweag.io> | 2022-01-11 11:57:45 +0100 |
commit | e9a4abdb5d6fe8e128372a77d879b0187b1bacfe (patch) | |
tree | 0e1b541da8e5b7d9ebab7fdf94b3f4a209d02393 /src/nix-env/nix-env.cc | |
parent | c260640dec6e35c714b666a1e7adede5aab6972a (diff) |
Make --repair-path also repair corrupt optimised links
There already existed a smoke test for the link content length,
but it appears that there exists some corruptions pernicious enough
to replace the file content with zeros, and keeping the same length.
--repair-path now goes as far as checking the content of the link,
making it true to its name and actually repairing the path for such
coruption cases.
Diffstat (limited to 'src/nix-env/nix-env.cc')
0 files changed, 0 insertions, 0 deletions