From 54a555af496c1fbbab02a459be753ce8cfc436af Mon Sep 17 00:00:00 2001 From: brprice Date: Fri, 20 Sep 2024 17:43:25 +0100 Subject: [PATCH] papertrail: testVersion --- pkgs/tools/text/papertrail/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/text/papertrail/default.nix b/pkgs/tools/text/papertrail/default.nix index 5e2b080f9852c..a01bc3fb889cb 100644 --- a/pkgs/tools/text/papertrail/default.nix +++ b/pkgs/tools/text/papertrail/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }: +{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript, testers, papertrail }: let papertrail-env = bundlerEnv { @@ -21,6 +21,8 @@ in stdenv.mkDerivation { passthru.updateScript = bundlerUpdateScript "papertrail"; + passthru.tests.version = testers.testVersion { package = papertrail; }; + meta = with lib; { description = "Command-line client for Papertrail log management service"; mainProgram = "papertrail";