-
-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
It would be really nice to be able to use the output of this project in another nix derivation, so you could combine it with a backend and package it as a NixOS module.
I gave it a shot here:
https://github.com/niteria/purescript-halogen-realworld/tree/mkSpagoDerivation
Both nix build and nix develop work fine. Maybe it can be a good starting point for anyone wanting to do something similar.
The tricky part was the FFI - I had to use node2nix to get that working properly.
I’m not opening a PR because I basically replaced your flake.nix with the default one from https://github.com/jeslie0/mkSpagoDerivation/tree/main. Since you’re the author of https://github.com/thomashoneyman/purescript-overlay, you probably have a cleaner way to do this.
Metadata
Metadata
Assignees
Labels
No labels