Merge pull request #170385 from bobby285271/testversion

various: use testers.testVersion
main
Bobby Rong 2 years ago committed by GitHub
commit 44262ba2e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkgs/applications/networking/cluster/kompose/default.nix
  2. 1
      pkgs/development/tools/mysql-shell/default.nix
  3. 4
      pkgs/os-specific/darwin/mas/default.nix
  4. 4
      pkgs/tools/archivers/gbl/default.nix
  5. 4
      pkgs/tools/misc/gosu/default.nix
  6. 4
      pkgs/tools/package-management/comma/default.nix

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testVersion, kompose }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kompose }:
buildGoModule rec {
pname = "kompose";
@ -26,7 +26,7 @@ buildGoModule rec {
done
'';
passthru.tests.version = testVersion {
passthru.tests.version = testers.testVersion {
package = kompose;
command = "kompose version";
};

@ -31,7 +31,6 @@
, CoreServices
, developer_cmds
, DarwinTools
, testVersion
, mysql-shell
}:

@ -2,7 +2,7 @@
, stdenvNoCC
, fetchurl
, installShellFiles
, testVersion
, testers
, mas
}:
@ -25,7 +25,7 @@ stdenvNoCC.mkDerivation rec {
'';
passthru.tests = {
version = testVersion {
version = testers.testVersion {
package = mas;
command = "mas version";
};

@ -4,7 +4,7 @@
, fetchpatch
, pkg-config
, openssl
, testVersion
, testers
, gbl
}:
@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl ];
passthru.tests.version =
testVersion { package = gbl; };
testers.testVersion { package = gbl; };
meta = with lib; {
description = "GBL Firmware file manipulation";

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, testVersion, gosu }:
{ lib, buildGoModule, fetchFromGitHub, testers, gosu }:
buildGoModule rec {
pname = "gosu";
@ -15,7 +15,7 @@ buildGoModule rec {
ldflags = [ "-d" "-s" "-w" ];
passthru.tests.version = testVersion {
passthru.tests.version = testers.testVersion {
package = gosu;
};

@ -6,7 +6,7 @@
, nix
, nix-index
, rustPlatform
, testVersion
, testers
}:
rustPlatform.buildRustPackage rec {
@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec {
'';
passthru.tests = {
version = testVersion { package = comma; };
version = testers.testVersion { package = comma; };
};
meta = with lib; {

Loading…
Cancel
Save