Skip to content

Command not found error after building singularity image with conda/pixi:v1, works with default template #1009

@mashehu

Description

@mashehu

Using the following environment.yml

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json
channels:
  - conda-forge
  - bioconda
dependencies:
  - bioconda::minia=3.2.6=h22625ea_6

and building wave --conda-file environment.yml --freeze --platform linux/amd64 -o yaml --build-template conda/pixi:v1 --await

results in succesfull build: https://wave.seqera.io/view/builds/bd-76d52cb6ee1975cc_1

but when I try to run the command minia inside, I get a 127 exit status

 
  ERROR ~ Error executing process > 'MINIA (test)'
  
  Caused by:
    Unable to evaluate output
  
  
  Command executed:
  
    minia -v
  
  Command exit status:
    127
  
  Command output:
    bash: line 1: minia: command not found

Minimal reproducible example: This PR and running nf-test test --profile singularity --tag minia with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions