-
Notifications
You must be signed in to change notification settings - Fork 842
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
Dynamically-linked Stack binaries for Termux and other non-FHS compliant environments #6345
Comments
I'm looking for this option too. I see that Cabal has executable-dynamic and this is used in the clash-compiler/cabal.project, a project that I'm trying to build with stack. package clash-benchmark
executable-dynamic: True |
@dhuux it is possible to build stack from source with cabal. |
how? did you used it like this |
@dhuux, I am not a user of Cabal (the tool) or a Linux user, but if you have a working version of GHC 9.4.7 on your system, I think you can build Stack from source with Cabal (the tool) as follows:
|
Stack's current release process has its origins in the discussion at #2534. There are no plans to provide dynamically-linked binary distributions from this repository, but if other parts of the Haskell community wish to support what you are looking for, we would try to support them in their support. |
@mpilgrem thanks. |
i used
ghcup
to downloadcabal
andstack
on Termux.cabal
andghcup
can do network stuff with the patched glibc for Termux since they are dynamically linked. but thestack binary
is statically linked so it can't resolve DNS names because/etc/resolv.conf
doesn't exist without proot in Termux.it would be nice if we had dynamically linked Linux AArch64 binaries also.
The text was updated successfully, but these errors were encountered: