gnum4: fix cygwin build (#479391)

This commit is contained in:
John Ericson
2026-01-13 03:20:00 +00:00
committed by GitHub
+3
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
gnulib,
}:
# Note: this package is used for bootstrapping fetchurl, and thus
@@ -18,6 +19,8 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-rGmJ7l0q7YFzl4BjDMLOCX4qZUb+uWpKVNs31GoUUuQ=";
};
patches = lib.optional stdenv.hostPlatform.isCygwin gnulib.patches.memcpy-fix-backport-250512;
# this could be accomplished by updateAutotoolsGnuConfigScriptsHook, but that causes infinite recursion
# necessary for FreeBSD code path in configure
postPatch = ''