Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

cc @edolstra

(cherry picked from commit c56c3b65964b5d06ef1cf576aa609cd76c6edf78)
Signed-off-by: Domen Kožar <domen@dev.si>

+4 -4
+2 -2
nixos/lib/build-vms.nix
··· 1 - { system, minimal ? false }: 1 + { system, minimal ? false, config ? {} }: 2 2 3 - let pkgs = import ../.. { config = {}; inherit system; }; in 3 + let pkgs = import ../.. { inherit system config; }; in 4 4 5 5 with pkgs.lib; 6 6 with import ../lib/qemu-flags.nix;
+2 -2
nixos/lib/testing.nix
··· 1 - { system, minimal ? false }: 1 + { system, minimal ? false, config ? {} }: 2 2 3 - with import ./build-vms.nix { inherit system minimal; }; 3 + with import ./build-vms.nix { inherit system minimal config; }; 4 4 with pkgs; 5 5 6 6 rec {