[Nix-dev] python packages moved

Marc Weber marco-oweber at gmx.de
Sat Apr 17 20:26:58 CEST 2010


Hi @ll.

I tried cleaning up the python packages and moving all of them into one
place.

To build that set you pass a python version such as python-2.5 or
pyton-2.6.

So we have now:

  python25Packages = { [..] python = python25; };

  python26Packages = { [..] python = python26; };

  pythonPackages = python26Packages;

This way you can use the same derivation to build a package for both
python versions easily.

I also added a python-3.1 build.

I still kept global alias names in all-packages.nix which looks like
this:

  pycrypto = pythonPackages.pycrypto;
  [...]

Should they be removed so that packages have to use them this way ?

  ... = {
    inherit python26;
    inherit (pythonPackages26) libA libB libC;
  }

I hope you like it.

Marc Weber



More information about the nix-dev mailing list