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
1 changed files with 7 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue