Skip to content

Draft: Use haskell.nix for cross-compilation#9

Open
s-and-witch wants to merge 1 commit intogoosedb:masterfrom
s-and-witch:wip/s-and-witch/haskell.nix-cross-compile
Open

Draft: Use haskell.nix for cross-compilation#9
s-and-witch wants to merge 1 commit intogoosedb:masterfrom
s-and-witch:wip/s-and-witch/haskell.nix-cross-compile

Conversation

@s-and-witch
Copy link
Contributor

Use the following command to build cross-compiled exe

nix build .\#packages.x86_64-linux.x86_64-w64-mingw32:monalog:exe:monalog

And here is a result:

$ ls ./result/bin 
libffi-8.dll@  libgcc_s_seh-1.dll@  libgmp-10.dll@  libgmpxx-4.dll@  libmcfgthread-1.dll@  libstdc++-6.dll@  monalog.exe*

It's not ready for merge since I didn't manage to test it via wine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant