python3Packages.databricks-connect: fix build

wip/yesman
Jonathan Ringer 4 years ago committed by Frederik Rietdijk
parent 39111279b1
commit 0ffef62eba
  1. 7
      pkgs/development/python-modules/databricks-connect/default.nix

@ -16,8 +16,13 @@ buildPythonPackage rec {
# requires network access
doCheck = false;
prePatch = ''
substituteInPlace setup.py \
--replace "py4j==0.10.9" "py4j"
'';
preFixup = ''
substituteInPlace "$out/bin/find-spark-home" \
substituteInPlace "$out/bin/find-spark-home" \
--replace find_spark_home.py .find_spark_home.py-wrapped
'';

Loading…
Cancel
Save