unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Philippe SWARTVAGHER <philippe.swartvagher@inria.fr>
To: help-guix@gnu.org
Subject: Package variant defined in manifest not visible by Guix
Date: Mon, 16 Aug 2021 10:08:34 +0200	[thread overview]
Message-ID: <12b2c37e-7389-d46a-8938-51b3285fd97c@inria.fr> (raw)

Hello,

I'm trying to use a manifest file to define a package variant which adds
an option to the configure phase:

```

(use-modules (inria storm))

(define starpu-maxnodes1
  (package
    (inherit starpu)
    (arguments
      (substitute-keyword-arguments (package-arguments starpu)
                                    ((#:configure-flags flags '())
                                     `(cons "--enable-maxnodes=1"
,flags))))))

```

When I'm trying to build this variant, guix can't find it:

```

% guix build -c 2 -m starpu-maxnodes1.scm starpu-maxnodes1
guix build: erreur : starpu-maxnodes1 : paquet inconnu

```

I don't see what I'm doing wrong. Any idea ?

Just if you want to try these exact commands, StarPU is a package
defined in this channel:

```

(channel
        (name 'guix-hpc)
        (url "https://gitlab.inria.fr/guix-hpc/guix-hpc.git")
        (commit
          "fa8cc70bc428c08a625a533f778537314be64ce7"))

```

(I didn't subscribe to help-guix mailing list, so please keep me as
recipient of your answers.)

-- 
Philippe SWARTVAGHER

PhD Student
TADaaM team, Inria Bordeaux Sud-Ouest


             reply	other threads:[~2021-08-16  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16  8:08 Philippe SWARTVAGHER [this message]
2021-08-16 12:04 ` Package variant defined in manifest not visible by Guix Efraim Flashner
2021-08-16 14:34 ` Ricardo Wurmus
2021-08-17  7:17   ` zimoun
2021-08-18  8:57   ` Philippe SWARTVAGHER
2021-08-18 13:21     ` 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=12b2c37e-7389-d46a-8938-51b3285fd97c@inria.fr \
    --to=philippe.swartvagher@inria.fr \
    --cc=help-guix@gnu.org \
    /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.
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).