There appears to be no documentation whatsoever describing nixpkgs.singularity-tools
.
I have managed to build a toy container (with pkgs.hello
) using singularity-tools.buildImage
and run the utility inside it. But when I try to expand this to a real-world use case, I fail, because the application I want to run requires some environment variables to be set.
The Singularity documentation describes how to set environment variables in a definition file, but I cannot see anything in singularity-tools
that caters for setting envvars.
What can I do to get around this problem?