swig: document why pcre.dev is in nativeBuildInputs
This commit is contained in:
parent
3c9d05389c
commit
be6b461bb9
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre, buildPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "swig-${version}";
|
||||
@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1wyffskbkzj5zyhjnnpip80xzsjcr3p0q5486z3wdwabnysnhn8n";
|
||||
};
|
||||
|
||||
# for cross-compiling we need pcre.dev in nativeBuildInputs to get pcre-config
|
||||
nativeBuildInputs = [ autoconf automake libtool bison pcre.dev ];
|
||||
disallowedReferences = [ buildPackages.pcre.dev ];
|
||||
|
||||
buildInputs = [ pcre ];
|
||||
|
||||
configureFlags = [ "--without-tcl" ];
|
||||
|
Loading…
Reference in New Issue
Block a user