about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorJared Baur <jaredbaur@fastmail.com>2023-12-21 17:36:30 -0800
committerJared Baur <jaredbaur@fastmail.com>2023-12-21 17:36:30 -0800
commit5d14747fdc3032a92d0d686d574f8da856eacb09 (patch)
tree031ca094cb98a0295c47b9accd9556c960f40a68 /pkgs/os-specific
parentbfbfb344598544058481e254b9f0f174d05b5e6a (diff)
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.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix
index cb3f0dd1bedcd..f57e4039d203d 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.