[Nix-dev] Where are the builtins function declarations?
Layus
layus.on at gmail.com
Sun Jun 19 15:11:07 CEST 2016
Hi Erik,
The builtins are builtins from nix, and are found in the nix tool, not
in nixpkgs.
For listToAttrs, you will fins them in
https://github.com/NixOS/nix/blob/master/src/libexpr/primops.cc#L1089
Regards,
-- Layus.
On 19/06/16 15:07, 4levels wrote:
> Hi Nix-devs,
>
> I'm often looking up the usage of functions in the various files I can
> find here: https://github.com/NixOS/nixpkgs/blob/master/lib/
> (eg. attsets.nix, strings.nix, lists.nix, ..)
>
> But I can't seem to find the file where the builtin functions are
> defined (eg. listToAttrs), searching in the github repo doesn't show
> me the file(s) either..
>
> Kind regards,
>
> Erik
>
>
> _______________________________________________
> 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/20160619/823e7c71/attachment.html>
More information about the nix-dev
mailing list