diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-09-13 23:06:17 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-09-13 23:09:05 +0200 |
commit | 327edb4b1dc556b0342bde232c479cdcd0176997 (patch) | |
tree | 6ed76dfdf2a8e1a6954a1a2cf3a99ac83348bb1b /pkgs/development/tools/cargo-web | |
parent | 54b4000d54433b9b49dab938f703994bb7707f3f (diff) |
cargo-web: mark broken on darwin
Looks CoreFoundation related.
Undefined symbols for architecture x86_64:
"_CFURLResourceIsReachable", referenced from:
fsevent_sys::core_foundation::str_path_to_cfstring_ref::h0ea4bd94e2c613f2 in libfsevent_sys-ef30b6879660a6c1.rlib(fsevent_sys-ef30b6879660a6c1.fsevent_sys7-49ce33334334dd3a5c7883bf4070f954.rs.rcgu.o)
ld: symbol(s) not found for architecture x86_64
/cc ZHF #45961
Diffstat (limited to 'pkgs/development/tools/cargo-web')
-rw-r--r-- | pkgs/development/tools/cargo-web/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/tools/cargo-web/default.nix b/pkgs/development/tools/cargo-web/default.nix index 06d6697ef965..e350e475f73c 100644 --- a/pkgs/development/tools/cargo-web/default.nix +++ b/pkgs/development/tools/cargo-web/default.nix @@ -1,4 +1,6 @@ -{ stdenv, fetchFromGitHub, openssl, pkgconfig, rustPlatform }: +{ stdenv, fetchFromGitHub, openssl, pkgconfig, rustPlatform +, CoreServices, Security +}: rustPlatform.buildRustPackage rec { name = "cargo-web-${version}"; @@ -14,12 +16,14 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "157av9zkirr00w9v11mh7yp8w36sy7rw6i80i5jmi0mgrdvcg5si"; nativeBuildInputs = [ openssl pkgconfig ]; + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ]; meta = with stdenv.lib; { description = "A Cargo subcommand for the client-side Web"; homepage = https://github.com/koute/cargo-web; license = with licenses; [asl20 /* or */ mit]; maintainers = [ maintainers.kevincox ]; + broken = stdenv.isDarwin; # test with CoreFoundation 10.11 platforms = platforms.all; }; } |