ipxe: Allow to specify additional options

Overriding the `enabledOptions` attribute only works if `configurePhase`
is also overridden, which makes it a bit inconvenient.
This commit is contained in:
Markus Partheymüller
2022-08-25 15:41:26 +02:00
parent ab9aaed0a0
commit 7cf3be168e
+2 -1
View File
@@ -3,6 +3,7 @@
, syslinux ? null
, embedScript ? null
, additionalTargets ? {}
, additionalOptions ? []
}:
let
@@ -63,7 +64,7 @@ stdenv.mkDerivation rec {
"IMAGE_TRUST_CMD"
"DOWNLOAD_PROTO_HTTP"
"DOWNLOAD_PROTO_HTTPS"
];
] ++ additionalOptions;
configurePhase = ''
runHook preConfigure