diff --git a/src/config/config.cpp.in b/src/config/config.cpp.in index 1c6a43865..ab33ed6b0 100644 --- a/src/config/config.cpp.in +++ b/src/config/config.cpp.in @@ -81,7 +81,7 @@ std::string maybe_from_env(const std::string& varname) { } -const std::string nmodl::PathHelper::NMODL_HOME = maybe_from_env("NMODL_HOME"); +const std::string nmodl::PathHelper::NMODL_HOME = maybe_from_env("NMODLHOME"); std::string nmodl::PathHelper::get_path(const std::string& what, bool is_library) { std::vector search_paths = BASE_SEARCH_PATHS;