From 2103e323e8a9ed46ab8e53b0c352bfbc702336a4 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Thu, 12 May 2022 01:16:10 +0200 Subject: [PATCH] sourcehut: passthru nixosTests.sourcehut --- pkgs/applications/version-management/sourcehut/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/version-management/sourcehut/default.nix b/pkgs/applications/version-management/sourcehut/default.nix index 00810f208cc5..aee65dee3bbb 100644 --- a/pkgs/applications/version-management/sourcehut/default.nix +++ b/pkgs/applications/version-management/sourcehut/default.nix @@ -2,6 +2,7 @@ , openssl , callPackage , recurseIntoAttrs +, nixosTests }: # To expose the *srht modules, they have to be a python module so we use `buildPythonModule` @@ -44,4 +45,7 @@ with python.pkgs; recurseIntoAttrs { pagessrht = pagessrht; pastesrht = toPythonApplication pastesrht; todosrht = toPythonApplication todosrht; + passthru.tests = { + nixos-sourcehut = nixosTests.sourcehut; + }; }