From e7c04b24148a11d25a6157db7e07264520f24328 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Sat, 12 Oct 2024 16:05:16 +0200 Subject: [PATCH] eslint_d: Add passthru.tests.version --- pkgs/development/tools/eslint_d/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/eslint_d/default.nix b/pkgs/development/tools/eslint_d/default.nix index 2db75a73cffce..6e6607372db9e 100644 --- a/pkgs/development/tools/eslint_d/default.nix +++ b/pkgs/development/tools/eslint_d/default.nix @@ -1,4 +1,4 @@ -{ lib, buildNpmPackage, fetchFromGitHub }: +{ lib, buildNpmPackage, fetchFromGitHub, eslint_d, testers }: buildNpmPackage rec { pname = "eslint_d"; @@ -15,6 +15,8 @@ buildNpmPackage rec { dontNpmBuild = true; + passthru.tests.version = testers.testVersion { package = eslint_d; version = src.rev; }; + meta = with lib; { description = "Makes eslint the fastest linter on the planet"; homepage = "https://github.com/mantoni/eslint_d.js";