Skip to content

Commit

Permalink
pretix: apply patch for CVE-2024-8113
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Aug 27, 2024
1 parent 901b587 commit 08e5e55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/by-name/pr/pretix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, buildNpmPackage
, fetchFromGitHub
, fetchPypi
, fetchpatch2
, nodejs
, python3
, gettext
Expand Down Expand Up @@ -65,6 +66,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 {
name = "CVE-2024-8113.patch";
url = "https://github.com/pretix/pretix/commit/0f44a2ad4e170882dbe6b9d95dba6c36e4e181cf.patch";
hash = "sha256-N5Fvf7tfZvtqDy7fO7sPBhtew8uGFLzK+kVO/hMgEIY=";
})
];

postPatch = ''
Expand Down

0 comments on commit 08e5e55

Please sign in to comment.