Unverified Commit 37db84c8 authored by John Ericson's avatar John Ericson Committed by GitHub
Browse files

gnum4: fix cygwin build (#479391)

parents 99f776f8 47f19897
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 = ''