-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
static build is broken #2327
Comments
Likeliest thing to look into is this patch: https://github.com/PostgREST/postgrest/blob/main/nix/patches/static-haskell-nix-isexecutable.patch. If we're lucky, that test is just wrong, and if we fix it we get a static build. If not, it's a bit less clear how to proceed. https://github.com/nh2/static-haskell-nix is quite outdated and feels a bit abandoned, and it seems @monacoremo who introduced this here is not around anymore either? |
Yeah, that is surprising, no issues opened in 2022 too. Seeing NixOS/nixpkgs#43795 (comment), perhaps |
From NixOS/nixpkgs#61575 (comment)
We'd have to look into |
Ooh |
It seems the static-haskell-nix hack from #2292 produces non-static binaries:
Unfortunately, I no longer seem to be able to produce a static binary:
9.0.1 shows:
We need a test on CI to ensure the above output.
On another NixOS server, trying to run produces an error(
No such file or directory
) and when running ldd on it:Originally posted by @steve-chavez in #2292 (comment)
The text was updated successfully, but these errors were encountered: