tpnote: fix cargoTestFlags/cargoBuildFlags for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-28 12:22:39 +01:00
parent a6183f3cd3
commit d0050263c5
+5 -2
View File
@@ -48,11 +48,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
installManPage docs/build/man/man1/tpnote.1
'';
RUSTONIG_SYSTEM_LIBONIG = true;
env.RUSTONIG_SYSTEM_LIBONIG = true;
# The `tpnote` crate has no unit tests. All tests are in `tpnote-lib`.
checkType = "debug";
cargoTestFlags = "--package tpnote-lib";
cargoTestFlags = [
"--package"
"tpnote-lib"
];
doCheck = true;
nativeInstallCheckInputs = [