Merge pull request #143079 from veprbl/pr/singularity_nonstd_store

singularity-tools.buildImage: fix building from non-standard store paths
This commit is contained in:
Dmitry Kalinkin 2021-11-10 16:04:30 -05:00 committed by GitHub
commit 4af5e02055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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