From d1ff75196d6484561179387566b08c8f6be38d11 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 3 Jun 2025 14:57:39 +0200 Subject: [PATCH] pretix: expose as python module to local package set This allows consuming pretix as a library for tests. --- pkgs/by-name/pr/pretix/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/pr/pretix/package.nix b/pkgs/by-name/pr/pretix/package.nix index 6900d84dbc47..8743450e547d 100644 --- a/pkgs/by-name/pr/pretix/package.nix +++ b/pkgs/by-name/pr/pretix/package.nix @@ -7,6 +7,7 @@ python3, gettext, nixosTests, + pretix, plugins ? [ ], }: @@ -35,6 +36,7 @@ let }; }; + pretix = self.toPythonModule pretix; pretix-plugin-build = self.callPackage ./plugin-build.nix { }; }; };