about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorRobert Hensing2021-05-08 17:24:47 +0200
committeraszlig2021-05-09 02:26:40 +0200
commit71087b2bc4e3d78a44c8d562be63fc91c0acbefa (patch)
treecc749d5ed872a0ebbb9f10d235dbbed8d1992456 /nixos/lib
parentc362a28fcf2621fd3b6d6a96c821e9af9d123e21 (diff)
nixos/testing-python.nix: Expose driver
(cherry picked from commit a2c9220568648b4528154ebd8e657add243ed0b4)
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/testing-python.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix
index 6327f7a10a3a..fde52ba4fc1f 100644
--- a/nixos/lib/testing-python.nix
+++ b/nixos/lib/testing-python.nix
@@ -73,7 +73,9 @@ rec {
           LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver
         '';
 
-      passthru = driver.passthru;
+      passthru = driver.passthru // {
+        inherit driver;
+      };
 
       inherit pos;
     };