mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Implemented "nix flake info"
This commit is contained in:
parent
d342de02b9
commit
cfb6ab80ce
4 changed files with 47 additions and 14 deletions
|
|
@ -34,6 +34,17 @@ struct Buildable
|
|||
|
||||
typedef std::vector<Buildable> Buildables;
|
||||
|
||||
struct FlakeCommand : virtual Args, StoreCommand, MixEvalArgs
|
||||
{
|
||||
std::string flakeUri;
|
||||
|
||||
public:
|
||||
FlakeCommand()
|
||||
{
|
||||
expectArg("flake-uri", &flakeUri);
|
||||
}
|
||||
};
|
||||
|
||||
struct Installable
|
||||
{
|
||||
virtual std::string what() = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue