diff --git a/pkgs/development/libraries/glibc/common.nix b/pkgs/development/libraries/glibc/common.nix index e4b9d66f7dd0..f6c9aa6755c4 100644 --- a/pkgs/development/libraries/glibc/common.nix +++ b/pkgs/development/libraries/glibc/common.nix @@ -162,6 +162,15 @@ stdenv.mkDerivation ( -#define LIBIDN2_SONAME "libidn2.so.0" +#define LIBIDN2_SONAME "${lib.getLib libidn2}/lib/libidn2.so.0" EOF + '' + # For some reason, with gcc-15 build fails with the following error: + # + # zic.c:3767:1: note: did you mean to specify it after ')' following function parameters? + # zic.c:3781:1: error: standard 'reproducible' attribute can only be applied to function declarators or type specifiers with function type [] + + '' + for path in timezone/zic.c timezone/zdump.c ; do + substituteInPlace $path --replace-fail "ATTRIBUTE_REPRODUCIBLE" "" + done ''; configureFlags =