From 15a7e0ab71ebb756e2a1211300550895ced52011 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 19 Aug 2015 15:49:49 -0700 Subject: [PATCH] go1.4: Fix some of the tests by adding missing pcre --- pkgs/development/compilers/go/1.4.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/go/1.4.nix b/pkgs/development/compilers/go/1.4.nix index 641748b34dc..923112d12dc 100644 --- a/pkgs/development/compilers/go/1.4.nix +++ b/pkgs/development/compilers/go/1.4.nix @@ -1,4 +1,7 @@ -{ stdenv, lib, fetchurl, tzdata, iana_etc, libcCross, Security }: +{ stdenv, lib, fetchurl, tzdata, iana_etc, libcCross +, pkgconfig +, pcre +, Security }: let libc = if stdenv ? "cross" then libcCross else stdenv.cc.libc; @@ -13,6 +16,8 @@ stdenv.mkDerivation rec { sha256 = "3e5d07bc5214a1ffe187cf6406c5b5a80ee44f12f6bca97a5463db0afee2f6ac"; }; + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ pcre ]; propagatedBuildInputs = lib.optional stdenv.isDarwin Security; # I'm not sure what go wants from its 'src', but the go installation manual