libidn2: Fix cross-compilation
This commit is contained in:
parent
538913cb90
commit
337d8ab2e1
@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, libiconv, libunistring, help2man, ronn }:
|
||||
{ fetchurl, stdenv, libiconv, libunistring, help2man, ronn, buildPackages }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@ -15,8 +15,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = optional stdenv.isDarwin ./fix-error-darwin.patch;
|
||||
|
||||
buildInputs = [ libunistring ronn ]
|
||||
++ optionals stdenv.isDarwin [ libiconv help2man ];
|
||||
nativeBuildInputs = [ ronn ]
|
||||
++ optional stdenv.isDarwin help2man;
|
||||
buildInputs = [ libunistring ] ++ optional stdenv.isDarwin libiconv;
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/libidn/#libidn2";
|
||||
|
Loading…
Reference in New Issue
Block a user