Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
singularity-tools: Only copy into /bin what is specified in contents #30479
Motivation for this change
Currently singularity-tools will try to copy the bin contents of the entire transitive closure of packages requested for the singularity container. This can cause unimportant collisions between binaries that the user didn't intend to be installed in the PATH anyway. This patch makes it so that while the entire /nix/store is copied into the container, only the requested contents are exposed in /bin.