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

Requesting explanation of flag in project-development.rst #692

Open
jerbaroo opened this issue Oct 17, 2020 · 0 comments
Open

Requesting explanation of flag in project-development.rst #692

jerbaroo opened this issue Oct 17, 2020 · 0 comments

Comments

@jerbaroo
Copy link

jerbaroo commented Oct 17, 2020

nix-shell -A shells.ghcjs --run "cabal --project-file=cabal-ghcjs.project --builddir=dist-ghcjs new-build all"

Would the following be a shorter alternative?

nix-shell -A shells.ghcjs --run "cabal --builddir=dist-ghcjs new-build frontend"

My guess is the cabal-ghcjs.project file is passed to ensure that the backend package is not compiled. However passing the package frontend should be enough since backend is not a dependency and neither is is specified in shelld.ghcjs.

Does passing shells.ghcjs not specify that GHCJS should be used to compile? Or what is the purpose of using that shell over shells.ghc in this case?

Thanks you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant