staging-next 2026-02-08 (#488406)

This commit is contained in:
Vladimír Čunát
2026-02-23 12:03:00 +00:00
committed by GitHub
1730 changed files with 24368 additions and 20139 deletions
@@ -2661,23 +2661,23 @@ final: prev: {
}:
buildLuarocksPackage {
pname = "luafilesystem";
version = "1.8.0-1";
version = "1.9.0-1";
knownRockspec =
(fetchurl {
url = "mirror://luarocks/luafilesystem-1.8.0-1.rockspec";
sha256 = "18nkaks0b75dmycljg5vljap5w8d0ysdkg96yl5szgzr7nzrymfa";
url = "mirror://luarocks/luafilesystem-1.9.0-1.rockspec";
sha256 = "1jg1w8c22hpv1jfcv6qyl3j354h1ar2qfarkiwx0c41sl90gpfrj";
}).outPath;
src = fetchFromGitHub {
owner = "keplerproject";
owner = "lunarmodules";
repo = "luafilesystem";
tag = "v1_8_0";
hash = "sha256-pEA+Z1pkykWLTT6NHQ5lo8roOh2P0fiHtnK+byTkF5o=";
tag = "v1_9_0";
hash = "sha256-xoNJra/yqxRG11TePcUKrAUU6cwypGnXIoLKZXNaoW0=";
};
disabled = luaOlder "5.1";
meta = {
homepage = "https://github.com/keplerproject/luafilesystem";
homepage = "https://github.com/lunarmodules/luafilesystem";
description = "File System Library for the Lua Programming Language";
maintainers = with lib.maintainers; [ flosse ];
license.fullName = "MIT/X11";
+2 -2
View File
@@ -13,7 +13,7 @@
buildLuarocksPackage rec {
pname = "luv";
version = "1.51.0-1";
version = "1.51.0-2";
src = fetchFromGitHub {
owner = "luvit";
@@ -21,7 +21,7 @@ buildLuarocksPackage rec {
rev = version;
# Need deps/lua-compat-5.3 only
fetchSubmodules = true;
hash = "sha256-vQfr0TwhkvRDJwZnxDD/53yCzyDouzQimTnwj4drs/c=";
hash = "sha256-UJHNXftAvtDuporyKCuJ7+KbtG0lBZ+DtESixS8rabQ=";
};
# to make sure we dont use bundled deps
+47 -76
View File
@@ -74,14 +74,10 @@ in
# keep-sorted start block=yes case=no newline_separated=yes
argparse = prev.argparse.overrideAttrs {
doCheck = true;
nativeCheckInputs = [ final.busted ];
nativeCheckInputs = [ final.bustedCheckHook ];
checkPhase = ''
runHook preCheck
export LUA_PATH="src/?.lua;$LUA_PATH"
busted spec/
runHook postCheck
'';
preCheck = ''LUA_PATH="src/?.lua;$LUA_PATH"'';
bustedFlags = [ "spec/" ];
};
busted = prev.busted.overrideAttrs (old: {
@@ -194,12 +190,8 @@ in
fzy = prev.fzy.overrideAttrs {
doCheck = true;
nativeCheckInputs = [ final.busted ];
# Until https://github.com/swarn/fzy-lua/pull/8 is merged,
# we have to invoke busted manually
checkPhase = ''
busted
'';
nativeCheckInputs = [ final.bustedCheckHook ];
# bustedFlags = [ "." ];
};
grug-far-nvim = prev.grug-far-nvim.overrideAttrs {
@@ -240,14 +232,9 @@ in
doCheck = lua.luaversion == "5.1";
nativeCheckInputs = [
final.nlua
final.busted
final.bustedCheckHook
writableTmpDirAsHomeHook
];
checkPhase = ''
runHook preCheck
busted --lua=nlua
runHook postCheck
'';
};
ldbus = prev.ldbus.overrideAttrs (old: {
@@ -382,6 +369,7 @@ in
};
lrexlib-gnu = prev.lrexlib-gnu.overrideAttrs (old: {
strictDeps = false;
buildInputs = old.buildInputs ++ [
gnulib
];
@@ -413,6 +401,7 @@ in
});
lua-cmsgpack = prev.lua-cmsgpack.overrideAttrs {
strictDeps = false;
meta.broken = isLuaJIT;
};
@@ -447,6 +436,7 @@ in
};
lua-rtoml = prev.lua-rtoml.overrideAttrs (old: {
strictDeps = false;
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (old) src;
@@ -580,16 +570,19 @@ in
lualine-nvim = prev.lualine-nvim.overrideAttrs (_: {
doCheck = lua.luaversion == "5.1";
nativeCheckInputs = [
final.nlua
final.busted
final.nvim-web-devicons
final.bustedCheckHook
final.nlua
gitMinimal
writableTmpDirAsHomeHook
];
checkPhase = ''
runHook preCheck
busted --lua=nlua --lpath='lua/?.lua' --lpath='lua/?/init.lua' tests/
runHook postCheck
bustedFlags = [
"tests/"
];
preCheck = ''
LUA_PATH="lua/?.lua;lua/?/init.lua;$LUA_PATH"
'';
});
@@ -760,44 +753,27 @@ in
doCheck = lua.luaversion == "5.1";
nativeCheckInputs = [
final.nlua
final.busted
final.bustedCheckHook
writableTmpDirAsHomeHook
];
checkPhase = ''
runHook preCheck
busted --lua=nlua
runHook postCheck
'';
};
lze = prev.lze.overrideAttrs {
doCheck = lua.luaversion == "5.1";
nativeCheckInputs = [
final.nlua
final.busted
final.bustedCheckHook
writableTmpDirAsHomeHook
];
checkPhase = ''
runHook preCheck
busted --lua=nlua
runHook postCheck
'';
};
lzextras = prev.lzextras.overrideAttrs {
doCheck = lua.luaversion == "5.1";
checkInputs = [
final.lze
];
nativeCheckInputs = [
final.nlua
final.busted
lua.pkgs.bustedCheckHook
final.lze
];
checkPhase = ''
runHook preCheck
busted --lua=nlua
runHook postCheck
'';
};
magick = prev.magick.overrideAttrs (old: {
@@ -864,6 +840,10 @@ in
'';
});
nfd = prev.nfd.overrideAttrs {
strictDeps = false;
};
nlua = prev.nlua.overrideAttrs {
# patchShebang removes the nvim in nlua's shebang so we hardcode one
@@ -877,19 +857,21 @@ in
doCheck = lua.luaversion == "5.1";
nativeCheckInputs = [
final.nlua
final.busted
# upstream uses PlenaryBusted which is a pain, run busted directly instead
final.bustedCheckHook
writableTmpDirAsHomeHook
];
# upstream uses PlenaryBusted which is a pain to setup
checkPhase = ''
runHook preCheck
busted --lua=nlua --lpath='lua/?.lua' --lpath='lua/?/init.lua' tests/
runHook postCheck
preCheck = ''
LUA_PATH="lua/?.lua;lua/?/init.lua;$LUA_PATH"
'';
bustedFlags = [
"tests/"
];
};
orgmode = prev.orgmode.overrideAttrs {
strictDeps = false;
# Patch in tree-sitter-orgmode dependency
postPatch = ''
substituteInPlace lua/orgmode/config/init.lua \
@@ -944,6 +926,10 @@ in
'';
};
rest-nvim = prev.rest-nvim.overrideAttrs {
strictDeps = false;
};
rocks-dev-nvim = prev.rocks-dev-nvim.overrideAttrs {
# E5113: Error while calling lua chunk [...] pl.path requires LuaFileSystem
@@ -951,13 +937,9 @@ in
doCheck = luaOlder "5.2" && stdenv.hostPlatform.isLinux;
nativeCheckInputs = [
final.nlua
final.busted
final.bustedCheckHook
];
checkPhase = ''
runHook preCheck
busted spec
runHook postCheck
'';
bustedFlags = [ "spec" ];
};
rocks-nvim = prev.rocks-nvim.overrideAttrs (oa: {
@@ -975,39 +957,27 @@ in
"bootstrap" # tries to install luarocks from network
];
checkPhase = ''
runHook preCheck
busted --run=offline
runHook postCheck
'';
bustedFlags = [
"--run=offline"
];
});
rtp-nvim = prev.rtp-nvim.overrideAttrs {
doCheck = lua.luaversion == "5.1";
nativeCheckInputs = [
final.nlua
final.busted
final.bustedCheckHook
writableTmpDirAsHomeHook
];
checkPhase = ''
runHook preCheck
busted --lua=nlua
runHook postCheck
'';
};
rustaceanvim = prev.rustaceanvim.overrideAttrs {
doCheck = lua.luaversion == "5.1";
nativeCheckInputs = [
final.nlua
final.busted
final.bustedCheckHook
writableTmpDirAsHomeHook
];
checkPhase = ''
runHook preCheck
busted --lua=nlua
runHook postCheck
'';
};
sofa = prev.sofa.overrideAttrs (old: {
@@ -1097,6 +1067,7 @@ in
});
tree-sitter-http = prev.tree-sitter-http.overrideAttrs (old: {
strictDeps = false;
propagatedBuildInputs =
let
# HACK: luarocks-nix puts rockspec build dependencies in the nativeBuildInputs,
@@ -1130,7 +1101,7 @@ in
});
tree-sitter-orgmode = prev.tree-sitter-orgmode.overrideAttrs (old: {
strictDeps = true; # can be removed after february 2026
strictDeps = false;
propagatedBuildInputs =
let
# HACK: luarocks-nix puts rockspec build dependencies in the nativeBuildInputs,