Skip to content

Commit a4ca962

Browse files
sgillespiekderme
authored andcommitted
fix(nix): Temporarily disable linking with systemd
Fixes: error: The Haskell package set does not contain the package: lobemo-scribe-systemd (build dependency). If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
1 parent e2a7ea3 commit a4ca962

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

flake.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,20 @@
245245
packages.cardano-chain-gen.components.tests.cardano-chain-gen =
246246
postgresTest;
247247
})
248+
249+
({ lib, pkgs, ... }: {
250+
# TODO[sgillespie]: The following line is currently required to avoid
251+
# the following error:
252+
#
253+
# error: The Haskell package set does not contain the package:
254+
# lobemo-scribe-systemd (build dependency). If you are using Stackage,
255+
# make sure that you are using a snapshot that contains the
256+
# package. Otherwise you may need to update the Hackage snapshot you are
257+
# using, usually by updating haskell.nix.
258+
#
259+
# This started happening here: https://github.com/input-output-hk/hackage.nix/commit/958f69d793847b532874a66201a491423f2ec551
260+
packages.cardano-node.flags.systemd = lib.mkForce false;
261+
})
248262
];
249263
})).appendOverlays [
250264
# Collect local package `exe`s

0 commit comments

Comments
 (0)