fission-codes / fission

Fission CLI & server
https://runfission.com/docs
119 stars 14 forks source link

haskell.nix integration #615

Open walkah opened 2 years ago

walkah commented 2 years ago

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

Known issues:

tennox commented 2 years ago

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.

walkah commented 2 years ago

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! 🙏