fix(nvim): don't do assertion if not ide
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
b6c4957043
commit
731b85c948
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@
|
||||||
in {
|
in {
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = hasPrefix "/home/${mainUser}/" flakeEnv;
|
assertion = neovimIde && hasPrefix "/home/${mainUser}/" flakeEnv || !neovimIde;
|
||||||
message = mdDoc ''
|
message = ''
|
||||||
Your $FLAKE environment variable needs to point to a directory in
|
Your $FLAKE environment variable needs to point to a directory in
|
||||||
the main users' home to use the neovim module.
|
the main users' home to use the neovim module.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue