apptainer.gpuChecks.saxpy: fix the eval
Without the change the eval fails as: $ nix build --no-link -f. apptainer.gpuChecks.saxpy error: error: attribute 'image-saxpy' missing at pkgs/applications/virtualization/singularity/generic.nix:303:72: 302| '' 303| ${lib.getExe finalAttrs.finalPackage} exec --nv $@ ${finalAttrs.passthru.tests.image-saxpy} saxpy | ^ 304| '';
This commit is contained in:
parent
6165a71162
commit
7dde9fa428
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ in
|
||||||
let
|
let
|
||||||
unwrapped = writeShellScriptBin "apptainer-cuda-saxpy"
|
unwrapped = writeShellScriptBin "apptainer-cuda-saxpy"
|
||||||
''
|
''
|
||||||
${lib.getExe finalAttrs.finalPackage} exec --nv $@ ${finalAttrs.passthru.tests.image-saxpy} saxpy
|
${lib.getExe finalAttrs.finalPackage} exec --nv $@ ${finalAttrs.passthru.gpuChecks.image-saxpy} saxpy
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
runCommand "run-apptainer-cuda-saxpy"
|
runCommand "run-apptainer-cuda-saxpy"
|
||||||
|
|
Loading…
Reference in a new issue