mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-28 13:58:41 +02:00
tests/performance: disable test
Invalid generated rockspec. Error: /build/init.lua/lib1-0.0.1-1.rockspec: Unknown field build_dependencies (using rockspec format 1.0)
This commit is contained in:
parent
b4571a064f
commit
90671c8a90
3 changed files with 600 additions and 592 deletions
|
@ -86,7 +86,10 @@ let
|
|||
"numpy"
|
||||
];
|
||||
in
|
||||
{
|
||||
# TODO: 2025-07-25 luajit2.1-lib[1-5]-0.0.1 failing to build
|
||||
# Error: /build/init.lua/lib1-0.0.1-1.rockspec: Unknown field build_dependencies (using rockspec format 1.0)
|
||||
lib.optionalAttrs false (
|
||||
{
|
||||
default =
|
||||
{
|
||||
config,
|
||||
|
@ -386,8 +389,8 @@ in
|
|||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
//
|
||||
}
|
||||
//
|
||||
# Two equal tests, one with combinePlugins.enable = true
|
||||
lib.genAttrs
|
||||
[
|
||||
|
@ -436,3 +439,4 @@ in
|
|||
test_rtp_file("ftplugin/invalid.lua", false)
|
||||
'';
|
||||
})
|
||||
)
|
||||
|
|
|
@ -21,7 +21,10 @@ let
|
|||
# Assertion that exactly one start plugin is defined in nvimPackage.packpathDirs
|
||||
expectOneStartPlugin = config: expectNPlugins config "start" 1;
|
||||
in
|
||||
{
|
||||
# TODO: 2025-07-25 luajit2.1-lib[1-5]-0.0.1 failing to build
|
||||
# Error: /build/init.lua/lib1-0.0.1-1.rockspec: Unknown field build_dependencies (using rockspec format 1.0)
|
||||
lib.optionalAttrs false (
|
||||
{
|
||||
# Test basic functionality
|
||||
default =
|
||||
{ config, ... }:
|
||||
|
@ -212,8 +215,8 @@ in
|
|||
assert(require("plenary.filetype").detect(".bashrc") == "sh", "plenary.filetype is not working")
|
||||
'';
|
||||
};
|
||||
}
|
||||
//
|
||||
}
|
||||
//
|
||||
# Test that config.build.extraFiles is not combined
|
||||
# with or without byteCompileLua.enable = true
|
||||
lib.genAttrs [ "files-plugin" "files-plugin-byte-compiled" ] (
|
||||
|
@ -263,7 +266,7 @@ in
|
|||
];
|
||||
}
|
||||
)
|
||||
//
|
||||
//
|
||||
# Test that standalonePlugins option works
|
||||
# with or without byteCompileLua.enable = true
|
||||
lib.genAttrs [ "standalone-plugins" "standalone-plugins-byte-compiled" ] (
|
||||
|
@ -325,3 +328,4 @@ in
|
|||
];
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
|
@ -90,7 +90,7 @@ let
|
|||
end
|
||||
return M
|
||||
'';
|
||||
# Create a simple rockspec manifiest
|
||||
# Create a simple rockspec manifest
|
||||
postPatch = ''
|
||||
luarocks write-rockspec "${name}" "${version}" .
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue