Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Hello r/elm! I have been working on a new way to package Elm applications with Nix. As far as I am aware, the current way to build Elm applications with Nix is to use elm2nix. While this works, it does require the user to manually regenerate certain nix files when updating your project's elm.json, and to commit a binary file used in the build process. I have made mkElmDerivation as a way to get around these two issues and simplify the build process.
If you want to have a go, you can use my simple project to learn elm-spa, which was just created with the given nix flake and elm-spa new.