1
1
Fork 0
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:
Nick Van den Broeck 2019-02-21 06:53:01 +01:00
parent d342de02b9
commit cfb6ab80ce
4 changed files with 47 additions and 14 deletions

View file

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