Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: run haskell application as a process #138

Open
shivaraj-bh opened this issue Mar 11, 2024 · 0 comments
Open

docs: run haskell application as a process #138

shivaraj-bh opened this issue Mar 11, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@shivaraj-bh
Copy link
Member

shivaraj-bh commented Mar 11, 2024

We already do this in nammayatri

There are two variants, nix run .#run-mobility-stack-nix and nix run .#run-mobility-stack-dev:

https://github.com/nammayatri/nammayatri/blob/57be9e73731a42a8ddb6b6915ceb048283c6e0fe/Backend/nix/run-mobility-stack.nix#L16-L29

the dev variant runs cabal build followed by cabal run, while the nix variant uses the apps exported by flake to start the haskell application.

This can be part of a tutorial series

@shivaraj-bh shivaraj-bh added the documentation Improvements or additions to documentation label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant