mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
softhsm: enable db backend
This allows for using a sqlite database as softhsm's object store.
This commit is contained in:
parent
e3ff079965
commit
bf193eb258
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user