libotr: fix cross
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, libgcrypt, autoreconfHook }:
|
{ lib, stdenv, fetchurl, pkgsHostTarget, libgcrypt, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libotr";
|
pname = "libotr";
|
||||||
@@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "bin" "out" "dev" ];
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkgsHostTarget.libgcrypt.dev # for libgcrypt-config
|
||||||
|
];
|
||||||
propagatedBuildInputs = [ libgcrypt ];
|
propagatedBuildInputs = [ libgcrypt ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|||||||
Reference in New Issue
Block a user