diff --git a/pkgs/by-name/vi/visp/package.nix b/pkgs/by-name/vi/visp/package.nix index 35ffac76f144..59d150b95746 100644 --- a/pkgs/by-name/vi/visp/package.nix +++ b/pkgs/by-name/vi/visp/package.nix @@ -55,6 +55,13 @@ stdenv.mkDerivation (finalAttrs: { url = "https://github.com/lagadic/visp/pull/1310/commits/9ed0300507e13dddd83fd62a799f5039025ea44e.patch"; hash = "sha256-xrJ7B/8mEfi9dM/ToMr6vCAwX/FMw+GA/W0zFYgT32s="; }) + + # fix error: unsupported option '-mfpu=' on darwin + # this was merged upstream, and can be removed on next release + (fetchpatch { + url = "https://github.com/lagadic/visp/commit/8c1461661f99a5db31c89ede9946d2b0244f8123.patch"; + hash = "sha256-MER5KDrFxKs+Y5G9UcEIAh95Zilmv1Vp4xq+isRMM/U="; + }) ]; nativeBuildInputs = [ @@ -95,6 +102,8 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Open Source Visual Servoing Platform"; + # ref. https://github.com/lagadic/visp/pull/1658 + broken = stdenv.hostPlatform.system == "x86_64-darwin"; homepage = "https://visp.inria.fr"; changelog = "https://github.com/lagadic/visp/blob/v${finalAttrs.version}/ChangeLog.txt"; license = lib.licenses.gpl2Plus;