lol

Merge pull request #122371 from stephank/fix-tremor-darwin

tremor-rs: build on darwin

authored by

Sandro and committed by
GitHub
711ad46b 28baff36

+7 -4
+4 -3
pkgs/tools/misc/tremor-rs/default.nix
··· 1 1 { lib, rustPlatform, pkg-config, cmake, llvmPackages, openssl, fetchFromGitHub 2 - , installShellFiles }: 2 + , installShellFiles, stdenv, Security, libiconv }: 3 3 4 4 rustPlatform.buildRustPackage rec { 5 5 pname = "tremor"; ··· 16 16 17 17 nativeBuildInputs = [ cmake pkg-config installShellFiles ]; 18 18 19 - buildInputs = [ openssl ]; 19 + buildInputs = [ openssl ] 20 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security libiconv ]; 20 21 21 22 # TODO export TREMOR_PATH($out/lib) variable 22 23 postInstall = '' ··· 40 41 description = "Early stage event processing system for unstructured data with rich support for structural pattern matching, filtering and transformation"; 41 42 homepage = "https://www.tremor.rs/"; 42 43 license = licenses.asl20; 43 - platforms = [ "x86_64-linux" ]; 44 + platforms = platforms.x86_64; 44 45 maintainers = with maintainers; [ humancalico ]; 45 46 }; 46 47 }
+3 -1
pkgs/top-level/all-packages.nix
··· 9465 9465 9466 9466 tre = callPackage ../development/libraries/tre { }; 9467 9467 9468 - tremor-rs = callPackage ../tools/misc/tremor-rs { }; 9468 + tremor-rs = callPackage ../tools/misc/tremor-rs { 9469 + inherit (darwin.apple_sdk.frameworks) Security; 9470 + }; 9469 9471 9470 9472 ts = callPackage ../tools/system/ts { }; 9471 9473