emmylua-{ls,check,doc-cli}: enable __structuredAttrs and strictDeps (#518810)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -18,6 +18,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
hash = "sha256-2HC2BeT4x4QGjj2tKB0yM9Bh7zsQ/S0xX/KaJvlgq2o=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user