mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 06:01:00 +01:00
nix flake init: Fix
This commit is contained in:
parent
da553de7b1
commit
b01ee2a93d
2 changed files with 32 additions and 34 deletions
|
|
@ -106,13 +106,16 @@ struct SourcePath
|
|||
{ return accessor.pathExists(path); }
|
||||
|
||||
InputAccessor::Stat lstat() const
|
||||
{ return accessor.lstat(path); }
|
||||
{ return accessor.lstat(path); }
|
||||
|
||||
std::optional<InputAccessor::Stat> maybeLstat() const
|
||||
{ return accessor.maybeLstat(path); }
|
||||
{ return accessor.maybeLstat(path); }
|
||||
|
||||
InputAccessor::DirEntries readDirectory() const
|
||||
{ return accessor.readDirectory(path); }
|
||||
{ return accessor.readDirectory(path); }
|
||||
|
||||
std::string readLink() const
|
||||
{ return accessor.readLink(path); }
|
||||
|
||||
void dumpPath(
|
||||
Sink & sink,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue