Merge pull request #19639 from cleverca22/ipxe

ipxe: allow usage of preConfigure again
This commit is contained in:
Domen Kožar
2016-10-18 10:45:45 +02:00
committed by GitHub
+5 -1
View File
@@ -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";