[Nix-dev] mxe on NixOS
Luca Bruno
lethalman88 at gmail.com
Mon Jul 27 10:36:09 CEST 2015
On 27/07/2015 07:36, Andrew Kelley wrote:
> mxe (M Cross Environment) is a way to cross compile for Windows. It's
> a pretty great project.
>
> There's one hitch when using it on NixOS. I guess it expects
> /usr/share/aclocal/pkg.m4 to exist for some reason. I don't completely
> understand it and I'm still pretty new to NixOS. I was hoping to get
> some more experienced people to maybe chime in and point out what MXE
> could do to not break on NixOS.
>
> Here's the upstream
> issue: https://github.com/mxe/mxe/issues/723#issuecomment-125044881
>
> Any ideas?
You are trying to build something outside of a nix build environment.
Instead of calling make ecc. like you do on every other distro, in Nix
things are very different. You should write a .nix file describing how
the package should build and build it. It will be easier.
Also 99% of the times errors like that are not an upstream issue but
your own issue on nixos.
Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150727/92c21083/attachment-0001.html
More information about the nix-dev
mailing list