[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R packages do not show up as requisites
From: |
Ludovic Courtès |
Subject: |
Re: R packages do not show up as requisites |
Date: |
Sat, 05 Mar 2016 00:30:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Pjotr Prins <address@hidden> skribis:
> Funny thing,
>
> guix gc -R path
>
> on a package that has python modules and R packages as inputs only the
> python inputs show up. Try for example r-munsell which has
> r-colorspace as an input:
>
> ./pre-inst-env guix package -i r-munsell
>
> r-munsell 0.4.2 → 0.4.2
> /gnu/store/kwhzqrpcm8agl8q2v9n19rss060xs2j4-r-munsell-0.4.2
>
> ./pre-inst-env guix gc -R
> /gnu/store/kwhzqrpcm8agl8q2v9n19rss060xs2j4-r-munsell-0.4.2
>
> Niente, nop, nada.
That’s because r-munsell does not explicitly refer to r-colorspace.
Instead, r-colorspace is a propagated input of r-munsell, and propagated
inputs are something taken into account when building the profile (see
the ‘manifest’ file in there), but not other at the lower levels.
> My problem is now that 'guix archive' won't include R modules because
> they are not listed as requisites.
>
> Is there an easy fix?
You could do, say:
guix package -i r-munsell -p foo
guix archive --export $(readlink foo) > t.nar
HTH!
Ludo’.