mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Hide the "dirty" notice when running nix develop
In the common case, nix develop is running against a dirty checkout of a project. This patch removes the warning about a dirty tree on nix develop only. Close FH-736
This commit is contained in:
parent
a8979e05b1
commit
d74acf1954
3 changed files with 13 additions and 0 deletions
|
|
@ -903,8 +903,13 @@ InstallableCommand::InstallableCommand()
|
|||
});
|
||||
}
|
||||
|
||||
void InstallableCommand::preRun(ref<Store> store)
|
||||
{
|
||||
}
|
||||
|
||||
void InstallableCommand::run(ref<Store> store)
|
||||
{
|
||||
preRun(store);
|
||||
auto installable = parseInstallable(store, _installable);
|
||||
run(store, std::move(installable));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue