From cfd7ed897aa60a89815e4856c69216c7cab5261a Mon Sep 17 00:00:00 2001
From: Martin Lang <martin.lang@mpsd.mpg.de>
Date: Thu, 27 Feb 2025 10:38:22 +0100
Subject: [PATCH] Typo

---
 src/mpsd_software_manager/spack.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mpsd_software_manager/spack.py b/src/mpsd_software_manager/spack.py
index 55e52c6..c2a13d7 100644
--- a/src/mpsd_software_manager/spack.py
+++ b/src/mpsd_software_manager/spack.py
@@ -379,8 +379,8 @@ def refresh_modules(compilers: dict[str, Any] | None = None) -> None:
         return
 
     for module_file in modules_to_patch:
-        gcc_module = modules_to_patch["module_file"]["gcc_module"]
-        family = modules_to_patch["module_file"]["family"]
+        gcc_module = modules_to_patch[module_file]["gcc_module"]
+        family = modules_to_patch[module_file]["family"]
         patch_intel_module(Path(module_file), gcc_module, family)
 
 
-- 
GitLab