pythonPackages.duckdb: patch out attempted use of git
replace with `false` as its use here is pointless anyway.
This commit is contained in:
parent
939211bfaf
commit
48ae44b3a2
@ -13,6 +13,13 @@ buildPythonPackage rec {
|
|||||||
pname = "duckdb";
|
pname = "duckdb";
|
||||||
inherit (duckdb) version src;
|
inherit (duckdb) version src;
|
||||||
|
|
||||||
|
# build attempts to use git to figure out its own version. don't want to add
|
||||||
|
# the dependency for something pointless.
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace scripts/package_build.py --replace \
|
||||||
|
"'git'" "'false'"
|
||||||
|
'';
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
cd tools/pythonpkg
|
cd tools/pythonpkg
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user