3
0
Fork 0
forked from mirrors/nixpkgs

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,6 +16,11 @@ buildPythonPackage rec {
# requires network access
doCheck = false;
prePatch = ''
substituteInPlace setup.py \
--replace "py4j==0.10.9" "py4j"
'';
preFixup = ''
substituteInPlace "$out/bin/find-spark-home" \
--replace find_spark_home.py .find_spark_home.py-wrapped