mergiraf: Prevent warnings related unmanaged VCSs
Add a guard to prevent people from getting warnings related to VCSs they don't use.
This commit is contained in:
parent
4aeef1941f
commit
be0c641a6a
2 changed files with 12 additions and 2 deletions
|
|
@ -53,6 +53,7 @@ in
|
|||
lib.optionals
|
||||
(
|
||||
cfg.enable
|
||||
&& config.programs.git.enable
|
||||
&& !lib.versionAtLeast config.home.stateVersion "26.05"
|
||||
&& options.programs.mergiraf.enableGitIntegration.highestPrio >= 1500
|
||||
)
|
||||
|
|
@ -68,6 +69,7 @@ in
|
|||
lib.optionals
|
||||
(
|
||||
cfg.enable
|
||||
&& config.programs.jujutsu.enable
|
||||
&& !lib.versionAtLeast config.home.stateVersion "26.05"
|
||||
&& options.programs.mergiraf.enableJujutsuIntegration.highestPrio >= 1500
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue