systemd: make gcrypt optional

This commit is contained in:
Florian Klink 2020-10-28 00:29:34 +01:00
parent 585f4a140b
commit 13a910e3f6
2 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,7 @@ stdenv.mkDerivation {
# while we do not run tests we should also not build them. Removes about 600 targets # while we do not run tests we should also not build them. Removes about 600 targets
"-Dtests=false" "-Dtests=false"
"-Danalyze=${lib.boolToString withAnalyze}" "-Danalyze=${lib.boolToString withAnalyze}"
"-Dgcrypt=${lib.boolToString (libgcrypt != null)}"
"-Dimportd=${lib.boolToString withImportd}" "-Dimportd=${lib.boolToString withImportd}"
"-Dlz4=${lib.boolToString withCompression}" "-Dlz4=${lib.boolToString withCompression}"
"-Dhomed=false" "-Dhomed=false"

View File

@ -18676,6 +18676,7 @@ in
withResolved = false; withResolved = false;
withTimedated = false; withTimedated = false;
glib = null; glib = null;
libgcrypt = null;
lvm2 = null; lvm2 = null;
}; };