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,
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
