firecracker-vm: expose components in passthru

This commit is contained in:
Sean Buckley 2024-07-23 20:10:09 -04:00
parent dd406792a0
commit fd2fa7c92c

View file

@ -1,6 +1,6 @@
{ callPackage { callPackage
, firecracker , firecracker
, writeShellScriptBin , writeShellApplication
, writeText , writeText
}: }:
@ -27,6 +27,8 @@ let
}); });
in in
writeShellScriptBin "firecracker-vm" '' writeShellApplication {
${firecracker}/bin/firecracker --no-api --config-file ${vmconfig} name = "firecracker-vm";
'' text = "${firecracker}/bin/firecracker --no-api --config-file ${vmconfig}";
derivationArgs.passthru = { inherit kernel rootfs; };
}