about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorYueh-Shun Li <shamrocklee@posteo.net>2023-08-22 18:21:51 +0800
committerYueh-Shun Li <shamrocklee@posteo.net>2023-08-23 18:20:25 +0800
commit7ccd49546562fa11db090ec9d7bfc2b20fae6fbd (patch)
tree609160a5277a67f7078f8612117131b315c68a73 /pkgs
parent0bf9bcd95eaf7d8b9196f52d68be7e0b3f3bc766 (diff)
downloadnixlib-7ccd49546562fa11db090ec9d7bfc2b20fae6fbd.tar
nixlib-7ccd49546562fa11db090ec9d7bfc2b20fae6fbd.tar.gz
nixlib-7ccd49546562fa11db090ec9d7bfc2b20fae6fbd.tar.bz2
nixlib-7ccd49546562fa11db090ec9d7bfc2b20fae6fbd.tar.lz
nixlib-7ccd49546562fa11db090ec9d7bfc2b20fae6fbd.tar.xz
nixlib-7ccd49546562fa11db090ec9d7bfc2b20fae6fbd.tar.zst
nixlib-7ccd49546562fa11db090ec9d7bfc2b20fae6fbd.zip
apptainer, singularity: drop obsolete LOCALSTATEDIR dirs
Leave only the SESSIONDIR, which is "$LOCALSTATEDIR/$projectName/mnt/session"
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/singularity-tools/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/singularity-tools/default.nix b/pkgs/build-support/singularity-tools/default.nix
index 9689e4124590..8d7ad9e742a1 100644
--- a/pkgs/build-support/singularity-tools/default.nix
+++ b/pkgs/build-support/singularity-tools/default.nix
@@ -111,7 +111,7 @@ rec {
             touch .${projectName}.d/env/94-appsbase.sh
 
             cd ..
-            mkdir -p /var/lib/${projectName}/mnt/{container,final,overlay,session,source}
+            mkdir -p /var/lib/${projectName}/mnt/session
             echo "root:x:0:0:System administrator:/root:/bin/sh" > /etc/passwd
             echo > /etc/resolv.conf
             TMPDIR=$(pwd -P) ${projectName} build $out ./img