We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 792e1b4 + 9c54073 commit 571223eCopy full SHA for 571223e
1 file changed
pkgs/development/embedded/bossa/default.nix
@@ -5,6 +5,7 @@
5
, libX11
6
, readline
7
, darwin
8
+, fetchpatch
9
}:
10
11
let
@@ -31,6 +32,15 @@ stdenv.mkDerivation rec {
31
32
sha256 = "sha256-8M3MU/+Y1L6SaQ1yoC9Z27A/gGruZdopLnL1z7h7YJw=";
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
+ ];
43
+
44
postPatch = ''
45
substituteInPlace Makefile \
46
--replace "-arch x86_64" ""
0 commit comments