mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
Add path flakeref variant
Unlike file://<path>, this allows the path to be a dirty Git tree, so nix build /path/to/flake:attr is a convenient way to test building a local flake.
This commit is contained in:
parent
a9ceeeb4b0
commit
6a4c7fb975
6 changed files with 49 additions and 5 deletions
|
@ -35,6 +35,7 @@ struct Flake
|
|||
FlakeRef ref;
|
||||
std::string description;
|
||||
Path path;
|
||||
std::optional<uint64_t> revCount;
|
||||
std::vector<FlakeRef> requires;
|
||||
std::shared_ptr<FlakeRegistry> lockFile;
|
||||
Value * vProvides; // FIXME: gc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue