From 2b9a938c7eaf320923e1621008a79f4ce8d05c43 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 18 Dec 2023 03:23:06 +0100 Subject: [PATCH] qemu: catch missing override nixosTestRunner --- lib/runners/qemu.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/runners/qemu.nix b/lib/runners/qemu.nix index 45bbabe1..7cd815b1 100644 --- a/lib/runners/qemu.nix +++ b/lib/runners/qemu.nix @@ -17,7 +17,10 @@ let minimizeQemuClosureSize = pkg: (pkg.override (oa: { # standin for disabling everything guilike by hand - nixosTestRunner = if graphics.enable then oa.nixosTestRunner else true; + nixosTestRunner = + if graphics.enable + then oa.nixosTestRunner or false + else true; enableDocs = false; })).overrideAttrs (oa: { postFixup = ''