Unverified Commit d0050263 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

tpnote: fix cargoTestFlags/cargoBuildFlags for structuredAttrs

parent a6183f3c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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 = [