fission icon indicating copy to clipboard operation
fission copied to clipboard

haskell.nix integration

Open walkah opened this issue 3 years ago • 2 comments

Another VERY WIP EXPERIMENT using haskell.nix to build proper nix packages for fission cli + server.

Known issues:

  • [ ] Builds a lot of stuff (there is no binary cache for aarch64-darwin at all, and minimal stuff on x86_64 platforms)
  • [x] current stack-based build / install workflow doesn't work (only nix build)

walkah avatar Jun 24 '22 21:06 walkah

I forgot to check first if an existing PR is doing what I was doing, so I duplicated this: #623 :see_no_evil:

But then, checking your checklist of known issues, I think I managed to not break the existing workflow - stack build still works fine in the devshell.

I also managed to use the binary cache (linux x86_64), at least for the basics (like ghc) - the haskell packages themselves still took quite some time to build. But this is the same with stack build (for me)?

Maybe you check it out yourself? As I never actually used a stack-based haskell workflow and I'm not too sure about it.

tennox avatar Jul 16 '22 11:07 tennox

I also managed to use the binary cache (linux x86_64), at least for the basics (like ghc) - the haskell packages themselves still took quite some time to build. But this is the same with stack build (for me)?

totally right! I was tinkering with two approaches in parallel ... I've rebased against the dev setup in main and it looks like it's all working pretty well. thanks for poking around! 🙏

walkah avatar Jul 16 '22 16:07 walkah