Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-21 Thread Marc Weber
Excerpts from Florian Friesdorf's message of Mon Jun 18 18:14:48 +0200 2012: pth processing is not the issue, the issue is that some packages (like matplotlib) do not create them as part of their install. I don't know. I just ran a a simple gtk sample - and it worked (after making sure gtk is

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-20 Thread Konrad Hinsen
Florian Friesdorf writes: I don't think this is related in any way at all to your patch or to the python branch, but it's pretty effective at preventing me from building numpy. The python branch is based on a rather recent trunk. You could try to apply the patch to nixpkgs from

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-18 Thread Konrad Hinsen
Florian Friesdorf writes: Could you try whether the attached patch also solves building on OS X (Konrad) and whether matplotlib builds for you (Peter)? Since I recently upgraded to MacOS X 10.7, I decided to reinstall Nix (1.0) and Nixpkgs from scratch to see how it works out. I downloaded

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-18 Thread Florian Friesdorf
Hi Marc, On Sun, 17 Jun 2012 17:16:21 +0200, Marc Weber marco-owe...@gmx.de wrote: I'm against that patch because it heavy monkey patching does not solving the problem at the root of the evil. My old NIX_PYTHON_SITES patch does. Now there is evidence that such a patch is required just to

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-18 Thread Florian Friesdorf
On Mon, 18 Jun 2012 17:15:20 +0200, Konrad Hinsen konrad.hin...@fastmail.net wrote: Florian Friesdorf writes: Could you try whether the attached patch also solves building on OS X (Konrad) and whether matplotlib builds for you (Peter)? Since I recently upgraded to MacOS X 10.7, I

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-17 Thread Peter Simons
Hi Florian, Could you try whether the attached patch also solves building on OS X (Konrad) and whether matplotlib builds for you (Peter)? matplotlib compiles fine with that patch applied. :-) Take care, Peter ___ nix-dev mailing list

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-17 Thread Marc Weber
I'm against that patch because it heavy monkey patching does not solving the problem at the root of the evil. My old NIX_PYTHON_SITES patch does. Now there is evidence that such a patch is required just to make things work without additional work. What does it do? Basically it patches python

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-17 Thread Florian Friesdorf
Hi Marc, On Sun, 17 Jun 2012 17:16:21 +0200, Marc Weber marco-owe...@gmx.de wrote: I'm against that patch because it heavy monkey patching does not solving the problem at the root of the evil. My old NIX_PYTHON_SITES patch does. I don't understand how default include and lib dirs relate to

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-06-16 Thread Florian Friesdorf
Hi Konrad, hi Peter, thank you for your patch and sorry for the late response, too busy with other things. Should get better now. Could you try whether the attached patch also solves building on OS X (Konrad) and whether matplotlib builds for you (Peter)? more comments inline: On Mon, 30 Apr

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-04-30 Thread Konrad Hinsen
Peter Simons writes: Building NumPy on MacOS fails with the current state of nixpkgs, and I suspect it can fail on other platforms as well, as the problems I found are not specific to MacOS. With the attached patch, it builds correctly, at least under MacOS. I applied your

Re: [Nix-dev] Patch for pythonPackages.numpy

2012-04-29 Thread Peter Simons
Hi Konrad, Building NumPy on MacOS fails with the current state of nixpkgs, and I suspect it can fail on other platforms as well, as the problems I found are not specific to MacOS. With the attached patch, it builds correctly, at least under MacOS. I applied your patch in r33941, but