about summary refs log tree commit diff
path: root/pkgs/tools/misc/ipxe/default.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2019-07-15 17:37:30 +0300
committerNikolay Amiantov <ab@fmap.me>2019-07-15 19:33:15 +0300
commit6152007747ea5441c0f3e73c2d4ad0977a6079c1 (patch)
treefa63a3e0f9a40e0af48c658a4cbe4bdbdcb59320 /pkgs/tools/misc/ipxe/default.nix
parent9e12db91de503094f41b69e9a21838c3569fbc3a (diff)
downloadnixlib-6152007747ea5441c0f3e73c2d4ad0977a6079c1.tar
nixlib-6152007747ea5441c0f3e73c2d4ad0977a6079c1.tar.gz
nixlib-6152007747ea5441c0f3e73c2d4ad0977a6079c1.tar.bz2
nixlib-6152007747ea5441c0f3e73c2d4ad0977a6079c1.tar.lz
nixlib-6152007747ea5441c0f3e73c2d4ad0977a6079c1.tar.xz
nixlib-6152007747ea5441c0f3e73c2d4ad0977a6079c1.tar.zst
nixlib-6152007747ea5441c0f3e73c2d4ad0977a6079c1.zip
ipxe: add imgtrust and ping
imgtrust is needed to run netboot.xyz scripts.
ping is useful for testing network settings.
Also add HTTP option for clarity (it's already being built).
Diffstat (limited to 'pkgs/tools/misc/ipxe/default.nix')
-rw-r--r--pkgs/tools/misc/ipxe/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/misc/ipxe/default.nix b/pkgs/tools/misc/ipxe/default.nix
index c8668a5ad721..219c03f263c7 100644
--- a/pkgs/tools/misc/ipxe/default.nix
+++ b/pkgs/tools/misc/ipxe/default.nix
@@ -42,7 +42,12 @@ stdenv.mkDerivation {
     ] ++ lib.optional (embedScript != null) "EMBED=${embedScript}";
 
 
-  enabledOptions = [ "DOWNLOAD_PROTO_HTTPS" ];
+  enabledOptions = [
+    "PING_CMD"
+    "IMAGE_TRUST_CMD"
+    "DOWNLOAD_PROTO_HTTP"
+    "DOWNLOAD_PROTO_HTTPS"
+  ];
 
   configurePhase = ''
     runHook preConfigure