[Nix-dev] Cross compiling

Vladimír Čunát vcunat at gmail.com
Mon Jul 11 00:12:14 CEST 2016


On 07/10/2016 12:00 PM, Michał Zieliński wrote:
> error: assertion failed [...] (on line: assert (!stdenv.isLinux))

Maybe it's not really related to this particular problem, but beware of
similar conditions during cross-compiling, as stdenv.isXxxx and
stdenv.system describes the *build* platform and not the host one, and
typically we use it in the other meaning.

Some other common caveats: https://github.com/NixOS/nixpkgs/issues/14965
(I was mainly cross-compiling from Linux to MinGW, but some issues apply
the same.)

--Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160711/ff4607e0/attachment.p7s>


More information about the nix-dev mailing list