[Nix-dev] Porting question
phreedom at yandex.ru
phreedom at yandex.ru
Fri Nov 22 21:38:32 CET 2013
On Friday, November 22, 2013 04:11:07 PM Roelof Wobben wrote:
> > The stuff between { ... }: are the arguments of the function you
> > create. : in Nix creates a lambda. buildInputs is the named argument
> > to the 'mkDerivation' fuction.
> >
> > (To be exact, the function you create takes one argument: An attrset,
> > with keys named 'spellChecking', 'stdenv' and so on)
>
> Still not clear to a non-coder.
buildInputs lits the stuff that will get included in the default search paths
for libraries, headers and such. The {} list contains everything the
derivation uses, including the nixos toolchain(stdenv)
More information about the nix-dev
mailing list