From ed65e78a2b6106d72fd48ef970a42f5533fddaaa Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 11 Dec 2020 13:26:05 +0100 Subject: [PATCH] make-test: expose test config This is useful for programmatically exploring a test config or for building a test system on a custom platform. --- test/lib/make-test.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lib/make-test.nix b/test/lib/make-test.nix index a0baa17..c3620fe 100644 --- a/test/lib/make-test.nix +++ b/test/lib/make-test.nix @@ -41,11 +41,13 @@ scenario: testConfig: container = { # The container name has a 11 char length limit - containers.nb-test = { config, ...}: { + containers.nb-test = { config, ... }: { config = { extra = config.config.test.container; config = testConfig; }; }; }; + + config = testConfig; }