Skip to content

Commit 0c0339f

Browse files
committed
dmq-node: disabled cddl when building with musl
1 parent 0d2ca29 commit 0c0339f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nix/ouroboros-network.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ let
125125
packages.basement.configureFlags = [ "--hsc2hs-options=--cflag=-Wno-int-conversion" ];
126126
})
127127
({ pkgs, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isMusl {
128+
# rubby fails to build with musl, hence we disable cddl tests
129+
packages.dmq-node.components.tests.dmq-cddl.build-tools = lib.mkForce [ ];
130+
packages.dmq-node.components.tests.dmq-cddl.doCheck = lib.mkForce false;
131+
packages.ouroboros-network-protocols.components.tests.cddl.build-tools = lib.mkForce [ ];
132+
packages.ouroboros-network-protocols.components.tests.cddl.doCheck = lib.mkForce false;
128133
packages.dmq-node.ghcOptions = with pkgs; [
129134
"-L${lib.getLib static-gmp}/lib"
130135
"-L${lib.getLib static-libsodium-vrf}/lib"

0 commit comments

Comments
 (0)