mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +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,6 +13,7 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = [
|
||||
"--with-crypto-backend=botan"
|
||||
"--with-botan=${lib.getDev botan2}"
|
||||
"--with-objectstore-backend-db"
|
||||
"--sysconfdir=$out/etc"
|
||||
"--localstatedir=$out/var"
|
||||
];
|
||||
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
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