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:
parent
fa3fd41063
commit
b9c30a9c87
3 changed files with 45 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue