1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 22:12:43 +01:00

Fixed minor things

This commit is contained in:
Nick Van den Broeck 2019-02-21 06:53:01 +01:00
parent d4ee8afd59
commit e007f367bd
5 changed files with 33 additions and 19 deletions

View file

@ -34,15 +34,24 @@ struct Buildable
typedef std::vector<Buildable> Buildables;
struct GitRepoCommand : virtual Args
{
std::string gitPath = absPath(".");
GitRepoCommand ()
{
expectArg("git-path", &gitPath, true);
}
};
struct FlakeCommand : virtual Args, StoreCommand, MixEvalArgs
{
std::string flakeUri;
std::string flakeUri;
public:
FlakeCommand()
{
expectArg("flake-uri", &flakeUri);
}
FlakeCommand()
{
expectArg("flake-uri", &flakeUri);
}
};
struct Installable