-
Notifications
You must be signed in to change notification settings - Fork 698
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
Ability to build a cabal script into executable #7073
Comments
In fact cabal generates an executable when you does a |
@jneira as if I remembered that |
I think #7851 resolved this issue. |
It seems so. @ethercrow (and other interested parties), could you kindly confirm if it solves your use case? Ideally by compiling the master branch and trying it out. |
#7851 certainly improves the situation. But there's no easy way to find the resulting binary. It would be great if |
There are so many cabal sub commands I didn't even realize |
Not unreasonably: #7774.
Well, if you have |
can we close this? |
I'm happy. Thanks for #7925! |
Tada! |
When I have a haskell program in a form of a single file script like
I'd like to be able to build it into a standalone executable.
Currently it seems like you can only build something with
cabal v2-build
if there is a cabal file and/or a project file, but building single file scripts is not supported:Creating a package description file is exactly what I'd like to avoid for small programs, since all the necessary information is already contained in the source file.
The text was updated successfully, but these errors were encountered: