py-poetry-core GIT_DIR fix (#35139)
This commit is contained in:
parent
0b388ff930
commit
95a76de7d5
@ -24,7 +24,7 @@ class PyPoetryCore(PythonPackage):
|
||||
|
||||
# https://github.com/python-poetry/poetry/issues/5547
|
||||
def setup_build_environment(self, env):
|
||||
env.set("GIT_DIR", self.stage.source_path)
|
||||
env.set("GIT_DIR", join_path(self.stage.source_path, ".git"))
|
||||
|
||||
def setup_dependent_build_environment(self, env, dependent_spec):
|
||||
env.set("GIT_DIR", dependent_spec.package.stage.source_path)
|
||||
env.set("GIT_DIR", join_path(dependent_spec.package.stage.source_path, ".git"))
|
||||
|
Loading…
Reference in New Issue
Block a user