1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

systemd: disable efi if we don't build with withEfi is set to false

This commit is contained in:
Florian Klink 2020-10-28 00:35:00 +01:00
parent 54c35f0940
commit 0b762c02ee

View file

@ -270,6 +270,7 @@ stdenv.mkDerivation {
# more frequent development builds
"-Dman=true"
"-Defi=${lib.boolToString withEfi}"
"-Dgnu-efi=${lib.boolToString withEfi}"
] ++ lib.optionals withEfi [
"-Defi-libdir=${toString gnu-efi}/lib"