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