[Nix-dev] haskell structure for all of nixpkgs

Ericson, John john_ericson at brown.edu
Mon Apr 25 20:02:46 CEST 2016


Well, besides working on other langauges' integration, I think there are
some Petisms™ that all of nixpkgs could benefit from. A good example is
pervasive use of `self: super: ...` and fix+extend rather than ad-hoc hacks
and the scary reflection used in `lib/customization.nix`.

I'd say https://github.com/NixOS/nixpkgs/pull/14000 was the first big step
in this direction, and hopefully
https://github.com/NixOS/nixpkgs/issues/10874 will lead to the second.

On Mon, Apr 25, 2016 at 10:26 AM, stewart mackenzie <setori88 at gmail.com>
wrote:

> Okay Domen's a +1, maybe the guys and girls who implemented haskell
> like PL level package systems could weigh in with insight. For example
> ICIUC, Erlang packages adopts the same approach. The gained knowledge
> could be helpful to start with this document.
>
> Could someone with experience please write, in this thread, a few
> words about this approach? Keep it small and simple.
>
> Hopefully this gets more people interested by understanding it. Domen
> says it's advanced and simple... why is it advanced and simple?
> _______________________________________________
> 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/20160425/f8945635/attachment-0001.html 


More information about the nix-dev mailing list