From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 42289@debbugs.gnu.org
Subject: bug#42289: recursive import does not dort alphabetically
Date: Thu, 9 Jul 2020 09:53:05 +0200 [thread overview]
Message-ID: <e71b3b30-c81a-bc64-d7e9-409d588ebde6@crazy-compilers.com> (raw)
In most gnu/packages/*.scm files are (expected to be) sorted alphabetically.
Now when importing some packages recursivly, packages are output in
order of the dependency graph, thus authors need to sort them manually.
Example (requires the hex.pm importer from
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42180>:
$ ./pre-inst-env guix import hexpm -r idna | grep define-public
(define-public erlang-unicode-util-compat
(define-public erlang-idna
$ ./pre-inst-env guix import hexpm -r idna | grep define-public |
LC_ALL=C sort --check
sort: -:2: disorder: (define-public erlang-idna
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
next reply other threads:[~2020-07-09 7:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 7:53 Hartmut Goebel [this message]
2020-07-09 9:36 ` bug#42289: recursive import does not dort alphabetically zimoun
2020-07-09 11:26 ` Hartmut Goebel
2020-07-09 14:02 ` zimoun
2020-07-09 17:39 ` Leo Famulari
2020-07-15 19:10 ` Hartmut Goebel
2020-07-16 11:35 ` zimoun
2020-07-16 11:41 ` Julien Lepiller
2020-07-16 18:23 ` Leo Famulari
2022-03-08 9:19 ` 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=e71b3b30-c81a-bc64-d7e9-409d588ebde6@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=42289@debbugs.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.
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.