-
Notifications
You must be signed in to change notification settings - Fork 721
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
Fix build for cabal users that don't have systemd #1775
Fix build for cabal users that don't have systemd #1775
Conversation
very good point! we should add documentation for this case also in https://github.com/input-output-hk/iohk-monitoring-framework |
a1ccda4
to
b143dd1
Compare
ping |
I have also having the same issue on Debian 10, tried the mentioned 2 fixes in the previous thread none of them works.
|
@feraldruid22 download the file in this PR: https://github.com/input-output-hk/cardano-node/pull/1775/files#diff-5739590c0f8579b6c8fac793aac34e6c run it. Then invoke cabal as such: |
I confirm this fixes https://github.com/2nd-Layer/docker-hub-cardano-images/issues/36 and #1200 |
Is anyone going to review this? |
Works for me in Docker Centos Base...
…--
Sent from mobile
Best regards / S pozdravem,
BSc. Mark Stopka, BBA
Managing Partner @ PERLUR Group
mobile: +420 704 373 561
website: www.perlur.cloud
On Thu, Oct 1, 2020, 19:35 Julian Ospald ***@***.***> wrote:
Is anyone going to review this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1775 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKMP3DGXYDYUG44M6Y4VNDSIS4XFANCNFSM4QM327ZQ>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine to me, but I'd also like a review from @erikd since he suggested this solution in #1666 (review).
This is mainly due to a cabal bug and should be removed in the future: haskell/cabal#5444 There are various distros, where installing development files of libsystemd won't be an option: - Alpine (doesn't have systemd at all) - Gentoo (not installable when eudev is installed) - Exherbo (not installable when eudev is installed) Users are expected to run the script and then execute cabal like so: cabal build --project-file=cabal.nosystemd.project all
b143dd1
to
b490fcf
Compare
bors merge |
🔒 Permission denied Existing reviewers: click here to make hasufell a reviewer |
bors r+ |
Build succeeded: |
This is mainly due to a cabal bug and should be removed in
the future: haskell/cabal#5444
There are various distros, where installing development files
of libsystemd won't be an option:
Users are expected to run the script and then execute cabal like so:
cabal build --project-file=cabal.nosystemd.project all
related:
This has also been discussed on slack.
Instructions for this edge case should probably be added to the wiki?