unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Brice Waegeneire <brice@waegenei.re>
Cc: 48082@debbugs.gnu.org
Subject: bug#48082: “guix environment -l” does not work with inferior packages
Date: Sun, 01 Aug 2021 18:07:55 +0200	[thread overview]
Message-ID: <87pmux5esk.fsf@elephly.net> (raw)
In-Reply-To: <87mtq1i77q.fsf@waegenei.re>


Brice Waegeneire <brice@waegenei.re> writes:

> Hello Ricardo,
>
> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> I wanted to use an environment file that contains a package 
>> definition, and use it with inferiors.  Here is the full 
>> guix.scm:
>>
>> [...]
>>
>> The idea was that you would use the provided channels with
>>
>>     USE_GUIX_INFERIOR=t guix environment -l guix.scm
>>
>> Unfortunately, this does not work, but there also is no error. 
>> I 
>> end up in an environment where none of the declared inputs are 
>> available.  That’s because (guix scripts environments) has no 
>> facilities to deal with packages that are of type 
>> <inferior-package>.
>
> Unfortunatly the environment file isn't self contained (VERSION 
> and the
> package source are missing), so I couldn't reproduce your issue.

This example was taken from the source code here:

    https://github.com/BIMSBbioinfo/pigx_sarscov2_ww/blob/main/manifest.scm
    https://github.com/BIMSBbioinfo/pigx_sarscov2_ww/blob/main/guix.scm

-- 
Ricardo




  reply	other threads:[~2021-08-01 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 16:19 bug#48082: “guix environment -l” does not work with inferior packages Ricardo Wurmus
2021-08-01 14:13 ` Brice Waegeneire
2021-08-01 16:07   ` Ricardo Wurmus [this message]
2021-08-01 21:12     ` bug#48082: [PATCH] environment: Add support for <inferior-package> Brice Waegeneire
2021-08-17 10:01       ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmux5esk.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=48082@debbugs.gnu.org \
    --cc=brice@waegenei.re \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).