about summary refs log tree commit diff
path: root/pkgs/by-name/ni/nixseparatedebuginfod
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2023-11-29 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2024-01-01 13:42:13 +0100
commitdece72548ee0fee77eda54f3a8a958c86f460191 (patch)
treecf84e9776e1c04d6e15c2cd6c7ce65e5467e448a /pkgs/by-name/ni/nixseparatedebuginfod
parent045b4f7276e36826a9030abe2bed85d8c65d2a19 (diff)
nixseparatedebuginfod: add module and nixos test
Diffstat (limited to 'pkgs/by-name/ni/nixseparatedebuginfod')
-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";