about summary refs log tree commit diff
path: root/pkgs/build-support/singularity-tools/default.nix
diff options
context:
space:
mode:
authorYueh-Shun Li <shamrocklee@posteo.net>2023-08-22 18:05:31 +0800
committerYueh-Shun Li <shamrocklee@posteo.net>2023-08-23 18:40:20 +0800
commitac776695313a2da0ee99ba328da474f606a7a9d9 (patch)
tree89254d1edc3cc0f6abd74057fb082d7e4bd025f1 /pkgs/build-support/singularity-tools/default.nix
parent7ccd49546562fa11db090ec9d7bfc2b20fae6fbd (diff)
apptainer, singularity: make LOCALSTATEDIR internal by default
Use "$out/var/lib" as LOCALSTATEDIR configuration value
by default intsead of "/var/lib"
as a way toward top-level-directory independent runtime.

Add input argument externalLocalStateDir to optionally specify the
path to external LOCALSTATEDIR if not null.

Add NixOS module option
programs.singularity.enableExternalLocalStateDir (default to true)
to use "/var/lib" as LOCALSTATEDIR.
Diffstat (limited to 'pkgs/build-support/singularity-tools/default.nix')
0 files changed, 0 insertions, 0 deletions