Title: Consider ghc-musl for building fully static binaries · Issue #4572 · purescript/purescript · GitHub
Open Graph Title: Consider ghc-musl for building fully static binaries · Issue #4572 · purescript/purescript
X Title: Consider ghc-musl for building fully static binaries · Issue #4572 · purescript/purescript
Description: Summary Consider using https://github.com/benz0li/ghc-musl to build fully static binaries. This project is notably used by Pandoc, Stack, and Juvix to provide fully static binaries. Motivation From time to time, we've seen libtinfo appea...
Open Graph Description: Summary Consider using https://github.com/benz0li/ghc-musl to build fully static binaries. This project is notably used by Pandoc, Stack, and Juvix to provide fully static binaries. Motivation From...
X Description: Summary Consider using https://github.com/benz0li/ghc-musl to build fully static binaries. This project is notably used by Pandoc, Stack, and Juvix to provide fully static binaries. Motivation From...
Opengraph URL: https://github.com/purescript/purescript/issues/4572
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consider ghc-musl for building fully static binaries","articleBody":"## Summary\n\nConsider using https://github.com/benz0li/ghc-musl to build fully static binaries. This project is notably used by Pandoc, Stack, and Juvix to provide fully static binaries.\n\n## Motivation\n\nFrom time to time, we've seen `libtinfo` appear here and there on our builds, typically when we update dependencies. So far, we've managed to avoid it by putting a hard dependency on `haskeline ==0.8.2`, the last version that we've confirmed to not cause our builds to depend on `libtinfo`. https://github.com/purescript/purescript/issues/4253\n\nMaking sure that it does not appear allows the compiler to run in contexts where the dependency is unavailable, and in general improves the installation process.\n\nHowever, time marches on and with it comes less active support for older versions of GHC and the libraries that we depend upon. Parts of the toolchain that we don't have full control over (like LLVM) will continue to be updated and will eventually break compilation on older GHC versions (like https://github.com/purescript/purescript/issues/4567)\n\nFiguring out how to build a fully static PureScript would give us more confidence in keeping the compiler up to date with the overarching Haskell ecosystem.\n\n## Proposal\n\nBuild static binaries in CI using https://github.com/benz0li/ghc-musl\n\n## Examples\n\nStack is a fully static binary","author":{"url":"https://github.com/purefunctor","@type":"Person","name":"purefunctor"},"datePublished":"2025-04-09T16:00:00Z","url":"https://github.com/purescript/purescript/issues/4572"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:16565f34-60e8-d366-2551-7a270121de95 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C00:1B1794:11B54B:1777BA:6AFBAF95 |
| html-safe-nonce | 4fcd12af234e8a557d3ac3e444183a9012e1edb8c72b8f879776ce662bc26167 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzAwOjFCMTc5NDoxMUI1NEI6MTc3N0JBOjZBRkJBRjk1IiwidmlzaXRvcl9pZCI6IjgyNjY3NzYyNzgxNzYxNDMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eb9c5391ae09a65e919c29e4f713a6b99b7af9b7f6a6dcd293485a90cec19dde |
| hovercard-subject-tag | issue:2983258561 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript/purescript/4572/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9df82801e383938f0da4625a5270491b6044811d0bbd107ea15571d43b0486bb/purescript/purescript/issues/4572 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9df82801e383938f0da4625a5270491b6044811d0bbd107ea15571d43b0486bb/purescript/purescript/issues/4572 |
| og:image:alt | Summary Consider using https://github.com/benz0li/ghc-musl to build fully static binaries. This project is notably used by Pandoc, Stack, and Juvix to provide fully static binaries. Motivation From... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | purefunctor |
| hostname | github.com |
| expected-hostname | github.com |
| None | e25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55 |
| turbo-cache-control | no-preview |
| go-import | github.com/purescript/purescript git https://github.com/purescript/purescript.git |
| octolytics-dimension-user_id | 6556677 |
| octolytics-dimension-user_login | purescript |
| octolytics-dimension-repository_id | 13206906 |
| octolytics-dimension-repository_nwo | purescript/purescript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13206906 |
| octolytics-dimension-repository_network_root_nwo | purescript/purescript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 08c8f17f9d27054a108b8b6254e405de0151f660 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width