meta: add nix flake to build on Linux#12
meta: add nix flake to build on Linux#12vincenzopalazzo wants to merge 2 commits intoACINQ:masterfrom
Conversation
|
Is this linked to an error I'm receiving when trying to build on Fedora 39? "./phoenixd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory" |
It's unrelated, you need something like |
|
I'm getting a JVM crash at build, starting from |
Interesting @pm47 I will try to reproduce it today with your setting and get back to you, thanks for testing this PR our |
2513da0 to
856f177
Compare
|
Ok I was able to reproduce by passing the This is the stack trace and currently, I do not have a solution :/ there is someone with ideas? |
|
Clean solution would be to add This proposal is very hackish :-) |
|
Hi @prusnak,
haha I am a really convoluted nix user, but if you have time to review it we I can spend some time resurrecting it and maybe build a nix package too |
I will happily review and merge package submission to nixos/nixpkgs and/or flake.nix inclusion in this repo. |
ae98bdd to
e7e3e6e
Compare
|
I push some code @prusnak but I think it is missing the |
2f69339 to
f05f916
Compare
As noted in [1] on Linux systems, it is not possible to build phoenixd due to a mismatch in the libc version. A possible solution is to use Nix and build phoenixd inside the shell with all the dependencies. This way, the host machine can use the binary directly without downgrading libc, which can be dangerous. [1] ACINQ#1 (comment) Co-authored-by: Pavol Rusnak <pavol@rusnak.io> Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
f05f916 to
2381be5
Compare
As noted in [1] on Linux systems, it is not possible to build phoenixd due to a mismatch in the libc version.
A possible solution is to use Nix and build phoenixd inside the shell with all the dependencies. This way, the host machine can use the binary directly without downgrading libc, which can be dangerous.
[1] #1 (comment)