all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 70715@debbugs.gnu.org
Subject: [bug#70715] [PATCH 1/4] guix: Indent cargo-development-inputs.
Date: Thu,  2 May 2024 14:58:57 +0200	[thread overview]
Message-ID: <20240502125900.15177-1-herman@rimm.ee> (raw)
In-Reply-To: <20240502125700.15062-1-herman@rimm.ee>

* guix/import/crate.scm (make-crate-sexp): Swap cargo-development-inputs
and cargo-inputs.
* guix/read-print.scm (%newline-forms): Add #:cargo-development-inputs.

Change-Id: I54a8c1934381cdb25b6d05e503d2bd2315d010b6
---
 guix/import/crate.scm | 4 ++--
 guix/read-print.scm   | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/guix/import/crate.scm b/guix/import/crate.scm
index 7a25b2243c..81e442141b 100644
--- a/guix/import/crate.scm
+++ b/guix/import/crate.scm
@@ -207,9 +207,9 @@ (define (format-inputs inputs)
                    ,@(maybe-arguments (append (if build?
                                                  '()
                                                  '(#:skip-build? #t))
-                                              (maybe-cargo-inputs cargo-inputs)
                                               (maybe-cargo-development-inputs
-                                                cargo-development-inputs)))
+                                                cargo-development-inputs)
+                                              (maybe-cargo-inputs cargo-inputs)))
                    (home-page ,home-page)
                    (synopsis ,synopsis)
                    (description ,(beautify-description description))
diff --git a/guix/read-print.scm b/guix/read-print.scm
index 6421b79737..80662f7189 100644
--- a/guix/read-print.scm
+++ b/guix/read-print.scm
@@ -365,6 +365,7 @@ (define %newline-forms
    ('git-reference '(uri origin source))
    ('sha256 '(origin source package))
    ('arguments '(package))
+   ('#:cargo-development-inputs '(arguments))
    ('list '(arguments package))
    ('search-paths '(package))
    ('native-search-paths '(package))
-- 
2.41.0





  reply	other threads:[~2024-05-02 13:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 12:57 [bug#70715] [PATCH 0/4] Change imported crate style Herman Rimm via Guix-patches via
2024-05-02 12:58 ` Herman Rimm via Guix-patches via [this message]
2024-05-02 12:58   ` [bug#70715] [PATCH 2/4] guix: Beautify crate importer synopses Herman Rimm via Guix-patches via
2024-05-02 12:58   ` [bug#70715] [PATCH 3/4] guix: Include a main verb in crate importer descriptions Herman Rimm via Guix-patches via
2024-05-02 12:59   ` [bug#70715] [PATCH 4/4] guix: End package descriptions with period Herman Rimm via Guix-patches via
2024-05-12 19:08 ` [bug#70715] [PATCH v2 0/3] Change imported crate style Herman Rimm via Guix-patches via
2024-05-12 19:08   ` [bug#70715] [PATCH v2 1/3] guix: Beautify crate importer synopses Herman Rimm via Guix-patches via
2024-05-12 19:08   ` [bug#70715] [PATCH v2 2/3] guix: Include a main verb in crate importer descriptions Herman Rimm via Guix-patches via
2024-06-03 20:38     ` Ludovic Courtès
2024-05-12 19:08   ` [bug#70715] [PATCH v2 3/3] guix: End package descriptions with period Herman Rimm via Guix-patches via
2024-06-03 20:39     ` Ludovic Courtès
2024-06-03 20:37   ` bug#70715: [PATCH v2 0/3] Change imported crate style Ludovic Courtès

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=20240502125900.15177-1-herman@rimm.ee \
    --to=guix-patches@gnu.org \
    --cc=70715@debbugs.gnu.org \
    --cc=herman@rimm.ee \
    /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.