singularity-tools: add bashInteractive and runScript into layerClosure

This commit is contained in:
Yueh-Shun Li 2024-08-11 13:22:02 +08:00
parent 1c2fe4f05e
commit 3ca6a8c60e

View File

@ -82,7 +82,13 @@ rec {
util-linux
];
strictDeps = true;
layerClosure = writeClosure contents;
layerClosure = writeClosure (
[
bashInteractive
runScriptFile
]
++ contents
);
preVM = vmTools.createEmptyImage {
size = diskSize;
fullName = "${projectName}-run-disk";