From c49e2e56208e12e3d816116f7c8a8a130fd78beb Mon Sep 17 00:00:00 2001 From: "John W. Parent" <45471568+johnwparent@users.noreply.github.com> Date: Thu, 2 Feb 2023 19:34:35 -0500 Subject: [PATCH] NMake builder: fix incorrect variable reference (#34937) --- lib/spack/spack/build_systems/nmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/build_systems/nmake.py b/lib/spack/spack/build_systems/nmake.py index b5e93755c5d..7b0f7f18baf 100644 --- a/lib/spack/spack/build_systems/nmake.py +++ b/lib/spack/spack/build_systems/nmake.py @@ -92,7 +92,7 @@ def makefile_root(self): This path is relative to the root of the extracted tarball, not to the ``build_directory``. Defaults to the current directory. """ - return self.stage.source_dir + return self.stage.source_path @property def nmakefile_name(self):