We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823938b commit 663bafbCopy full SHA for 663bafb
pkgs/by-name/tr/trurl/package.nix
@@ -6,7 +6,7 @@
6
python3,
7
perl,
8
trurl,
9
- testers,
+ versionCheckHook,
10
}:
11
12
stdenv.mkDerivation rec {
@@ -46,9 +46,9 @@ stdenv.mkDerivation rec {
46
nativeCheckInputs = [ python3 ];
47
checkTarget = "test";
48
49
- passthru.tests.version = testers.testVersion {
50
- package = trurl;
51
- };
+ doInstallCheck = true;
+ nativeInstallCheckInputs = [ versionCheckHook ];
+ versionCheckProgramArg = "--version";
52
53
meta = with lib; {
54
description = "Command line tool for URL parsing and manipulation";
0 commit comments