diff options
-rw-r--r-- | pkgs/build-support/singularity-tools/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/build-support/singularity-tools/default.nix b/pkgs/build-support/singularity-tools/default.nix index 5179f47eaa5e..f9b4c8a7fd35 100644 --- a/pkgs/build-support/singularity-tools/default.nix +++ b/pkgs/build-support/singularity-tools/default.nix @@ -74,7 +74,10 @@ rec { mkdir -p bin nix/store for f in $(cat $layerClosure) ; do cp -ar $f ./$f - for f in $f/bin/* ; do + done + + for c in ${toString contents} ; do + for f in $c/bin/* ; do if [ ! -e bin/$(basename $f) ] ; then ln -s $f bin/ fi |