Cross Compiling: Difference between revisions

imported>Samueldr
What a fine way to put the triple in perspective.
imported>Srhb
m typo
Line 5: Line 5:


== Cross-Compiling in nixpkgs unstable (pre-18.09) ==
== Cross-Compiling in nixpkgs unstable (pre-18.09) ==
A lot has happened in 2018 and now cross-compilation is well supported within the ubstable branch of nixpkgs.
A lot has happened in 2018 and now cross-compilation is well supported within the unstable branch of nixpkgs.
The basic idea is to use <code>pkgsCross.platform</code> instead of <code>pkgs</code>:
The basic idea is to use <code>pkgsCross.platform</code> instead of <code>pkgs</code>:
<syntaxHighlight lang=bash>
<syntaxHighlight lang=bash>