mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
rust-cbindgen: fix build on macOS
This commit is contained in:
parent
474868fdbe
commit
08143b4f56
@ -27,10 +27,13 @@ rustPlatform.buildRustPackage rec {
|
|||||||
"--skip lib_default_uses_debug_build"
|
"--skip lib_default_uses_debug_build"
|
||||||
"--skip lib_explicit_debug_build"
|
"--skip lib_explicit_debug_build"
|
||||||
"--skip lib_explicit_release_build"
|
"--skip lib_explicit_release_build"
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
# WORKAROUND: test_body fails when using clang
|
||||||
|
# https://github.com/eqrion/cbindgen/issues/628
|
||||||
|
"--skip test_body"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
description = "A project for generating C bindings from Rust code";
|
description = "A project for generating C bindings from Rust code";
|
||||||
homepage = "https://github.com/eqrion/cbindgen";
|
homepage = "https://github.com/eqrion/cbindgen";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
|
Loading…
Reference in New Issue
Block a user