Cheatsheet: Difference between revisions

imported>Mic92
No edit summary
imported>Mic92
Line 418: Line 418:
$ eval cmake $cmakeFlags ..
$ eval cmake $cmakeFlags ..
$ make
$ make
</source>
==== Cross-compile packages ====
The following command will cross compile the tinc package for the aarch64 CPU architecture from a different architecture (i.e. x86_64).
<source lang="console">
$ nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.aarch64-multiplatform' -A tinc
</source>
</source>