diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-10 15:11:23 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-10 15:11:33 +0100 |
commit | 20b78e47f5ac09682747900ed35b0b36b324d8e7 (patch) | |
tree | 1926dd054320464507f7eeac629e5e775e7c3ca2 /pkgs/servers/search | |
parent | 0eeea808636d804e4022e6fa1661784f1a2b0074 (diff) |
sonic-server: add nixosTests.sonic-server to passthru.tests
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r-- | pkgs/servers/search/sonic-server/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/search/sonic-server/default.nix b/pkgs/servers/search/sonic-server/default.nix index 81d56fcf0340d..f98e4fbfe232d 100644 --- a/pkgs/servers/search/sonic-server/default.nix +++ b/pkgs/servers/search/sonic-server/default.nix @@ -2,6 +2,7 @@ , rustPlatform , fetchFromGitHub , nix-update-script +, nixosTests , testers , sonic-server }: @@ -42,6 +43,7 @@ rustPlatform.buildRustPackage rec { passthru = { tests = { + inherit (nixosTests) sonic-server; version = testers.testVersion { command = "sonic --version"; package = sonic-server; |