[Nix-dev] Cross compiling
Michał Zieliński
michal at zielinscy.org.pl
Sun Jul 10 12:00:55 CEST 2016
Hello!
I'm trying to use Nix to cross compile software for embedded system. I've
started by following instructions on wiki:
https://nixos.org/wiki/CrossCompiling#Cross-compiling_in_practice
I've copied comtrend.nix and ran "nix-build -A bison.crossDrv comtrend.nix"
- I get assertion failure:
error: assertion failed at
/nix/store/f16m51qgfwl74cc3qn1x06rlza24yhjf-nixpkgs-16.09pre83147.df89584/nixpkgs/pkgs/development/libraries/libiconv/default.nix:3:1
(on line: assert (!stdenv.isLinux))
It seems that Nix is pulling derivation for Cygwin. Is crossSystem
configuration on wiki correct? Or am I doing something wrong?
I'm using Nix with stable channel on Ubuntu 16.04.
--
Michał Zieliński
http://zielmicha.com | @zielmicha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160710/d00d9d82/attachment.html>
More information about the nix-dev
mailing list