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:
parent
ab9aaed0a0
commit
7cf3be168e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user