[Nix-dev] How to use .nixpkgs/config.nix?

Mateusz Czaplinski czapkofan at gmail.com
Mon Jun 6 23:30:07 CEST 2016


On Mon, Jun 6, 2016 at 9:31 PM, Kamil Chmielewski <kamil.chm at gmail.com> wrote:
> Did you see nix pills by Lehtalman
> http://lethalman.blogspot.it/2014/07/nix-pill-1-why-you-should-give-it-try.html
> ?

The first ones seemed to repeat the contents of the manual, so I
initially didn't follow through; but now that you said, I tried again
and indeed the "pill 17" [3] seems to talk about packageOverrides.
Together with another linked article [4], it explains the 'x: with x
{' pattern very nice - thanks! But still doesn't seem to explain where
the later 'pkgs' inside it come from [5]? And what they contain? esp.
compared to their apparent siblings? (i.e. what's in 'pkgs_' vs.
what's in 'pkgs_.pkgs' IIUC?)

[3] http://lethalman.blogspot.it/2014/11/nix-pill-17-nixpkgs-overriding-packages.html
[4] http://r6.ca/blog/20140422T142911Z.html
[5] https://github.com/kamilchm/.nixpkgs/blob/56b2bba3bdc871dd8360a43a355ab2b214f216c9/config.nix#L32

Thanks,
/Mateusz.


More information about the nix-dev mailing list