Skip to content

Commit

Permalink
pretalx: Wire NixOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzleutgeb committed Apr 12, 2024
1 parent 394496f commit 11704c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/pretalx/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
pretalx,
withPlugins ? [],
nixosTests,
}:
pretalx.overrideAttrs (
finalAttrs: previousAttrs: {
Expand All @@ -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;
};
};
}
)

0 comments on commit 11704c4

Please sign in to comment.