lol

bossa: fix build failure on Darwin with clang >= 15

See shumatech/BOSSA#172. Essentially, recent versions of macOS started
shipping clang version above 15, which promoted the
unqualified-std-cast-call warning into a hard error.

Unfortunately, it seems like upstream is dormant as of now, so we have
to apply the patch ourselves.

+10
+10
pkgs/development/embedded/bossa/default.nix
··· 5 5 , libX11 6 6 , readline 7 7 , darwin 8 + , fetchpatch 8 9 }: 9 10 10 11 let ··· 30 31 rev = version; 31 32 sha256 = "sha256-8M3MU/+Y1L6SaQ1yoC9Z27A/gGruZdopLnL1z7h7YJw="; 32 33 }; 34 + 35 + patches = [ 36 + (fetchpatch { 37 + # Required for building on Darwin with clang >=15. 38 + name = "pr-172-fix.patch"; 39 + url = "https://github.com/shumatech/BOSSA/commit/6e54973c3c758674c3d04b5e2cf12e097006f6a3.patch"; 40 + hash = "sha256-2lp6Ej3IfofztC1n/yHLjabn0MH4BA/CM3dsnAw8klA="; 41 + }) 42 + ]; 33 43 34 44 postPatch = '' 35 45 substituteInPlace Makefile \