systemd: disable efi if we don't build with withEfi is set to false
This commit is contained in:
parent
54c35f0940
commit
0b762c02ee
@ -270,6 +270,7 @@ stdenv.mkDerivation {
|
|||||||
# more frequent development builds
|
# more frequent development builds
|
||||||
"-Dman=true"
|
"-Dman=true"
|
||||||
|
|
||||||
|
"-Defi=${lib.boolToString withEfi}"
|
||||||
"-Dgnu-efi=${lib.boolToString withEfi}"
|
"-Dgnu-efi=${lib.boolToString withEfi}"
|
||||||
] ++ lib.optionals withEfi [
|
] ++ lib.optionals withEfi [
|
||||||
"-Defi-libdir=${toString gnu-efi}/lib"
|
"-Defi-libdir=${toString gnu-efi}/lib"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user