bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47164: Cuirass specification complains about missing guix channel wh


From: Mathieu Othacehe
Subject: bug#47164: Cuirass specification complains about missing guix channel when a non-guix channel gets a new commit alone
Date: Thu, 25 Mar 2021 14:47:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hello David,

>       (build '(manifests . ((my-config . "manifests/user1.scm"))))

I have changed the manifest argument format recently. This should now
be:

--8<---------------cut here---------------start------------->8---
  (build '(manifests "manifests/user"))
--8<---------------cut here---------------end--------------->8---

>       (channels
>        (list (channel
>               (name 'guix)
>               (url "https://git.savannah.gnu.org/git/guix.git";)
>               (branch  "master"))

You should prefer using %default-guix-channel here.

>              (channel
>               (name 'my-config)
>               (url "file:///home/cuirass/my-guixsd-config.sh")
>               ;;(url
>                 "https://github.com/methuselah-0/my-guixsd-config.sh.git";)

The problem is that this repository is not really a channel. When
Cuirass tries to build this channel, it tries to build all the scheme
file as if they were module definitions and fails.

This works for me:

--8<---------------cut here---------------start------------->8---
(list
 (specification
  (name "my-pkgs")
  (build '(manifests "manifests/user"))
  (channels
   (list %default-guix-channel
         (channel
          (name 'my-config)
          (url "https://gitlab.com/mothacehe/test-channel.git";))
         (channel
          (name 'my-guix-packages)
          (url "https://github.com/methuselah-0/my-guix-packages.git";))))))
--8<---------------cut here---------------end--------------->8---

where test-channel is a dummy channel repository that contains your
manifest file.  I removed the .scm extension so that Cuirass does not
try to build it, but I this is not an acceptable solution in the long
term.

We would need to find a way to tell Cuirass not to build this channel or
something like that.

Thanks,

Mathieu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]