singularity-tools.buildImage: fix building from non-standard store paths

This commit is contained in:
Dmitry Kalinkin 2021-10-27 02:11:31 -04:00
parent 22a500a3f8
commit 777a4ba508
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -73,7 +73,7 @@ rec {
''}
# Build /bin and copy across closure
mkdir -p bin nix/store
mkdir -p bin ./${builtins.storeDir}
for f in $(cat $layerClosure) ; do
cp -ar $f ./$f
done