Skip to content

Commit

Permalink
tpm2-pkcs11: enable strictDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
numinit committed Feb 16, 2025
1 parent 69e0905 commit 08b409b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions pkgs/by-name/tp/tpm2-pkcs11/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,14 @@ chosenStdenv.mkDerivation (finalAttrs: {
]
++ lib.optional fapiSupport "--with-fapi";

strictDeps = true;

nativeBuildInputs = [
autoconf-archive
autoreconfHook
cmocka
makeWrapper
patchelf
pkg-config
];
buildInputs = lib.optional abrmdSupport tpm2-abrmd ++ [
libyaml
opensc
openssl
(python3.withPackages (
ps: with ps; [
packaging
Expand All @@ -86,10 +82,18 @@ chosenStdenv.mkDerivation (finalAttrs: {
tpm2-pytss
]
))
];
buildInputs = lib.optional abrmdSupport tpm2-abrmd ++ [
libyaml
opensc
openssl
sqlite
tpm2-tools
tpm2-tss
];
checkInputs = [
cmocka
];

enableParallelBuilding = true;
hardeningDisable = lib.optional fuzz "all";
Expand Down

0 comments on commit 08b409b

Please sign in to comment.