summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfinkandreas <finkandreas@web.de>2022-12-15 00:00:21 +0100
committerGitHub <noreply@github.com>2022-12-15 00:00:21 +0100
commit2db38bfa382203fb9729f701c5ba9f27d91c845a (patch)
tree60de71add45e074c0d054c077679a7ed8613cb51
parentea029442e6e775b0542699bdc6d8f34e1ac5b248 (diff)
downloadspack-2db38bfa382203fb9729f701c5ba9f27d91c845a.tar.gz
spack-2db38bfa382203fb9729f701c5ba9f27d91c845a.tar.bz2
spack-2db38bfa382203fb9729f701c5ba9f27d91c845a.tar.xz
spack-2db38bfa382203fb9729f701c5ba9f27d91c845a.zip
py-archspec: replace removed .build_directory with .stage.source_path (#34521)
-rw-r--r--var/spack/repos/builtin/packages/py-archspec/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-archspec/package.py b/var/spack/repos/builtin/packages/py-archspec/package.py
index ac9b3d3cce..2451ffe012 100644
--- a/var/spack/repos/builtin/packages/py-archspec/package.py
+++ b/var/spack/repos/builtin/packages/py-archspec/package.py
@@ -30,7 +30,7 @@ class PyArchspec(PythonPackage):
def patch(self):
# See https://python-poetry.org/docs/pyproject/#poetry-and-pep-517
- with working_dir(self.build_directory):
+ with working_dir(self.stage.source_path):
if self.spec.satisfies("@:0.1.3"):
filter_file("poetry>=0.12", "poetry_core>=1.0.0", "pyproject.toml")
filter_file("poetry.masonry.api", "poetry.core.masonry.api", "pyproject.toml")