diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index 5856604c53da..7466abeaf827 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -187,7 +187,7 @@ let }; bz2 = { - configureFlags = ["--with-bz2=${bzip2}"]; + configureFlags = ["--with-bz2=${bzip2.dev}"]; buildInputs = [bzip2]; }; diff --git a/pkgs/development/python-modules/tables/default.nix b/pkgs/development/python-modules/tables/default.nix index b3003dfa954c..88a39400c77c 100644 --- a/pkgs/development/python-modules/tables/default.nix +++ b/pkgs/development/python-modules/tables/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { setupPyBuildFlags = [ "--hdf5=${hdf5}" "--lzo=${lzo}" - "--bzip2=${bzip2}" + "--bzip2=${bzip2.dev}" ]; # Run the test suite. diff --git a/pkgs/tools/security/clamav/default.nix b/pkgs/tools/security/clamav/default.nix index bebb8a95a58a..b76168e68ed0 100644 --- a/pkgs/tools/security/clamav/default.nix +++ b/pkgs/tools/security/clamav/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-zlib=${zlib}" - "--with-libbz2-prefix=${bzip2}" + "--with-libbz2-prefix=${bzip2.dev}" "--with-iconv-dir=${libiconv}" "--with-xml=${libxml2}" "--with-openssl=${openssl}" diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 020ff87d360e..ca7c4b3d1538 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -2032,7 +2032,7 @@ let self = _self // overrides; _self = with self; { # Don't build a private copy of bzip2. BUILD_BZIP2 = false; BZIP2_LIB = "${pkgs.bzip2.out}/lib"; - BZIP2_INCLUDE = "${pkgs.bzip2}/include"; + BZIP2_INCLUDE = "${pkgs.bzip2.dev}/include"; meta = { homepage = http://search.cpan.org/perldoc?CPAN::Meta::Spec;