From 1d5cb8a3330cbc7f323177591672fc6f1a31cae1 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 4 Jan 2025 18:27:25 +0100 Subject: [PATCH] pretix: fix tests after 2025-01-01 --- pkgs/by-name/pr/pretix/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/pr/pretix/package.nix b/pkgs/by-name/pr/pretix/package.nix index e632201594388..7c06eca325e91 100644 --- a/pkgs/by-name/pr/pretix/package.nix +++ b/pkgs/by-name/pr/pretix/package.nix @@ -3,6 +3,7 @@ buildNpmPackage, fetchFromGitHub, fetchPypi, + fetchpatch2, nodejs, python3, gettext, @@ -78,6 +79,12 @@ python.pkgs.buildPythonApplication rec { # Discover pretix.plugin entrypoints during build and add them into # INSTALLED_APPS, so that their static files are collected. ./plugin-build.patch + + (fetchpatch2 { + # fix tests after 2025-01-01 + url = "https://github.com/pretix/pretix/commit/5a5a551c21461d9ef36337480c9874d65a9fdba9.patch"; + hash = "sha256-ZtSVI6nVlJtNrnBZ9ktIqFGtNf+oWtvNsgCWwOUwVug="; + }) ]; pythonRelaxDeps = [