about summary refs log tree commit diff
path: root/pkgs/by-name/ni/nixseparatedebuginfod/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ni/nixseparatedebuginfod/package.nix')
-rw-r--r--pkgs/by-name/ni/nixseparatedebuginfod/package.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/by-name/ni/nixseparatedebuginfod/package.nix b/pkgs/by-name/ni/nixseparatedebuginfod/package.nix
index 85e1175d45122..faacd2330d3f9 100644
--- a/pkgs/by-name/ni/nixseparatedebuginfod/package.nix
+++ b/pkgs/by-name/ni/nixseparatedebuginfod/package.nix
@@ -5,6 +5,7 @@
 , openssl
 , sqlite
 , pkg-config
+, nixosTests
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -31,6 +32,12 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ pkg-config ];
 
+  passthru = {
+    tests = {
+      inherit (nixosTests) nixseparatedebuginfod;
+    };
+  };
+
   meta = with lib; {
     description = "Downloads and provides debug symbols and source code for nix derivations to gdb and other debuginfod-capable debuggers as needed";
     homepage = "https://github.com/symphorien/nixseparatedebuginfod";