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:
parent
d4ee8afd59
commit
e007f367bd
5 changed files with 33 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue