Hi,

Andy Tai <a...@atai.org> skribis:

> ----guix.scm---
> (use-modules (guix packages)
>    ....)
>
> (define-public d2-0.1.4
>    (package
>        (name "d2")
>        (version "0.1.4")
>
>    ...
> )
>
>
> (define-public my-package
>    (package
>       (name "my-package")
>       (version "0.1")
>      ...
>
>
>      (input (list d1 d2-0.1.4 d3...)
>     ....
> ))
>
> my-package
>
> ---end guix.scm--
>
>
> and if I use
>
> guix shell -f -d ./guix.scm
>
> this does not seem to generate an environment that contains the new
> dependency, that is d2 version 0.1.4

‘guix shell -f guix.scm’ generates an environment that contains the
package returned by ‘guix.scm’.

Conversely, ‘guix shell -D -f guix.scm’ produces the development
environment of the package returned by ‘guix.scm’.

HTH!

Ludo’.

Reply via email to