lol

tremor-rs: fix build on x86_64-darwin

authored by

Weijia Wang and committed by
Yt
ee6562d0 4b99db58

+9 -3
+7 -1
pkgs/tools/misc/tremor-rs/default.nix
··· 63 63 PROTOC = "${protobuf}/bin/protoc"; 64 64 PROTOC_INCLUDE = "${protobuf}/include"; 65 65 66 + env = lib.optionalAttrs (stdenv.system == "x86_64-darwin") { 67 + RUSTFLAGS = "-C target-feature=+avx,+avx2,+sse4.2"; 68 + }; 69 + 70 + # tests failed on x86_64-darwin with SIGILL: illegal instruction 71 + doCheck = !(stdenv.system == "x86_64-darwin"); 72 + 66 73 checkFlags = [ 67 74 # all try to make a network access 68 75 "--skip=connectors::tests::http::server::https_server_test" ··· 77 84 cargoBuildFlags = [ "-p tremor-cli" ]; 78 85 79 86 meta = with lib; { 80 - broken = stdenv.isDarwin && stdenv.isx86_64; 81 87 description = '' 82 88 Early stage event processing system for unstructured data with rich 83 89 support for structural pattern matching, filtering and transformation
+2 -2
pkgs/top-level/all-packages.nix
··· 14090 14090 14091 14091 tre = callPackage ../development/libraries/tre { }; 14092 14092 14093 - tremor-rs = callPackage ../tools/misc/tremor-rs { 14094 - inherit (darwin.apple_sdk.frameworks) Security; 14093 + tremor-rs = darwin.apple_sdk_11_0.callPackage ../tools/misc/tremor-rs { 14094 + inherit (darwin.apple_sdk_11_0.frameworks) Security; 14095 14095 }; 14096 14096 14097 14097 tremor-language-server = callPackage ../tools/misc/tremor-rs/ls.nix { };