singularity-tools: fix singularity run with bashInteractive
This commit is contained in:
parent
ae8017ec0b
commit
c2fa248bca
@ -10,7 +10,7 @@
|
||||
e2fsprogs,
|
||||
util-linux,
|
||||
# Build inputs
|
||||
bash,
|
||||
bashInteractive,
|
||||
runtimeShell,
|
||||
singularity,
|
||||
storeDir ? builtins.storeDir,
|
||||
@ -105,7 +105,7 @@ rec {
|
||||
|
||||
# Create runScript and link shell
|
||||
if [ ! -e bin/sh ]; then
|
||||
ln -s ${runtimeShell} bin/sh
|
||||
ln -s ${lib.getExe bashInteractive} bin/sh
|
||||
fi
|
||||
mkdir -p .singularity.d
|
||||
ln -s ${runScriptFile} .singularity.d/runscript
|
||||
|
Loading…
Reference in New Issue
Block a user