[Nix-dev] What does `self` mean in the function `ghcWithPackages`?

Oliver Charles ollie at ocharles.org.uk
Tue Dec 16 12:16:37 CET 2014


On Tue, Dec 16, 2014 at 11:01 AM, Vladimír Čunát wrote:

> On 12/16/2014 03:30 AM, Carlo Nucera wrote:
>
>> In the line `packages = pkgs self;` what does `self` refer to?
>>
>
> Obviously, ``self`` is the parameter of the whole haskell-packages.nix
> top-level function (line 58 in recent master version).
>

If it was obvious, I don't think Carlo would be asking this question ;)

-- ocharles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141216/ec162992/attachment.html 


More information about the nix-dev mailing list