git.iko.soy/typeable/nixpkgs
on master help sign in
django_hijack: reduce hackishness of overrides
commit6fc51d1d7f5a6d763bf7be39e0274051f3275b3a authorMichael Raskin <7c6f434c@mail.ru> dateMon 1 May 2017, 17:42 (10 years ago) parentf87e4c9
2 files changed+4−8
pkgs/development/python-modules/django-compat/default.nix+1−3 pkgs/top-level/python-packages.nix+3−5
pkgs/development/python-modules/django-compat/default.nix+1−3
@@ -1,7 +1,6 @@
11{ stdenv, buildPythonPackage, fetchurl,
22 django, django_nose, six
33}:
4−let x =
54buildPythonPackage rec {
65 name = "django-compat-${version}";
76 version = "1.0.14";
@@ -21,5 +20,4 @@ buildPythonPackage rec {
2120 homepage = https://github.com/arteria/django-compat;
2221 license = licenses.mit;
2322 };
24−};
25−in x // {overrideBPP = x.override;}
23+}
pkgs/top-level/python-packages.nix+3−5
@@ -10623,11 +10623,9 @@ in {
1062310623
1062410624 # TODO improve the that multi-override necessity (the fixpoint based python
1062510625 # packages work can be the solution)
10626− propagatedBuildInputs = with self; [ django_1_9 (django_compat.overrideBPP {
10627− buildInputs = with self; [ (django_nose.override {
10628− propagatedBuildInputs = with self; [ django_1_9 nose ];
10629− }) ];
10630− propagatedBuildInputs = with self; [ django_1_9 six ];
10626+ propagatedBuildInputs = with self; [ django_1_9 (django_compat.override {
10627+ django = django_1_9;
10628+ django_nose = django_nose.override { propagatedBuildInputs = [django_1_9 nose]; };
1063110629 }) ];
1063210630
1063310631 meta = {