summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-10-28 00:29:34 +0100
committerFlorian Klink <flokli@flokli.de>2020-10-28 23:24:17 +0100
commit13a910e3f6e50ff3d1946e75cce6fde64656bba0 (patch)
treeb5d6792a15489430be7c44cd84f16f6646cc24c9 /pkgs/os-specific/linux/systemd
parent585f4a140b40959733903ab6fcba3ee2b5586af7 (diff)
downloadnixpkgs-13a910e3f6e50ff3d1946e75cce6fde64656bba0.tar
nixpkgs-13a910e3f6e50ff3d1946e75cce6fde64656bba0.tar.gz
nixpkgs-13a910e3f6e50ff3d1946e75cce6fde64656bba0.tar.bz2
nixpkgs-13a910e3f6e50ff3d1946e75cce6fde64656bba0.tar.lz
nixpkgs-13a910e3f6e50ff3d1946e75cce6fde64656bba0.tar.xz
nixpkgs-13a910e3f6e50ff3d1946e75cce6fde64656bba0.tar.zst
nixpkgs-13a910e3f6e50ff3d1946e75cce6fde64656bba0.zip
systemd: make gcrypt optional
Diffstat (limited to 'pkgs/os-specific/linux/systemd')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix
index e5d4e0e1402..09b828f5875 100644
--- a/pkgs/os-specific/linux/systemd/default.nix
+++ b/pkgs/os-specific/linux/systemd/default.nix
@@ -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"