~whereiseveryone/toys

97a43fc5e108124e842dd5706b4ccadbdbbaae19 — unwox a month ago f77c3aa
Support codeberg links
2 files changed, 4 insertions(+), 1 deletions(-)

M channels.scm
M guix/extensions/toys.scm
M channels.scm => channels.scm +1 -1
@@ 462,7 462,7 @@
             (name 'wigust)
             (url "https://notabug.org/wigust/guix-wigust"))))
  (toys-box
   (forge "gitea")
   (forge "codeberg")
   (channel (channel
             (name 'kakafarm)
             (url "https://codeberg.org/kakafarm/guix-kakafarm-channel"))))

M guix/extensions/toys.scm => guix/extensions/toys.scm +3 -0
@@ 338,6 338,9 @@ from BOXES into it."
        ((equal? forge "gogs")
         (format #f "~a/src/~a/~a#L~d"
                 base-url ref file lineno))
        ((equal? forge "codeberg")
         (format #f "~a/src/branch/~a/~a#L~d"
                 base-url ref file lineno))
        (else #f))
      #f)))