input-output-hk / devx

The Developer Experience Shell - This repo contains a nix develop shell for haskell. Its primary purpose is to help get a development shell for haskell quickly and across multiple operating systems (and architectures).
Apache License 2.0
37 stars 9 forks source link

Add Windows Cross Compilers #45

Closed hamishmack closed 1 year ago

hamishmack commented 1 year ago

I don't think our Darwin -> Windows cross toolchain works.

It has in the past. I think current mix of wine/mingw/ghc 9.6/darwin/nixpkgs is broken though.

angerman commented 1 year ago

I don't think our Darwin -> Windows cross toolchain works.

It has in the past. I think current mix of wine/mingw/ghc 9.6/darwin/nixpkgs is broken though.

I believe it's been broken, or flake for quite some time :( So for now I'd just ignore it.

angerman commented 1 year ago

So I've added a bunch of changes:

angerman commented 1 year ago

I've extracted most of the cleanup into #49

angerman commented 1 year ago

somehow the changed base did not work properly.

angerman commented 1 year ago

git diff shows the proper output, GitHub seems screwed somehow.

angerman commented 1 year ago

Ahh force push seems to have gotten the confusion away

angerman commented 1 year ago

[!] we need to embed a git hash into the devx shell. Currently it's impossible to tell from which revision the specific shell was built.

I've implemented this one now in main.

angerman commented 1 year ago

Current status:

angerman commented 1 year ago

After discussing this with @hamishmack; we may come back to this for Darwin -> Windows, once that works again in haskell.nix.