utils.nix: pass all attrs #17

Merged
sb10q merged 1 commits from astro/wfvm:pass-attrs into master 2024-08-17 17:37:23 +08:00
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
, qemuMem ? "4G"
, efi ? true
, enableTpm ? false
, ...
}:
rec {

View File

@ -14,7 +14,7 @@
let
lib = pkgs.lib;
utils = import ./utils.nix { inherit pkgs efi enableTpm; };
utils = import ./utils.nix ({ inherit pkgs efi enableTpm; } // attrs);
inherit (pkgs) guestfs-tools;
# p7zip on >20.03 has known vulns but we have no better option