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
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to