1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-01 14:41:00 +01:00

Fix flake subdir handling

This commit is contained in:
Eelco Dolstra 2022-05-12 19:31:07 +02:00
parent 1ee5dd6d96
commit 9e05daaa9e
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 28 additions and 25 deletions

View file

@ -61,8 +61,7 @@ struct Flake
FlakeRef originalRef; // the original flake specification (by the user)
FlakeRef resolvedRef; // registry references and caching resolved to the specific underlying flake
FlakeRef lockedRef; // the specific local store result of invoking the fetcher
InputAccessor * accessor; // FIXME: must be non-null
Path flakePath;
SourcePath path;
bool forceDirty = false; // pretend that 'lockedRef' is dirty
std::optional<std::string> description;
FlakeInputs inputs;