tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge branch 'fix/cross-swig' into HEAD
Jörg Thalheim
7 years ago
8e97e800
834e7c4f
+5
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
misc
swig
3.x.nix
+5
-2
pkgs/development/tools/misc/swig/3.x.nix
···
1
1
-
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
1
1
+
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre, buildPackages }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "swig-${version}";
···
11
11
sha256 = "1wyffskbkzj5zyhjnnpip80xzsjcr3p0q5486z3wdwabnysnhn8n";
12
12
};
13
13
14
14
-
nativeBuildInputs = [ autoconf automake libtool bison ];
14
14
+
# for cross-compiling we need pcre.dev in nativeBuildInputs to get pcre-config
15
15
+
nativeBuildInputs = [ autoconf automake libtool bison pcre.dev ];
16
16
+
disallowedReferences = [ buildPackages.pcre.dev ];
17
17
+
15
18
buildInputs = [ pcre ];
16
19
17
20
configureFlags = [ "--without-tcl" ];