Merge pull request #279014 from amjoseph-nixpkgs/pr/gurk-rs/fixcross

gurk-rs: fix cross
This commit is contained in:
Weijia Wang 2024-01-06 23:03:11 +01:00 committed by GitHub
commit 7941d7f6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
, rustPlatform
, fetchFromGitHub
, Cocoa
, pkgsBuildHost
}:
rustPlatform.buildRustPackage rec {
@ -38,7 +39,7 @@ rustPlatform.buildRustPackage rec {
NIX_LDFLAGS = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ "-framework" "AppKit" ];
PROTOC = "${protobuf}/bin/protoc";
PROTOC = "${pkgsBuildHost.protobuf}/bin/protoc";
meta = with lib; {
description = "Signal Messenger client for terminal";