forked from M-Labs/wfvm
utils.nix: pass all attrs
Fixes passing baseRtc and other parameters
This commit is contained in:
parent
ec1c08956b
commit
8051ad647a
|
@ -4,6 +4,7 @@
|
||||||
, qemuMem ? "4G"
|
, qemuMem ? "4G"
|
||||||
, efi ? true
|
, efi ? true
|
||||||
, enableTpm ? false
|
, enableTpm ? false
|
||||||
|
, ...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
utils = import ./utils.nix { inherit pkgs efi enableTpm; };
|
utils = import ./utils.nix ({ inherit pkgs efi enableTpm; } // attrs);
|
||||||
inherit (pkgs) guestfs-tools;
|
inherit (pkgs) guestfs-tools;
|
||||||
|
|
||||||
# p7zip on >20.03 has known vulns but we have no better option
|
# p7zip on >20.03 has known vulns but we have no better option
|
||||||
|
|
Loading…
Reference in New Issue