From 13a910e3f6e50ff3d1946e75cce6fde64656bba0 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 28 Oct 2020 00:29:34 +0100 Subject: [PATCH] systemd: make gcrypt optional --- pkgs/os-specific/linux/systemd/default.nix | 1 + pkgs/top-level/all-packages.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index e5d4e0e1402c..09b828f58751 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" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c45d22b4180..ee0d9d80934d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18676,6 +18676,7 @@ in withResolved = false; withTimedated = false; glib = null; + libgcrypt = null; lvm2 = null; };