From 916d98f71ff31cb95428a280a81bf37e7af55982 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sun, 1 Jun 2025 15:05:15 +0200 Subject: [PATCH] softhsm: fix and enable strictDeps --- pkgs/by-name/so/softhsm/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/so/softhsm/package.nix b/pkgs/by-name/so/softhsm/package.nix index 48d64a0935d2..19be262667a4 100644 --- a/pkgs/by-name/so/softhsm/package.nix +++ b/pkgs/by-name/so/softhsm/package.nix @@ -22,6 +22,9 @@ stdenv.mkDerivation rec { "--with-objectstore-backend-db" "--sysconfdir=$out/etc" "--localstatedir=$out/var" + # The configure script checks for the sqlite3 command, but never uses it. + # Provide an arbitrary executable file for cross scenarios. + "ac_cv_path_SQLITE3=/" ]; buildInputs = [ @@ -29,6 +32,8 @@ stdenv.mkDerivation rec { sqlite ]; + strictDeps = true; + postInstall = "rm -rf $out/var"; meta = with lib; {