Skip to content

Instantly share code, notes, and snippets.

@redotics
Created February 6, 2021 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redotics/bc5e9a15069af90c5dae774a9a283b9e to your computer and use it in GitHub Desktop.
Save redotics/bc5e9a15069af90c5dae774a9a283b9e to your computer and use it in GitHub Desktop.
Cardano node and client compilation without systemd dependency
diff --git a/cabal.project b/cabal.project
index 05666eff..03bffb03 100644
--- a/cabal.project
+++ b/cabal.project
@@ -153,7 +153,7 @@ source-repository-package
plugins/backend-ekg
plugins/backend-monitoring
plugins/backend-trace-forwarder
- plugins/scribe-systemd
+ -- plugins/scribe-systemd
tracer-transformers
source-repository-package
@@ -182,8 +182,8 @@ reorder-goals: True
constraints:
hedgehog >= 1.0
, bimap >= 0.4.0
- , libsystemd-journal >= 1.4.4
- , systemd >= 2.3.0
+ --, libsystemd-journal >= 1.4.4
+ --, systemd >= 2.3.0
-- systemd-2.3.0 requires at least network 3.1.1.0 but it doesn't declare
-- that dependency
, network >= 3.1.1.0
diff --git a/cardano-node/cardano-node.cabal b/cardano-node/cardano-node.cabal
index 5f20a178..a1184dfc 100644
--- a/cardano-node/cardano-node.cabal
+++ b/cardano-node/cardano-node.cabal
@@ -18,7 +18,7 @@ Flag unexpected_thunks
flag systemd
description: Enable systemd support
- default: True
+ default: False
manual: False
library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment