pythonPackages.duckdb: patch out attempted use of git

replace with `false` as its use here is pointless anyway.
This commit is contained in:
Robert Scott 2020-09-04 22:56:43 +01:00
parent 939211bfaf
commit 48ae44b3a2

View file

@ -13,6 +13,13 @@ buildPythonPackage rec {
pname = "duckdb";
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 = ''
cd tools/pythonpkg
export SETUPTOOLS_SCM_PRETEND_VERSION=${version}