mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 08:28:20 +00:00
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 = ''
|
||||
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";
|
||||
|
|
Loading…
Reference in a new issue