summary refs log tree commit diff
path: root/nixos/release.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-06-25 12:47:50 +0200
committerRobert Hensing <robert@roberthensing.nl>2022-09-24 17:38:09 +0100
commit9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf (patch)
tree5c9dbce218392cb1bad2f56424029761a9e2f66b /nixos/release.nix
parent5297d584bcc5f95c8e87c631813b4e2ab7f19ecc (diff)
downloadnixpkgs-9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf.tar
nixpkgs-9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf.tar.gz
nixpkgs-9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf.tar.bz2
nixpkgs-9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf.tar.lz
nixpkgs-9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf.tar.xz
nixpkgs-9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf.tar.zst
nixpkgs-9886db059a822f9bc1f8fbdacfd1ca1938fe9ebf.zip
nixos/testing: Embrace callTest
My conception of its input was wrong. It is quite a useful construct,
even if its name is a bit weird.
Diffstat (limited to 'nixos/release.nix')
-rw-r--r--nixos/release.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index f70b02c4292..4f27e5dbb21 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -22,8 +22,8 @@ let
     import ./tests/all-tests.nix {
       inherit system;
       pkgs = import ./.. { inherit system; };
-      callTest = t: {
-        ${system} = hydraJob t.test;
+      callTest = config: {
+        ${system} = hydraJob config.test;
       };
     } // {
       # for typechecking of the scripts and evaluation of
@@ -32,8 +32,8 @@ let
         import ./tests/all-tests.nix {
         inherit system;
         pkgs = import ./.. { inherit system; };
-        callTest = t: {
-          ${system} = hydraJob t.test.driver;
+        callTest = config: {
+          ${system} = hydraJob config.driver;
         };
       };
     };