python3Packages.databricks-connect: fix build

This commit is contained in:
Jonathan Ringer 2020-11-29 13:25:34 -08:00 committed by Frederik Rietdijk
parent 39111279b1
commit 0ffef62eba

View File

@ -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
'';