[Nix-dev] Changes to Python infrastructure

Domen Kožar domen at dev.si
Tue Aug 16 19:55:04 CEST 2016


When Haskell switched the attributes were named haskellngPackages, we
should probably just follow that.

On Mon, Aug 15, 2016 at 4:59 PM, Freddy Rietdijk <freddyrietdijk at fridh.nl>
wrote:

> Hi,
>
> Some time ago I opened a PR to use a fixed-point combinator for Python [1].
> It works fine and is, aside from documenting the change (especially
> regarding overriding), ready.
>
> However, before documenting and merging I would like to have some feedback
> on how it will look like.
>
> Right now, we have `python`, `python27`, `python3`, `python27Packages`,
> and so on. We also have `pypy` to consider. In the PR I put everything
> under `pythonNew` and so you e.g.
> - `pythonNew.cpython27.interpreter`
> - `pythonNew.cpython35.buildEnv`
> - `pythonNew.pypy27.withPackages`
> - `pythonNew.cpython.pkgs.numpy`
>
> Furthermore, there are for compatibility references from `python` and so
> on to these new attributes.
>
> It's a bit more verbose but I think it makes sense to have it like this.
> Now, I am a bit unhappy with the name `pythonNew` and would rather have
> `python` here. This will however break a lot of code. What do you think? Do
> you have any suggestions?
> Another option I consider is to append `pythonNew` to `pkgs` instead.
>
> Kind regards,
>
> Frederik
>
> [1] https://github.com/NixOS/nixpkgs/pull/17428
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160816/3b8806bf/attachment.html>


More information about the nix-dev mailing list