nixos/lib/testing.nix: make 'config' a free variable
cc @edolstra
This commit is contained in:
parent
54eb061a12
commit
c56c3b6596
@ -1,6 +1,6 @@
|
||||
{ system, minimal ? false }:
|
||||
{ system, minimal ? false, config ? {} }:
|
||||
|
||||
let pkgs = import ../.. { config = {}; inherit system; }; in
|
||||
let pkgs = import ../.. { inherit system config; }; in
|
||||
|
||||
with pkgs.lib;
|
||||
with import ../lib/qemu-flags.nix;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ system, minimal ? false }:
|
||||
{ system, minimal ? false, config ? {} }:
|
||||
|
||||
with import ./build-vms.nix { inherit system minimal; };
|
||||
with import ./build-vms.nix { inherit system minimal config; };
|
||||
with pkgs;
|
||||
|
||||
rec {
|
||||
|
Loading…
Reference in New Issue
Block a user