git.iko.soy/typeable/nixpkgs
on master help sign in
matplotlib: Don't search in global paths
616f846Andreas Herrmann
pkgs/development/python-modules/matplotlib/basedirlist.patchnew file+8
@@ -0,0 +1,8 @@
1+diff --git a/setup.cfg b/setup.cfg
2+new file mode 100644
3+index 0000000..6f81985
4+--- /dev/null
5++++ b/setup.cfg
6+@@ -0,0 +1,2 @@
7++[directories]
8++basedirlist = .
pkgs/development/python-modules/matplotlib/default.nix+3−1
@@ -35,7 +35,9 @@ buildPythonPackage rec {
35 ++ stdenv.lib.optional enableGtk2 pygtk
35 ++ stdenv.lib.optional enableGtk2 pygtk
36 ++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobjectIntrospection pygobject3 ];
36 ++ stdenv.lib.optionals enableGtk3 [ cairo pycairo gtk3 gobjectIntrospection pygobject3 ];
37
37
38+ patches =
39+ [ ./basedirlist.patch ] ++
38− patches = stdenv.lib.optionals stdenv.isDarwin [ ./darwin-stdenv.patch ];
40+ stdenv.lib.optionals stdenv.isDarwin [ ./darwin-stdenv.patch ];
39
41
40 checkPhase = ''
42 checkPhase = ''
41 ${python.interpreter} tests.py
43 ${python.interpreter} tests.py