Cross Compiling: Difference between revisions
imported>Samueldr m fixes escaping issue →How to obtain a shell with a cross compiler |
imported>Symphorien m mention the name of the file, now that the header is gone |
||
| Line 12: | Line 12: | ||
== How to obtain a shell with a cross compiler == | == How to obtain a shell with a cross compiler == | ||
Create a file as follows: | Create a file <code>crossShell.nix</code> as follows: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
with import <nixpkgs> { | with import <nixpkgs> { | ||