summary refs log tree commit diff
path: root/nixos/lib/testing-python.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-05-08 17:24:47 +0200
committeraszlig <aszlig@nix.build>2021-05-09 02:26:40 +0200
commit71087b2bc4e3d78a44c8d562be63fc91c0acbefa (patch)
treecc749d5ed872a0ebbb9f10d235dbbed8d1992456 /nixos/lib/testing-python.nix
parentc362a28fcf2621fd3b6d6a96c821e9af9d123e21 (diff)
downloadnixpkgs-71087b2bc4e3d78a44c8d562be63fc91c0acbefa.tar
nixpkgs-71087b2bc4e3d78a44c8d562be63fc91c0acbefa.tar.gz
nixpkgs-71087b2bc4e3d78a44c8d562be63fc91c0acbefa.tar.bz2
nixpkgs-71087b2bc4e3d78a44c8d562be63fc91c0acbefa.tar.lz
nixpkgs-71087b2bc4e3d78a44c8d562be63fc91c0acbefa.tar.xz
nixpkgs-71087b2bc4e3d78a44c8d562be63fc91c0acbefa.tar.zst
nixpkgs-71087b2bc4e3d78a44c8d562be63fc91c0acbefa.zip
nixos/testing-python.nix: Expose driver
(cherry picked from commit a2c9220568648b4528154ebd8e657add243ed0b4)
Diffstat (limited to 'nixos/lib/testing-python.nix')
-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 6327f7a10a3..fde52ba4fc1 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;
     };