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
commit 30c3e503f6

View file

@ -27,8 +27,12 @@ stdenv.mkDerivation {
];
enabledOptions = [ "DOWNLOAD_PROTO_HTTPS" ];
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";