Documentation Gaps: Difference between revisions

imported>CMCDragonkai
m Added some documentation gaps that I think exists.
imported>Azazel75
m Adding link to buildEnv in nixpkgs
Line 25: Line 25:
# [https://github.com/NixOS/nix/tree/master/src/buildenv '''nix'''/src/buildenv/]
# [https://github.com/NixOS/nix/tree/master/src/buildenv '''nix'''/src/buildenv/]


'''#1''' loads the nix file in '''#2''' and uses it to merge everything together, and '''#2''' uses a copy of '''#3''' that was compiled when nix got built
'''#1''' loads the nix file in '''#2''' and uses it to merge everything together, and '''#2''' uses a copy of '''#3''' that was compiled when nix got built.
 
Have a look also at [https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/buildenv/default.nix]


== How to add a new cross-compilation target/platform? ==
== How to add a new cross-compilation target/platform? ==