python3Packages.databricks-connect: fix build
This commit is contained in:
parent
39111279b1
commit
0ffef62eba
@ -16,8 +16,13 @@ buildPythonPackage rec {
|
|||||||
# requires network access
|
# requires network access
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "py4j==0.10.9" "py4j"
|
||||||
|
'';
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
substituteInPlace "$out/bin/find-spark-home" \
|
substituteInPlace "$out/bin/find-spark-home" \
|
||||||
--replace find_spark_home.py .find_spark_home.py-wrapped
|
--replace find_spark_home.py .find_spark_home.py-wrapped
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user