Skip to content

Commit 8a6e9c5

Browse files
carbolymerpalas
authored andcommitted
Silence GCC conversion warning
1 parent 51c7fec commit 8a6e9c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@
202202
}
203203
({pkgs, ...}: {
204204
packages.proto-lens-protobuf-types.components.library.build-tools = [pkgs.buildPackages.protobuf];
205+
# on GCC > 14 a conversion warning became an error and needs to be silenced
206+
packages.basement.components.library.configureFlags = [
207+
"--hsc2hs-option=--cflag=-Wno-int-conversion"
208+
];
205209
# This is only needed when doing codegen in cardano-rpc itself
206210
# packages.cardano-rpc.components.library.build-tools = [pkgs.buildPackages.protobuf];
207211
})

0 commit comments

Comments
 (0)