apptainer, singularity: fix wrapper PATH prefix
Fix the missing trailing /bin in f6e7fcc
This commit is contained in:
parent
11a10a9c49
commit
466e154fb2
|
@ -204,7 +204,7 @@ in
|
|||
substituteInPlace "$out/bin/run-singularity" \
|
||||
--replace "/usr/bin/env ${projectName}" "$out/bin/${projectName}"
|
||||
wrapProgram "$out/bin/${projectName}" \
|
||||
--prefix PATH : "''${defaultPathInputs// /\/bin:}"
|
||||
--prefix PATH : "''${defaultPathInputs// /\/bin:}''${defaultPathInputs:+/bin:}"
|
||||
# Make changes in the config file
|
||||
${lib.optionalString enableNvidiaContainerCli ''
|
||||
substituteInPlace "$out/etc/${projectName}/${projectName}.conf" \
|
||||
|
|
Loading…
Reference in a new issue