diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b5849a0bc714..3b0946a0579c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1325,7 +1325,7 @@ in { #setupPyBuildFlags = [ "--berkeley-db=${pkgs.db}" ]; # We can also use a variable preConfigure = '' - export BERKELEYDB_DIR=${pkgs.db}; + export BERKELEYDB_DIR=${pkgs.db.dev}; ''; meta = {