mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Add --store argument to legacy commands
This commit is contained in:
parent
d16fd24973
commit
86aab6e9a0
1 changed files with 6 additions and 0 deletions
|
@ -198,6 +198,12 @@ LegacyArgs::LegacyArgs(const std::string & programName,
|
|||
|
||||
mkFlag(0, "no-gc-warning", "disable warning about not using '--add-root'",
|
||||
&gcWarning, false);
|
||||
|
||||
mkFlag()
|
||||
.longName("store")
|
||||
.label("store-uri")
|
||||
.description("URI of the Nix store to use")
|
||||
.dest(&(std::string&) settings.storeUri);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue