summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/django/5.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2025-02-10 13:37:48 +0300
committerK900 <me@0upti.me>2025-02-10 13:37:48 +0300
commitb8c6b4d87bae81688e37fa85fca2a57cbadd93e5 (patch)
treee8167b96dd01b9921c27dd631e9f3924f208615a /pkgs/development/python-modules/django/5.nix
parentMerge master into staging-next (diff)
downloadnixpkgs-b8c6b4d87bae81688e37fa85fca2a57cbadd93e5.tar.gz
python3Packages.django_{4,5}: backport patch fixing builds on bcachefs
Diffstat (limited to 'pkgs/development/python-modules/django/5.nix')
-rw-r--r--pkgs/development/python-modules/django/5.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django/5.nix b/pkgs/development/python-modules/django/5.nix
index ba1f376de165..0a46ca3e1e7e 100644
--- a/pkgs/development/python-modules/django/5.nix
+++ b/pkgs/development/python-modules/django/5.nix
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
+ fetchpatch,
pythonOlder,
substituteAll,
@@ -65,6 +66,13 @@ buildPythonPackage rec {
./django_5_tests_pythonpath.patch
# disable test that excpects timezone issues
./django_5_disable_failing_tests.patch
+
+ # fix filename length limit tests on bcachefs
+ # FIXME: remove in 5.2
+ (fetchpatch {
+ url = "https://github.com/django/django/commit/12f4f95405c7857cbf2f4bf4d0261154aac31676.patch";
+ hash = "sha256-+K20/V8sh036Ox9U7CSPgfxue7f28Sdhr3MsB7erVOk=";
+ })
]
++ lib.optionals withGdal [
(substituteAll {