gurk-rs: fix cross

This commit is contained in:
Adam Joseph 2024-01-05 10:11:58 -08:00
parent 13b528c1b5
commit 61e9fe7b69

View File

@ -4,6 +4,7 @@
, rustPlatform
, fetchFromGitHub
, Cocoa
, pkgsBuildHost
}:
rustPlatform.buildRustPackage rec {
@ -37,7 +38,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";