Skip to content

Commit 8cfe251

Browse files
authored
libpoly: remove -Werror; fix clang-19 (NixOS#368397)
2 parents a4c6e4d + b57b454 commit 8cfe251

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/li/libpoly/package.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
1919
sha256 = "sha256-7aFz+6XJOVEA/Fmi0ywd6rZdTW8sHq8MoHqXR0Hc2o4=";
2020
};
2121

22+
postPatch = ''
23+
substituteInPlace src/CMakeLists.txt \
24+
--replace-warn " -Werror " " "
25+
'';
26+
2227
nativeBuildInputs = [ cmake ];
2328

2429
buildInputs = [

0 commit comments

Comments
 (0)