[Nix-dev] Switch haskellPackages to GHC 7.4.2 by default?

2012-06-17 Thread Peter Simons
Hi guys, in my tests, GHC 7.4.2 compiles everything 7.4.1 compiles, too, so I wonder whether we might want to switch to the latest version as default compiler. I realize that this would sort-of break HP 2012.2.0.0 conformance, but is that really an issue for anyone? What do you think? Take care,

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] sudo and nix-channel (was: Re: NixOS channel)

2012-06-17 Thread Kirill Elagin
Ahh... I don't get how this works. According to `man sudoers`, env_reset is enabled by default, so $HOME should be set to the target user's home (and, indeed, that happens in my Gentoo box). On the other hand, description of `-H` option in `man sudo` states that “By default, sudo does not modify

Re: [Nix-dev] nix-env ignores NIX_PATH ?

2012-06-17 Thread Sergey Mironov
Thanks, linking ~/proj/nix/nixpkgs into ~/.nix-defexpr works. But what is NIX_PATH for? man nix-env says: NIX_PATH A colon-separated list of directories used to look up Nix expressions enclosed in angle brackets ... The search path can be

Re: [Nix-dev] nix-env ignores NIX_PATH ?

2012-06-17 Thread Lluís Batlle i Rossell
On Sun, Jun 17, 2012 at 07:00:27PM +0400, Sergey Mironov wrote: Thanks, linking ~/proj/nix/nixpkgs into ~/.nix-defexpr works. But what is NIX_PATH for? man nix-env says: NIX_PATH A colon-separated list of directories used to look up Nix expressions enclosed in

Re: [Nix-dev] nix-env ignores NIX_PATH ?

2012-06-17 Thread Marc Weber
In nixos/nixpkgs sourec you'll find nixpgks and nixos like placeholders. They are defined by NIX_PATH=nixpkgs=foo:nixos=bar. The reason is that in the past /etc/nixos/{nixpkgs,nixos} has been the source repostiories to build up nixos (This may have changed - I'm not up to date). Marc Weber

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] nix-env ignores NIX_PATH ?

2012-06-17 Thread Kirill Elagin
2012/6/17 Sergey Mironov ier...@gmail.com Thanks, linking ~/proj/nix/nixpkgs into ~/.nix-defexpr works. But what is NIX_PATH for? It is used look up expressions enclosed in angle brackets as man says ;). For example, try this: ``NIX_PATH=hey=$HOME/code/nixos/nixpkgs nix-env -f 'hey' -qa

Re: [Nix-dev] sudo and nix-channel (was: Re: NixOS channel)

2012-06-17 Thread Florian Friesdorf
On Sun, 17 Jun 2012 15:46:02 +0400, Kirill Elagin kirela...@gmail.com wrote: Ahh... I don't get how this works. According to `man sudoers`, env_reset is enabled by default, so $HOME should be set to the target user's home (and, indeed, that happens in my Gentoo box). On the other hand,

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] Switch haskellPackages to GHC 7.4.2 by default?

2012-06-17 Thread Karn Kallio
Hi guys, in my tests, GHC 7.4.2 compiles everything 7.4.1 compiles, too, so I wonder whether we might want to switch to the latest version as default compiler. I realize that this would sort-of break HP 2012.2.0.0 conformance, but is that really an issue for anyone? What do you think?

Re: [Nix-dev] Firefox 13 issue

2012-06-17 Thread Lluís Batlle i Rossell
On Sat, Jun 09, 2012 at 08:54:23PM +0400, Kirill Elagin wrote: Ooops, I should have looked through the commit log… Eelco mentioned this in commit#f677edf57f71cf0c8c9e0906d26b4304e4213ef8https://github.com/nbp/nixpkgs-2/commit/f677edf57f71cf0c8c9e0906d26b4304e4213ef8 . Still would be nice is

Re: [Nix-dev] [Nix-commits] SVN commit: nix - r34531 - in nixpkgs/trunk/pkgs: applications/misc/stardict top-level

2012-06-17 Thread Eelco Dolstra
Hi Joachim, On 17/06/12 14:41, Joachim Schiele wrote: + stardict = callPackage ./stardict/stardict.nix { This path is incorrect, so it causes evaluation errors. (http://hydra.nixos.org/build/2709493) -- Eelco Dolstra | LogicBlox, Inc. | http://www.st.ewi.tudelft.nl/~dolstra/

Re: [Nix-dev] Firefox 13 issue

2012-06-17 Thread Lluís Batlle i Rossell
On Sun, Jun 17, 2012 at 11:22:34PM +0200, Lluís Batlle i Rossell wrote: On Sat, Jun 09, 2012 at 08:54:23PM +0400, Kirill Elagin wrote: Ooops, I should have looked through the commit log… Eelco mentioned this in