{ liminix , nixpkgs }: let img = (import liminix { inherit nixpkgs; device = import "${liminix}/devices/qemu/"; liminix-config = ./configuration.nix; }).outputs.default; pkgs = import nixpkgs { overlays = [(import ../../overlay.nix)]; }; in pkgs.runCommand "check" { nativeBuildInputs = with pkgs; [ expect socat ] ; } '' . ${../test-helpers.sh} mkdir vm ${img}/run.sh --background ./vm expect ${./wait-for-wlan.expect} |tee output && mv output $out ''