Skip to content

Commit

Permalink
systemd: add openssl as explicit buildInput
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn8901 committed Jan 2, 2025
1 parent 4eff25d commit 06e7dbd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
audit,
acl,
lz4,
openssl,
libgcrypt,
libgpg-error,
libidn2,
Expand Down Expand Up @@ -366,6 +367,9 @@ stdenv.mkDerivation (finalAttrs: {
libgcrypt
libgpg-error
]
++ lib.optionals (withHomed || withFido2 || withSysupdate || (withImportd && !wantGcrypt)) [
openssl
]
++ lib.optional withTests glib
++ lib.optional withAcl acl
++ lib.optional withApparmor libapparmor
Expand Down Expand Up @@ -503,7 +507,9 @@ stdenv.mkDerivation (finalAttrs: {

# FIDO2
(lib.mesonEnable "libfido2" withFido2)
(lib.mesonEnable "openssl" (withHomed || withFido2 || withSysupdate))
(lib.mesonEnable "openssl" (
withHomed || withFido2 || withSysupdate || (withImportd && !wantGcrypt)
))

# Password Quality
(lib.mesonEnable "pwquality" withPasswordQuality)
Expand Down

0 comments on commit 06e7dbd

Please sign in to comment.