From 11704c470189a0d6d76b71b8eb7b826d78f5a93e Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Fri, 12 Apr 2024 16:31:30 +0200 Subject: [PATCH] pretalx: Wire NixOS test --- pkgs/pretalx/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/pretalx/default.nix b/pkgs/pretalx/default.nix index e7fa8da0..afa944d0 100644 --- a/pkgs/pretalx/default.nix +++ b/pkgs/pretalx/default.nix @@ -1,6 +1,7 @@ { pretalx, withPlugins ? [], + nixosTests, }: pretalx.overrideAttrs ( finalAttrs: previousAttrs: { @@ -9,6 +10,11 @@ pretalx.overrideAttrs ( previousAttrs.passthru // { PYTHONPATH = "${pretalx.python.pkgs.makePythonPath finalAttrs.propagatedBuildInputs}:${pretalx.outPath}/${pretalx.python.sitePackages}"; + tests = + previousAttrs.passthru.tests + // { + inherit (nixosTests) pretalx; + }; }; } )