tests/plugins/utils/spectre: enable tests on Darwin

This commit is contained in:
Enno Richter 2024-08-01 12:14:21 +02:00 committed by Gaetan Lepage
parent cb398ce4ba
commit a96aa9730a

View file

@ -1,16 +1,12 @@
{ pkgs, ... }:
let
# Fails on darwin with: `module 'plenary.job' not found`
enable = !pkgs.stdenv.isDarwin;
in
{
empty = {
plugins.spectre.enable = enable;
plugins.spectre.enable = true;
};
package-options-manual = {
plugins.spectre = {
inherit enable;
enable = true;
findPackage = pkgs.ripgrep;
replacePackage = pkgs.gnused;
@ -19,7 +15,7 @@ in
package-options-from-settings = {
plugins.spectre = {
inherit enable;
enable = true;
settings.default = {
find.cmd = "rg";
@ -30,7 +26,7 @@ in
example = {
plugins.spectre = {
inherit enable;
enable = true;
settings = {
live_update = true;
@ -87,7 +83,7 @@ in
defaults = {
plugins.spectre = {
inherit enable;
enable = true;
settings = {
filetype = "spectre_panel";