[Nix-dev] Re: [PATCH] IPython shell

Lluís Batlle i Rossell viriketo at gmail.com
Mon Nov 29 23:57:16 CET 2010


On Mon, Nov 29, 2010 at 11:50:42PM +0100, Cillian de Róiste wrote:
> Hi Peter,
> 
> On Mon, Nov 29, 2010 at 8:57 PM, Peter Simons <simons at cryp.to> wrote:
> I don't really understand the alternative you are suggesting. In my
> system configuration.nix can I do something like:
> 
> pkgs.buildPythonPackage.override { python = pkgs.python26Full; };

For configuration.nix:
{ pkgs, ... }:
{
  nixpkgs.config.packageOverrides = pkgs: {
    python = pkgs.python26Full;
  };
}

similar in your ~/.nixpkgs/config.nix for nix-env and friends.

Regards,
Lluís.



More information about the nix-dev mailing list