pythonPackages.django_compat: restore access to buildPythonPackage override

This commit is contained in:
Michael Raskin 2017-05-01 15:14:39 +02:00
parent 8a4bb1beb6
commit 47d352fd28
2 changed files with 4 additions and 2 deletions

View File

@ -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;}

View File

@ -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 ];
}) ];