From b2aaa2bfd80f2368109f00a2366963945f96b403 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Fri, 28 Jul 2023 20:49:41 +0200 Subject: [PATCH] systemd: make `withPasswordQuality` always disabled It is not possible currently to compile systemd with it because passwdqc is not packaged. --- pkgs/os-specific/linux/systemd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index cf53bc7d874b..d858e68f31b1 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -151,6 +151,8 @@ assert withHomed -> withPam; assert withUkify -> withEfi; assert withRepart -> withCryptsetup; assert withBootloader -> withEfi; +# passwdqc is not packaged in nixpkgs yet, if you want to fix this, please submit a PR. +assert !withPasswordQuality; let wantCurl = withRemote || withImportd;