libotr: fix cross

This commit is contained in:
Alyssa Ross 2023-10-02 07:05:51 +00:00
parent d30afdf089
commit 1c20cc2330

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libgcrypt, autoreconfHook }:
{ lib, stdenv, fetchurl, pkgsHostTarget, libgcrypt, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libotr";
@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "out" "dev" ];
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [
autoreconfHook
pkgsHostTarget.libgcrypt.dev # for libgcrypt-config
];
propagatedBuildInputs = [ libgcrypt ];
meta = with lib; {