mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-25 10:00:28 +00:00
matrix-authentication-service.tests: add to passthru.tests (#541823)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
buildPackages,
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -101,12 +102,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
# avoid unstable pre‐releases
|
||||
"--version-regex"
|
||||
"^v([0-9.]+)$"
|
||||
];
|
||||
passthru = {
|
||||
tests = { inherit (nixosTests) matrix-authentication-service; };
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
# avoid unstable pre‐releases
|
||||
"--version-regex"
|
||||
"^v([0-9.]+)$"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user