Unverified Commit 20b78e47 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

sonic-server: add nixosTests.sonic-server to passthru.tests

parent 0eeea808
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;