Skip to content
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

Add systemd to -static -iog flavor #118

Closed
wants to merge 2 commits into from
Closed

Conversation

ch1bo
Copy link
Member

@ch1bo ch1bo commented Jan 3, 2024

Currently recompiling, but this evaluates and I added it with the intention to be able to compile cardano-cli and cardano-node, which both depend on libsystemd somehow.

@ch1bo
Copy link
Member Author

ch1bo commented Jan 3, 2024

Compilation using this ghc (or the musl cc) fail with:

<no location info>: error:
    Error loading shared library libgcc_s.so.1: No such file or directory (needed by /nix/store/wfxm2ydni9n5pb1j3x61gisjncn7pjk2-x86_64-unknown-linux-musl-gcc-12.3.0-lib/x86_64-unknown-linux-musl/lib/libstdc++.so)

error.log

@ch1bo
Copy link
Member Author

ch1bo commented Jan 3, 2024

This may be related: NixOS/nixpkgs#40797

@ch1bo
Copy link
Member Author

ch1bo commented Jan 3, 2024

This whole PR is maybe not needed as I can also just disable systemd support in cardano-cli and cardano-node using haskell flag -systemd

@angerman
Copy link
Collaborator

angerman commented Apr 4, 2024

This whole PR is maybe not needed as I can also just disable systemd support in cardano-cli and cardano-node using haskell flag -systemd

Sorry to get around to this so late @ch1bo :-(

Yes, if we can not add systemd to the closure that would be good.

@angerman angerman closed this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants