On 9/22/22 17:47, Yuri Nesterov wrote:
This allows to get access to rootfs and kernel from device images.
Signed-off-by: Yuri Nesterov <yuriy.nesterov@unikie.com> --- img/live/default.nix | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/img/live/default.nix b/img/live/default.nix index 65ad058..5461384 100644 --- a/img/live/default.nix +++ b/img/live/default.nix @@ -45,4 +45,6 @@ stdenvNoCC.mkDerivation { '';
enableParallelBuilding = true; + + passthru = { inherit rootfs; }; }
Thanks, fixes the issue and takes us to the next issue before out-of-tree build reference configs with imx8 variants are supported. ~/out-of-tree-build ❯ nix-build spectrum-config-imx8/imx8qxp/ -I nixpkgs=nixpkgs-spectrum/ this derivation will be built: /nix/store/0xgldphzh2kjgckd13k3azarzvkdqqvs-spectrum-live-imx8qxp.img-0.1.drv building '/nix/store/0xgldphzh2kjgckd13k3azarzvkdqqvs-spectrum-live-imx8qxp.img-0.1.drv'... /nix/store/nlzy51mvniqk080jlszm37j0hzi6m9rv-stdenv-linux/setup: line 1340: spectrum: command not found Tested-by: Ville Ilvonen <ville.ilvonen@unikie.com> -Ville