From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cKgYMyPNBl84BQAA0tVLHw (envelope-from ) for ; Thu, 09 Jul 2020 07:54:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yJ7OLiPNBl9zGAAAbx9fmQ (envelope-from ) for ; Thu, 09 Jul 2020 07:54:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 433649401D0 for ; Thu, 9 Jul 2020 07:54:11 +0000 (UTC) Received: from localhost ([::1]:39770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtRNh-0001qN-Ql for larch@yhetil.org; Thu, 09 Jul 2020 03:54:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtRNa-0001q1-Rv for bug-guix@gnu.org; Thu, 09 Jul 2020 03:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtRNa-0002rf-Iy for bug-guix@gnu.org; Thu, 09 Jul 2020 03:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtRNa-0003cG-Ia for bug-guix@gnu.org; Thu, 09 Jul 2020 03:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42289: recursive import does not dort alphabetically Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Jul 2020 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42289 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42289@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.159428119413840 (code B ref -1); Thu, 09 Jul 2020 07:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2020 07:53:14 +0000 Received: from localhost ([127.0.0.1]:39707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtRMn-0003bA-VP for submit@debbugs.gnu.org; Thu, 09 Jul 2020 03:53:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:38438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtRMm-0003b1-W0 for submit@debbugs.gnu.org; Thu, 09 Jul 2020 03:53:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtRMm-0001kf-NS for bug-guix@gnu.org; Thu, 09 Jul 2020 03:53:12 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:54896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtRMk-0002oW-V7 for bug-guix@gnu.org; Thu, 09 Jul 2020 03:53:12 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4B2T1d5CwPz1qs3P for ; Thu, 9 Jul 2020 09:53:09 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4B2T1d56Cgz1qr4q for ; Thu, 9 Jul 2020 09:53:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ZcAzQ5aZwB7k for ; Thu, 9 Jul 2020 09:53:08 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-55-167.dynamic.mnet-online.de [188.174.55.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Thu, 9 Jul 2020 09:53:08 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6D75560122 for ; Thu, 9 Jul 2020 09:53:10 +0200 (CEST) From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: Date: Thu, 9 Jul 2020 09:53:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/09 03:53:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: u1De0NW4WNOn 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 : $ ./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 |