unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Package variant defined in manifest not visible by Guix
@ 2021-08-16  8:08 Philippe SWARTVAGHER
  2021-08-16 12:04 ` Efraim Flashner
  2021-08-16 14:34 ` Ricardo Wurmus
  0 siblings, 2 replies; 6+ messages in thread
From: Philippe SWARTVAGHER @ 2021-08-16  8:08 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-18 13:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-16  8:08 Package variant defined in manifest not visible by Guix Philippe SWARTVAGHER
2021-08-16 12:04 ` 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

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).