diff --git a/pkgs/development/python-modules/django-compat/default.nix b/pkgs/development/python-modules/django-compat/default.nix index d8a314750ca..daf97b19dae 100644 --- a/pkgs/development/python-modules/django-compat/default.nix +++ b/pkgs/development/python-modules/django-compat/default.nix @@ -1,6 +1,7 @@ { stdenv, buildPythonPackage, fetchurl, django, django_nose, six }: +let x = buildPythonPackage rec { name = "django-compat-${version}"; version = "1.0.14"; @@ -20,4 +21,5 @@ buildPythonPackage rec { homepage = https://github.com/arteria/django-compat; license = licenses.mit; }; -} +}; +in x // {overrideBPP = x.override;} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1062d4c16fe..1f26d40af47 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10623,7 +10623,7 @@ in { # TODO improve the that multi-override necessity (the fixpoint based python # packages work can be the solution) - propagatedBuildInputs = with self; [ django_1_9 (django_compat.override { + propagatedBuildInputs = with self; [ django_1_9 (django_compat.overrideBPP { buildInputs = with self; [ (django_nose.override { propagatedBuildInputs = with self; [ django_1_9 nose ]; }) ];