buildLuarocksPackage: enable strictDeps by default

disabled strictDeps for derivations that fail until we fix them.
This change helps with new packages.
This commit is contained in:
teto
2026-01-12 00:13:48 +01:00
parent 51fe338182
commit b81acec358
5 changed files with 26 additions and 0 deletions
@@ -390,6 +390,7 @@ in
};
lrexlib-gnu = prev.lrexlib-gnu.overrideAttrs (old: {
strictDeps = false;
buildInputs = old.buildInputs ++ [
gnulib
];
@@ -419,6 +420,10 @@ in
];
});
lua-cmsgpack = prev.lua-cmsgpack.overrideAttrs {
strictDeps = false;
};
lua-curl = prev.lua-curl.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [
curl.dev
@@ -450,6 +455,7 @@ in
};
lua-rtoml = prev.lua-rtoml.overrideAttrs (old: {
strictDeps = false;
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (old) src;
@@ -859,6 +865,10 @@ in
'';
});
nfd = prev.nfd.overrideAttrs {
strictDeps = false;
};
nlua = prev.nlua.overrideAttrs {
# patchShebang removes the nvim in nlua's shebang so we hardcode one
@@ -885,6 +895,7 @@ in
};
orgmode = prev.orgmode.overrideAttrs {
strictDeps = false;
# Patch in tree-sitter-orgmode dependency
postPatch = ''
substituteInPlace lua/orgmode/config/init.lua \
@@ -986,6 +997,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
@@ -1118,6 +1133,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,
@@ -1149,6 +1165,7 @@ in
});
tree-sitter-orgmode = prev.tree-sitter-orgmode.overrideAttrs (old: {
strictDeps = false;
propagatedBuildInputs =
let
# HACK: luarocks-nix puts rockspec build dependencies in the nativeBuildInputs,