Skip to content

Commit

Permalink
qemu: catch missing override nixosTestRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Dec 18, 2023
1 parent 67d28f3 commit 2b9a938
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/runners/qemu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 2b9a938

Please sign in to comment.