From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>, Ricardo Wurmus <rekado@elephly.net>
Subject: GUIX_EXTENSIONS_PATH error?
Date: Fri, 15 Jan 2021 21:33:15 +0100 [thread overview]
Message-ID: <86k0sekkj8.fsf@gmail.com> (raw)
Hi,
In the mood for documenting the recent GUIX_EXTENSIONS_PATH, I am
missing something because I hit an error. Before diving, maybe my
daily coffee dose is not enough…
--8<---------------cut here---------------start------------->8---
$ cat /tmp/foo/bar.scm
(define-module (guix extensions bar)
#:use-module (guix scripts))
(define-command (guix-bar . args)
(category extension)
(synopsis "a bar with beers")
(pk "dumb"))
$ export GUIX_EXTENSIONS_PATH=/tmp/foo
$ guix --help
Usage: guix COMMAND ARGS...
Run COMMAND with ARGS.
COMMAND must be one of the sub-commands listed below:
Backtrace:
4 (primitive-load "/home/simon/.config/guix/current/bin/guix")
In ice-9/boot-9.scm:
1731:15 3 (with-exception-handler #<procedure 7f13f2064b70 at ice-9/boot-9.scm:1815:7 (exn)> _ # _ …)
In guix/ui.scm:
2105:20 2 (show-guix-help)
In srfi/srfi-1.scm:
691:23 1 (filter-map #<procedure source-file-command (file)> _ . _)
In guix/ui.scm:
2023:2 0 (source-file-command _)
guix/ui.scm:2023:2: In procedure source-file-command:
Throw to key `match-error' with args `("match" "no matching pattern" ("tmp" "foo" "bar.scm"))'.
--8<---------------cut here---------------end--------------->8---
What do I miss?
All the best,
simon
next reply other threads:[~2021-01-15 20:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 20:33 zimoun [this message]
2021-01-15 20:45 ` GUIX_EXTENSIONS_PATH error? Ricardo Wurmus
2021-01-15 20:55 ` zimoun
2021-01-15 22:24 ` Ricardo Wurmus
2021-01-15 22:32 ` zimoun
2021-01-15 22:42 ` Ricardo Wurmus
2021-01-15 22:58 ` zimoun
2021-01-15 23:17 ` Ricardo Wurmus
2021-01-16 1:49 ` zimoun
2021-02-01 7:41 ` GUIX_EXTENSIONS_PATH pattern zimoun
2021-02-08 22:37 ` Ricardo Wurmus
2021-02-09 0:40 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86k0sekkj8.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.