about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-04-20 16:31:36 +0300
committerArtturin <Artturin@artturin.com>2022-04-22 16:22:40 +0300
commit250ef1ff392b938415726a9331a30012573efaea (patch)
treeed7eb8b03608f8ca9701f7f413fc378226daf9f1 /pkgs/applications
parentdaac04325706fe506e576b1d6e7405367c386e11 (diff)
testers.testVersion: move from trivial-builders.nix
we will have more testers in the future so they should have their own
location

putting 'testers' in args will also make it simpler to use multiple testers
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/hello/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/misc/hello/default.nix b/pkgs/applications/misc/hello/default.nix
index ecb7892821733..60482a84c9b43 100644
--- a/pkgs/applications/misc/hello/default.nix
+++ b/pkgs/applications/misc/hello/default.nix
@@ -2,7 +2,6 @@
 , stdenv
 , fetchurl
 , nixos
-, testVersion
 , testers
 , hello
 }:
@@ -19,7 +18,7 @@ stdenv.mkDerivation rec {
   doCheck = true;
 
   passthru.tests = {
-    version = testVersion { package = hello; };
+    version = testers.testVersion { package = hello; };
 
     invariant-under-noXlibs =
       testers.testEqualDerivation