softhsm: switch backend to openssl

Switching softhsm to use OpenSSL instead of botan2 for cryptography.
Botan2 has been end-of-life since January 2025 and can not be built with gcc-15, and softhsm does not support botan3.
This commit is contained in:
git@71rd.net
2025-09-25 01:50:49 +00:00
parent 842db5bae8
commit 0714665a36
+4 -4
View File
@@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
botan2,
openssl,
sqlite,
autoreconfHook,
}:
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
];
configureFlags = [
"--with-crypto-backend=botan"
"--with-botan=${lib.getDev botan2}"
"--with-crypto-backend=openssl"
"--with-openssl=${lib.getDev openssl}"
"--with-objectstore-backend-db"
"--sysconfdir=$out/etc"
"--localstatedir=$out/var"
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
botan2
openssl
sqlite
];