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
"-Dtests=false"
"-Danalyze=${lib.boolToString withAnalyze}"
"-Dgcrypt=${lib.boolToString (libgcrypt != null)}"
"-Dimportd=${lib.boolToString withImportd}"
"-Dlz4=${lib.boolToString withCompression}"
"-Dhomed=false"

View file

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