mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
tests: re-enable tests that work
This commit is contained in:
parent
6f8d8f7aee
commit
9851246241
29 changed files with 36 additions and 180 deletions
|
@ -43,18 +43,10 @@ let
|
|||
"ruff_lsp"
|
||||
"bufls"
|
||||
"typst_lsp"
|
||||
# Package ‘dotnet-core-combined’ is marked as insecure, refusing to evaluate.
|
||||
# Dotnet SDK 6.0.428 is EOL, please use 8.0 (LTS) or 9.0 (Current)
|
||||
# https://github.com/NixOS/nixpkgs/pull/358533
|
||||
"dafny"
|
||||
"fsautocomplete"
|
||||
"omnisharp"
|
||||
|
||||
# TODO: 2025-01-22 python312Packages.anytree is broken (dependency of bitbake-language-server)
|
||||
"bitbake_language_server"
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isDarwin [
|
||||
"fsautocomplete"
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isAarch64 [
|
||||
# Broken
|
||||
"scheme_langserver"
|
||||
|
@ -63,14 +55,8 @@ let
|
|||
# TODO: 2025-01-09 python312Packages.tree-sitter (dependency of autotools-language-server) is broken
|
||||
# https://github.com/NixOS/nixpkgs/issues/372375
|
||||
"autotools_ls"
|
||||
# Binary package not available for this architecture
|
||||
"starpls"
|
||||
# TODO: 2024-10-05 build failure
|
||||
"fstar"
|
||||
]
|
||||
++ lib.optionals (pkgs.stdenv.hostPlatform.system == "x86_64-darwin") [
|
||||
# Binary package not available for this architecture
|
||||
"starpls"
|
||||
];
|
||||
in
|
||||
{
|
||||
|
|
|
@ -282,9 +282,6 @@
|
|||
};
|
||||
};
|
||||
fzf = {
|
||||
keymaps = {
|
||||
# TODO
|
||||
};
|
||||
win_configs = {
|
||||
relative = "win";
|
||||
anchor = "NW";
|
||||
|
|
|
@ -23,21 +23,7 @@
|
|||
];
|
||||
|
||||
brokenTools =
|
||||
[
|
||||
# TODO: added 2024-09-13
|
||||
# Swift broken everywhere atm
|
||||
"swiftformat"
|
||||
"swiftlint"
|
||||
# TODO: added 2024-10-15
|
||||
# re-enable after fixed
|
||||
"dmd"
|
||||
]
|
||||
++ lib.optionals (system == "aarch64-linux") [
|
||||
# Broken as of 2024-07-13
|
||||
# TODO: re-enable this tests when fixed
|
||||
"textlint"
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isDarwin [
|
||||
lib.optionals pkgs.stdenv.isDarwin [
|
||||
# As of 2024-01-04, texliveMedium is broken on darwin
|
||||
# TODO: re-enable those tests when fixed
|
||||
"chktex"
|
||||
|
@ -48,8 +34,6 @@
|
|||
# https://github.com/NixOS/nixpkgs/pull/331373
|
||||
# TODO: re-enable this test when fixed
|
||||
"dmd"
|
||||
# As of 2024-11-03, graalvm-ce (dependency of clj-kondo) is broken on x86_64-darwin
|
||||
"clj_kondo"
|
||||
];
|
||||
|
||||
# TODO: respect unpackaged from generated
|
||||
|
@ -80,6 +64,8 @@
|
|||
"slim_lint"
|
||||
"solhint"
|
||||
"sorbet"
|
||||
"swiftformat"
|
||||
"swiftlint"
|
||||
"xo"
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isDarwin [ "clazy" ]
|
||||
|
|
|
@ -1,12 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
let
|
||||
platform = pkgs.stdenv.hostPlatform;
|
||||
|
||||
# TODO: `cadical`, one of `lean4`'s dependencies is broken on x86_64-darwin
|
||||
# https://github.com/NixOS/nixpkgs/pull/371275
|
||||
doRun = !(platform.isDarwin && platform.isx86_64);
|
||||
in
|
||||
lib.optionalAttrs doRun {
|
||||
{
|
||||
empty = {
|
||||
plugins.lean.enable = true;
|
||||
};
|
||||
|
|
|
@ -4,10 +4,6 @@
|
|||
};
|
||||
|
||||
with-sqlite = {
|
||||
# TODO: added 2024-09-13
|
||||
# re-enable when sqlite fixed
|
||||
test.runNvim = false;
|
||||
|
||||
plugins = {
|
||||
sqlite-lua.enable = true;
|
||||
neoclip = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins.neotest.enable = true;
|
||||
};
|
||||
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
all-adapters = lib.mkIf pkgs.stdenv.isLinux {
|
||||
all-adapters = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
@ -48,9 +43,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
defaults = lib.mkIf pkgs.stdenv.isLinux {
|
||||
defaults = {
|
||||
plugins.neotest = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
# We cannot test neotest-gtest as it tries to create file in the upper directory
|
||||
# https://github.com/alfaix/neotest-gtest/blob/6e794ac91f4c347e2ea5ddeb23d594f8fc64f2a8/lua/neotest-gtest/utils.lua#L10-L16
|
||||
test.runNvim = false;
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
defaults = lib.mkIf pkgs.stdenv.isLinux {
|
||||
defaults = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
# TODO: added 2024-09-15
|
||||
# TODO: Re-enable when upstream builds in darwin sandbox
|
||||
example = lib.mkIf pkgs.stdenv.isLinux {
|
||||
example = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
|
|
|
@ -105,48 +105,20 @@
|
|||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (pkgs.stdenv) hostPlatform;
|
||||
in
|
||||
{
|
||||
plugins.none-ls = {
|
||||
# sandbox-exec: pattern serialization length 159032 exceeds maximum (65535)
|
||||
enable = !pkgs.stdenv.isDarwin;
|
||||
enable = !hostPlatform.isDarwin;
|
||||
|
||||
sources =
|
||||
let
|
||||
disabled =
|
||||
[
|
||||
# TODO: added 2024-09-13
|
||||
# Swift broken everywhere atm
|
||||
"swiftformat"
|
||||
"swift_format"
|
||||
"swiftlint"
|
||||
# TODO: added 2024-10-15
|
||||
# broken package
|
||||
"opacheck"
|
||||
"rego"
|
||||
"prisma_format"
|
||||
]
|
||||
++ (lib.optionals pkgs.stdenv.isDarwin [
|
||||
# As of 2024-05-22, python311Packages.k5test (one of ansible-lint's dependenvies) is broken on darwin
|
||||
# TODO: re-enable this test when fixed
|
||||
"ansible_lint"
|
||||
"clazy"
|
||||
"gdformat"
|
||||
"gdlint"
|
||||
"haml_lint"
|
||||
# As of 2024-06-29, pkgs.rubyfmt is broken on darwin
|
||||
# TODO: re-enable this test when fixed
|
||||
"rubyfmt"
|
||||
"verilator"
|
||||
"verible_verilog_format"
|
||||
])
|
||||
++ (lib.optionals (pkgs.stdenv.isDarwin && pkgs.stdenv.isx86_64) [
|
||||
# As of 2024-11-03, graalvm-ce (dependency of clj-kondo) is broken on x86_64-darwin
|
||||
"clj_kondo"
|
||||
])
|
||||
++ (lib.optionals pkgs.stdenv.isAarch64 [
|
||||
"semgrep"
|
||||
"smlfmt"
|
||||
]);
|
||||
disabled = lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [
|
||||
# Not available on aarch64-linux
|
||||
"smlfmt"
|
||||
];
|
||||
in
|
||||
# Enable every none-ls source that has an option
|
||||
lib.mapAttrs (
|
||||
|
|
|
@ -82,8 +82,6 @@
|
|||
};
|
||||
|
||||
no-nix = {
|
||||
# TODO: See if we can build parsers (legacy way)
|
||||
test.runNvim = false;
|
||||
plugins.treesitter = {
|
||||
enable = true;
|
||||
nixGrammars = false;
|
||||
|
|
|
@ -60,10 +60,6 @@
|
|||
};
|
||||
|
||||
example = {
|
||||
# TODO: added 2024-09-13
|
||||
# re-enable when sqlite fixed
|
||||
test.runNvim = false;
|
||||
|
||||
plugins = {
|
||||
sqlite-lua.enable = true;
|
||||
telescope.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue