Merge pull request #19639 from cleverca22/ipxe
ipxe: allow usage of preConfigure again
This commit is contained in:
commit
30c3e503f6
@ -27,8 +27,12 @@ stdenv.mkDerivation {
|
|||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
enabledOptions = [ "DOWNLOAD_PROTO_HTTPS" ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
echo "#define DOWNLOAD_PROTO_HTTPS" >> src/config/general.h
|
runHook preConfigure
|
||||||
|
for opt in $enabledOptions; do echo "#define $opt" >> src/config/general.h; done
|
||||||
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = "cd src";
|
preBuild = "cd src";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user