buildFHSUserEnv extraInstallCommands with path-redirect?

Hey, I am trying to prepare an FHS User environment to get micromamba running for a data-science python project (poetry2nix is not an option).

It works when I put all of the commands within the profile section of the buildFHSUserEnv, but as the installation of the packages takes forever and the data of the sandbox is dropped after the child-process exists, I would like to put the package installation step inside of the extraInstallCommands section. But the binary (micromamba) has hardcoded paths to the system certificates. Is there a way to ‘re-direct’ the directory call to /etc/ssl to the directory of the FHS environment?
Or is it only possible to fix the hard-coded values upstream?


1 Like