From 5d14747fdc3032a92d0d686d574f8da856eacb09 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Thu, 21 Dec 2023 17:36:30 -0800 Subject: [PATCH] systemd: Add withBootloader to ukify assertion Systemd fails to build with `withUkify` set to true unless `withBootloader` is also set to true. Amend the existing assertion to also ensure `withBootloader` is true. --- pkgs/os-specific/linux/systemd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index cb3f0dd1bedc..f57e4039d203 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -153,7 +153,7 @@ assert withImportd -> withCompression; assert withCoredump -> withCompression; assert withHomed -> withCryptsetup; assert withHomed -> withPam; -assert withUkify -> withEfi; +assert withUkify -> (withEfi && withBootloader); assert withRepart -> withCryptsetup; assert withBootloader -> withEfi; # passwdqc is not packaged in nixpkgs yet, if you want to fix this, please submit a PR.