qemu: Build qemu-utils on ofborg

Makes sure that the qemu-utils build succeeds when qemu-utils is
about to be updated. It's a bit of an odd build perhaps, so it's
good to check that it still builds.
This commit is contained in:
Robert Hensing 2023-10-21 23:54:54 +02:00
parent 0dd2112aa6
commit 310e449b04

View File

@ -40,6 +40,7 @@
, nixosTestRunner ? false
, toolsOnly ? false
, gitUpdater
, qemu-utils # for tests attribute
}:
let
@ -251,6 +252,7 @@ stdenv.mkDerivation (finalAttrs: {
qemu-system-i386 = "bin/qemu-system-i386";
tests = lib.optionalAttrs (!toolsOnly) {
qemu-tests = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; });
qemu-utils-builds = qemu-utils;
};
updateScript = gitUpdater {
# No nicer place to find latest release.