From 6fa5612a46ab291c291aa1925a2e5da152dbdfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 7 Feb 2014 09:48:18 +0100 Subject: [PATCH] gnutls2: fix build in chroot (/usr/bin/perl doc script) I've got no idea how this could get triggered on Hydra, 97e7ce2 ? --- pkgs/development/libraries/gnutls/2.12.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gnutls/2.12.nix b/pkgs/development/libraries/gnutls/2.12.nix index fa9e5c69b79..59f0131b9d4 100644 --- a/pkgs/development/libraries/gnutls/2.12.nix +++ b/pkgs/development/libraries/gnutls/2.12.nix @@ -1,5 +1,5 @@ { fetchurl, stdenv, zlib, lzo, libtasn1, nettle -, guileBindings, guile, pkgconfig }: +, guileBindings, guile, pkgconfig, perl }: assert guileBindings -> guile != null; @@ -20,6 +20,8 @@ stdenv.mkDerivation rec { })]; configurePhase = '' + patchShebangs . + ./configure --prefix="$out" \ --disable-dependency-tracking --enable-fast-install \ --with-lzo --with-libtasn1-prefix="${libtasn1}" \ @@ -29,7 +31,7 @@ stdenv.mkDerivation rec { else ""} ''; - buildInputs = [ zlib lzo libtasn1 pkgconfig ] + buildInputs = [ zlib lzo libtasn1 pkgconfig perl ] ++ stdenv.lib.optional guileBindings guile; propagatedBuildInputs = [ nettle ];