Skip to content

Commit

Permalink
Merge pull request #19639 from cleverca22/ipxe
Browse files Browse the repository at this point in the history
ipxe: allow usage of preConfigure again
  • Loading branch information
domenkozar committed Oct 18, 2016
2 parents a6e4e8f + 153ff5a commit 30c3e50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/tools/misc/ipxe/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 30c3e50

Please sign in to comment.