From 56c685e3740a60d3e6102191abebcc1f338a5e36 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 23 Jan 2025 22:32:48 +0100 Subject: [PATCH] compiler-wrapper: install in libexec/spack instead of spack/bin --- var/spack/repos/builtin/packages/compiler-wrapper/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/compiler-wrapper/package.py b/var/spack/repos/builtin/packages/compiler-wrapper/package.py index 59ca1c111bd..a5cbb1190ea 100644 --- a/var/spack/repos/builtin/packages/compiler-wrapper/package.py +++ b/var/spack/repos/builtin/packages/compiler-wrapper/package.py @@ -51,8 +51,8 @@ class CompilerWrapper(Package): def bin_dir(self) -> pathlib.Path: # This adds an extra "spack" subdir, so that the script and symlinks don't get - # their way to the default view /bin directory in environment - return pathlib.Path(str(self.prefix)) / "spack" / "bin" + # their way to the default view + return pathlib.Path(str(self.prefix)) / "libexec" / "spack" def install(self, spec, prefix): if sys.platform == "win32":