From 777a4ba508c9500d85f4e6b2d98d15a9da1a01a3 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 27 Oct 2021 02:11:31 -0400 Subject: [PATCH] singularity-tools.buildImage: fix building from non-standard store paths --- pkgs/build-support/singularity-tools/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/singularity-tools/default.nix b/pkgs/build-support/singularity-tools/default.nix index 318f5b430fef..a6a3cd001b4a 100644 --- a/pkgs/build-support/singularity-tools/default.nix +++ b/pkgs/build-support/singularity-tools/default.nix @@ -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