cargo-llvm-cov: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 15:59:51 +01:00
parent 4bfb57a6cd
commit df8588164a
+6 -4
View File
@@ -57,10 +57,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
};
};
# `cargo-llvm-cov` reads these environment variables to find these binaries,
# which are needed to run the tests
LLVM_COV = "${llvm}/bin/llvm-cov";
LLVM_PROFDATA = "${llvm}/bin/llvm-profdata";
env = {
# `cargo-llvm-cov` reads these environment variables to find these binaries,
# which are needed to run the tests
LLVM_COV = "${llvm}/bin/llvm-cov";
LLVM_PROFDATA = "${llvm}/bin/llvm-profdata";
};
nativeCheckInputs = [
gitMinimal