mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
Fix clang build
This commit is contained in:
parent
12f141391c
commit
02d5c54555
4 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ std::string EvalState::encodePath(const SourcePath & path)
|
|||
to /nix/store/virtual000...<N>) and we should deprecate it
|
||||
eventually. So print a warning about use of an encoded path in
|
||||
decodePath(). */
|
||||
return path.accessor == rootFS
|
||||
return path.accessor == ref<InputAccessor>(rootFS)
|
||||
? path.path.abs()
|
||||
: fmt("%s%08x-source%s", virtualPathMarker, path.accessor->number, path.path.absOrEmpty());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue