Merge pull request #285324 from jmbaur/softhsm-db-backend

softhsm: enable db backend
This commit is contained in:
Artturin 2024-05-05 01:39:06 +03:00 committed by GitHub
commit 73c519d244
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, botan2, libobjc, Security }:
{ lib, stdenv, fetchurl, botan2, sqlite, libobjc, Security }:
stdenv.mkDerivation rec {
@ -13,14 +13,15 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-crypto-backend=botan"
"--with-botan=${lib.getDev botan2}"
"--with-objectstore-backend-db"
"--sysconfdir=$out/etc"
"--localstatedir=$out/var"
];
];
propagatedBuildInputs =
lib.optionals stdenv.isDarwin [ libobjc Security ];
buildInputs = [ botan2 ];
buildInputs = [ botan2 sqlite ];
postInstall = "rm -rf $out/var";