nixos/lib/testing.nix: make 'config' a free variable

cc @edolstra
This commit is contained in:
Domen Kožar 2016-03-29 14:16:01 +01:00
parent 54eb061a12
commit c56c3b6596
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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 {