Skip to content

Provide statically linked linux pre-releases #9631

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

Closed
TeofilC opened this issue Jan 19, 2024 · 1 comment · Fixed by #9649, TeofilC/cabal#2 or TeofilC/cabal#3
Closed

Provide statically linked linux pre-releases #9631

TeofilC opened this issue Jan 19, 2024 · 1 comment · Fixed by #9649, TeofilC/cabal#2 or TeofilC/cabal#3

Comments

@TeofilC
Copy link
Collaborator

TeofilC commented Jan 19, 2024

Summary

Currently a pre-release tarball contains a cabal executable that has dynamic library dependencies on zlib and gmp (along with glibc).

This means that folks on statically linked (eg, alpine), or oddly linked platforms (looking at you Nix/NixOS), can't directly use them.

Suggestion

Let's additionally make available a statically linked binary.

I'm not sure if this would require a lot of work to get working on CI but I'd be happy to take a look.

@ulysses4ever
Copy link
Collaborator

I'd be happy to review and approve such PR if it's submitted.

TeofilC added a commit that referenced this issue Jan 23, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves #9631.
TeofilC added a commit that referenced this issue Jan 23, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves #9631.
TeofilC added a commit that referenced this issue Jan 23, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves #9631.
TeofilC added a commit that referenced this issue Jan 23, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves #9631.
TeofilC added a commit that referenced this issue Jan 23, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves #9631.
TeofilC added a commit to TeofilC/cabal that referenced this issue Jan 24, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves haskell#9631.
TeofilC added a commit that referenced this issue Jan 31, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves #9631.
Mikolaj pushed a commit that referenced this issue Feb 3, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves #9631.
erikd pushed a commit to erikd/cabal that referenced this issue Apr 22, 2024
Add a job that builds a statically linked cabal-install executable, and
make it available for pre-releases.

Resolves haskell#9631.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants