psychoinformatics-de / datalad-debian

DataLad extension for working with Debian packages and package repositories
Other
2 stars 5 forks source link

add nonfree singularity template #97

Closed adswa closed 2 years ago

adswa commented 2 years ago

I'm trying to see what it takes to create a build environment for contrib or nonfree packages. In this PR, I just added a line into the recipe that contains 'nonfree' and 'contrib' in /etc/apt/sources.list as well. Is this enough, and if not, what else is missing?

adswa commented 2 years ago

I was able to build a nonfree package (pynliner) with this template.

aqw commented 2 years ago

As far as I am aware, just adding contrib and nonfree should be sufficient. And that's only if they even need deps from those sections.

I think this simple change is all that is needed. Perhaps @mih knows something I don't.

adswa commented 2 years ago

The one inconvenient thing is that with the current naming of built environments the non-free and default template result in a the same container name. It is singularity-amb64.sif for both templates for me. Filed #100.

adswa commented 2 years ago

closing in favor of #108