[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: guix-based installation of pigx-rnaseq - works



Hi,

On Tue, 23 Feb 2021 at 21:28, Steffen Möller <steffen.moeller@uni-rostock.de> wrote:

> sudo apt-get install guix
> guix install pigx-rnaseq

Thanks Vagrant! :-)
And if I may, I would recommend this Debconf track:
<https://debconf18.debconf.org/talks/99-my-crush-on-gnu-guix/>


> We keep mentioning conda also the time, while guix is somewhat left
> aside, but https://guix.gnu.org/packages/ is truly impressive. Somewhat
> annoying, if we ever decide to also reference guix packages in
> d/u/metadata, then there are only versioned web pages like
> https://guix.gnu.org/de/packages/bc-1.07.1/, so we would only have
> moving targets point to.

What do you mean exactly?


> I had tried in vain to create a dockerfile with this setup which gets a
> permission error in the moment that the installation of the packages
> starts:

To create a Docker image, instead of going through Dockerfile, you could
use:

  guix pack -f docker pigx-rnaseq

(plus maybe some other options, for reference:
<https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-pack>)


Well, from my point of view, the issue with this snippet

> FROM debian:unstable
> ENV TERM=xterm
> RUN apt-get update -qq
> RUN apt-get install -y guix
> #RUN (/usr/bin/guix-daemon --build-users-group=_guixbuild & ) && guix
> install pigx-rnaseq
> #RUN (/usr/bin/guix-daemon & ) && guix install pigx-rnaseq # too big to fail

is that it is not reproducible, first because of ’apt-get update’ then
second because the Guix version is not tracked.  Other said, it will be
hard nor impossible to rebuild the exact same image.  Instead,

 guix time-machine --commit=12345 -- pack -f docker pix-rnaseq --save-provenance

seems better, IMHO.  However, going via debuerreotype would be another
option. :-)


About the ’vim’ fails, see <http://issues.guix.gnu.org/issue/46642#2>.
The Guix CI does not have a concept of “stable” or “testing” and time to
time a Sid commit breaks master. :-)



All the best,
simon


Reply to: