1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 16:51:15 +02:00

fix: Handle symlinks and FIFOs in nix hash where possible

Fixes https://github.com/NixOS/nix/issues/11756
Fixes https://github.com/NixOS/nix/issues/11681

(cherry picked from commit 36563c69a4)
This commit is contained in:
Robert Hensing 2024-12-13 17:21:56 +01:00 committed by Jörg Thalheim
parent fa3fd41063
commit b9c30a9c87
3 changed files with 45 additions and 4 deletions

View file

@ -43,7 +43,7 @@ struct PosixSourceAccessor : virtual SourceAccessor
std::optional<std::filesystem::path> getPhysicalPath(const CanonPath & path) override;
/**
* Create a `PosixSourceAccessor` and `CanonPath` corresponding to
* Create a `PosixSourceAccessor` and `SourcePath` corresponding to
* some native path.
*
* The `PosixSourceAccessor` is rooted as far up the tree as