tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rust-cbindgen: fix build on macOS
Michael Hoang
3 years ago
08143b4f
474868fd
+4
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
rust
cbindgen
default.nix
+4
-1
pkgs/development/tools/rust/cbindgen/default.nix
···
27
27
"--skip lib_default_uses_debug_build"
28
28
"--skip lib_explicit_debug_build"
29
29
"--skip lib_explicit_release_build"
30
30
+
] ++ lib.optionals stdenv.isDarwin [
31
31
+
# WORKAROUND: test_body fails when using clang
32
32
+
# https://github.com/eqrion/cbindgen/issues/628
33
33
+
"--skip test_body"
30
34
];
31
35
32
36
meta = with lib; {
33
33
-
broken = stdenv.isDarwin;
34
37
description = "A project for generating C bindings from Rust code";
35
38
homepage = "https://github.com/eqrion/cbindgen";
36
39
license = licenses.mpl20;