Hi Alex, EB doesn't support the use envvars like this (see https://github.com/easybuilders/easybuild-framework/issues/2548, PRs welcome!). The easy way around it is to use a module footer, for an example see https://earth.bsc.es/gitlab/ces/easybuild-easyconfigs/-/commit/dbd9e8819a03aef8721767d2fde726ac57d9063e
Alan On Wed, 25 May 2022 at 19:13, Strube, Alexandre <[email protected]> wrote: > When I load one module, I want it to expand the MODULEPATH variable to > have an extra directory. > > On the easyconfig I try this: > > modextrapaths = { > 'MODULEPATH': ":$HOME/easybuild/$SYSTEMNAME/modules/containers", > } > > which will fail, as the contents of $HOME and $SYSTEMNAME are not replaced > by the environment ones, so I don’t know how to force it on the easyconfig. > > Any hints? > > > Alex >

