1
1
Fork 0
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:
Eelco Dolstra 2022-06-01 13:54:34 +02:00
parent da553de7b1
commit b01ee2a93d
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 32 additions and 34 deletions

View file

@ -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,