emmylua-{ls,check,doc-cli}: enable __structuredAttrs and strictDeps

This commit is contained in:
Marc Jakobi
2026-05-10 21:07:28 +02:00
parent 06e9ee02e4
commit 8c677afa88
3 changed files with 9 additions and 0 deletions
@@ -11,6 +11,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
pname = "emmylua_check";
inherit (emmylua-ls) version src cargoHash;
__structuredAttrs = true;
strictDeps = true;
nativeBuildInputs = [
pkg-config
];
@@ -8,6 +8,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
pname = "emmylua_doc_cli";
inherit (emmylua-ls) version src cargoHash;
__structuredAttrs = true;
strictDeps = true;
buildAndTestSubdir = "crates/emmylua_doc_cli";
nativeInstallCheckInputs = [
+3
View File
@@ -18,6 +18,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "sha256-Zj5nLeTH/4sVElYP+erg6bSTX8jFqF7sqiXfaMam8pE=";
};
__structuredAttrs = true;
strictDeps = true;
nativeBuildInputs = [
pkg-config
];