git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.django_hijack

Get rid of overriding inside the fixed-point combinator. Overriding versions inside the set causes trouble when combining packages.

commit2ff488c267a873ba583d0bafbb27b166eea53893 authorFrederik Rietdijk <fridh@fridh.nl> dateSat 27 May 2017, 17:22 (9 years ago) parent6b999f3
1 file changed+4−6
pkgs/top-level/python-packages.nix+4−6
pkgs/top-level/python-packages.nix+4−6
@@ -10193,6 +10193,9 @@ in {
1019310193 };
1019410194 };
1019510195
10196+ # This package likely needs an older version of Django.
10197+ # Override the package set and set e.g. `django = super.django_1_9`.
10198+ # See the Nixpkgs manual for examples on how to override the package set.
1019610199 django_hijack = buildPythonPackage rec {
1019710200 name = "django-hijack-${version}";
1019810201 version = "2.0.7";
@@ -10202,12 +10205,7 @@ in {
1020210205 sha256 = "0rpi1bkfx74xfbb2nk874kfdra1jcqp2vzky1r3z7zidlc9kah04";
1020310206 };
1020410207
10205− # TODO improve the that multi-override necessity (the fixpoint based python
10206− # packages work can be the solution)
10207− propagatedBuildInputs = with self; [ django_1_9 (django_compat.override {
10208− django = django_1_9;
10209− django_nose = django_nose.override { propagatedBuildInputs = [django_1_9 nose]; };
10210− }) ];
10208+ propagatedBuildInputs = with self; [ django django_compat ];
1021110209
1021210210 meta = {
1021310211 description = "Allows superusers to hijack (=login as) and work on behalf of another user";