Modify CUDA EasyBuild hook for other scenarios
There are a couple of cases where the EESSI EB hook for CUDA is causing problems:
-
If it is used for user installations of CUDA it will cause problems -
It cannot be used with --module-only
(we can fix this by fixing where we apply the hook, and this is ok since we are guaranteed thehost_injections
installation exists in our own builds)
Edited by Lara Ramona Peeters