-
Notifications
You must be signed in to change notification settings - Fork 19
Replace Travis with Github Actions and Nix ❄️ #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question, apart of that, LGTM! 🙌
It seems, looking at the logs, that Nix uses a different root directory when compiling:
|
The downside of haskell.nix is that you have to compile GHC and everything up the to libraries first. It's a one time build you have to pay in order to get the benefit of not updating Nix when project goes on. There's a way to use haskell.nix cachix to speed that up, but you'd need to pin the correct nixpkgs in that case (which may be ok with you?). |
I just added some changes that should fix this, thanks again @domenkozar 🎉 For reference, apparently cabal does not like external files, so you need to add them to your |
@juanpedromoreno it seems like the 47deg.cachix.org account is not correctly configured: responseBody = "{\"error\":\"No public key set yet. Run 'cachix generate-keypair' first.\"}"}) Can you please take a look? 😉 |
Ok, it is fixed now 🎉 It should work! 🤞 |
Huge thanks to @domenkozar for the help! 😉 🙌
Fixes #22