From cd998f9de9f74f1b753d3b07e5c41b4aa52f6fc6 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Mon, 19 Aug 2024 14:55:55 -0700 Subject: [PATCH] nixos/qemu-vm: suppress mkfs.erofs output The mkfs.erofs utility has a lot of output by default that slows down running tests. We don't need to capture any of the output from mkfs.erofs, so we can suppress it. --- nixos/modules/virtualisation/qemu-vm.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 10f69f3a744a..a1aed8c4e917 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -143,6 +143,7 @@ let --transform 'flags=rSh;s|/nix/store/||' \ --files-from ${hostPkgs.closureInfo { rootPaths = [ config.system.build.toplevel regInfo ]; }}/store-paths \ | ${hostPkgs.erofs-utils}/bin/mkfs.erofs \ + --quiet \ --force-uid=0 \ --force-gid=0 \ -L ${nixStoreFilesystemLabel} \