smartdns: fix version check

This commit is contained in:
Weijia Wang 2024-03-07 09:36:35 +01:00
parent 84e747a31f
commit 5c4bc127af

View File

@ -24,7 +24,10 @@ stdenv.mkDerivation rec {
installFlags = [ "SYSCONFDIR=${placeholder "out"}/etc" ];
passthru.tests = {
version = testers.testVersion { package = smartdns; };
version = testers.testVersion {
package = smartdns;
command = "smartdns -v";
};
};
meta = with lib; {