unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Distopico <distopico@riseup.net>, 64720@debbugs.gnu.org
Subject: [bug#64720] [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer.
Date: Sat, 29 Jul 2023 20:44:39 +0200	[thread overview]
Message-ID: <712b78e8a1d4ca99fa1aa2efc5d0220907f19b96.camel@gmail.com> (raw)
In-Reply-To: <20230719022804.19613-1-distopico@riseup.net>

Am Dienstag, dem 18.07.2023 um 21:26 -0500 schrieb Distopico:
> Fixes build of rust-analyzer version 2022-01-10 that requires pined
pinned
> version of rust-notify which is `rust-notify-pre.13`.
> 
> I'm working to update `rust-analizer` to 2023-07-17 but it require
> add more
Please stick to one spelling of rust-analyzer.  Also, comments that
shouldn't end up in the commit messages go below the "---" line.
> packages and update other, it's a WIP but for now this is just to fix
> the build.
> 
> * gnu/packages/crates-io.scm (rust-notify-5-pre.13): New variable.
> * gnu/packages/rust-apps.scm
The ChangeLog here is incomplete.  Also, I'm pretty sure this would be
a two-patch series.
> ---
>  gnu/packages/crates-io.scm | 13 +++++++++++++
>  gnu/packages/rust-apps.scm |  2 +-
>  2 files changed, 14 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index f9574e2797..5dd9e0d349 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -38927,6 +38927,19 @@ (define-public rust-notify-5
>  notification library.")
>      (license (list license:cc0 license:artistic2.0))))
>  
> +(define-public rust-notify-5-pre.13
> +  (package
> +    (inherit rust-notify-5)
> +    (name "rust-notify")
> +    (version "5.0.0-pre.13")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (crate-uri "notify" version))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +               
> "0za8mpacxkr62fii5h7ny4h396y0m8myd3hf08njqdg2h21kap94"))))))
> +
LGTM, but idk anything about rust.
>  (define-public rust-notify-4
>    (package
>      (inherit rust-notify-5)
> diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
> index 8c29969712..0571af498c 100644
> --- a/gnu/packages/rust-apps.scm
> +++ b/gnu/packages/rust-apps.scm
> @@ -1775,7 +1775,7 @@ (define-public rust-analyzer
>          ("rust-memmap2" ,rust-memmap2-0.5)
>          ("rust-mimalloc" ,rust-mimalloc-0.1)
>          ("rust-miow" ,rust-miow-0.4)
> -        ("rust-notify" ,rust-notify-5)
> +        ("rust-notify" ,rust-notify-5-pre.13)
>          ("rust-object" ,rust-object-0.28)
>          ("rust-once-cell" ,rust-once-cell-1)
>          ("rust-parking-lot" ,rust-parking-lot-0.11)
Same here.

Cheers




  reply	other threads:[~2023-07-29 18:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19  2:26 [bug#64720] [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer Distopico
2023-07-29 18:44 ` Liliana Marie Prikler [this message]
2023-08-05  2:27   ` [bug#64720] [PATCH 0/2] Fix build of rust-analyzer v2022-01-10 Distopico
2023-08-05  2:40   ` [bug#64720] [PATCH 1/2] gnu: Add rust-notify-5-pre.13 Distopico
2023-08-05  2:40     ` [bug#64720] [PATCH 2/2] gnu: rust-analyzer: Fix build of version 2022-01-10 Distopico
2023-08-16 21:09       ` [bug#64720] [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer Ludovic Courtès
2023-08-30 20:34         ` Distopico
2023-08-30 19:50 ` [bug#64720] [PATCH 0/8] " Distopico
2023-08-30 19:58 ` [bug#64720] [PATCH v2 1/8] gnu: Add rust-notify-5-pre.13 Distopico
2023-08-30 19:58   ` [bug#64720] [PATCH v2 2/8] gnu: rust-analyzer: Fix build of version 2022-01-10 Distopico
2023-08-30 19:58   ` [bug#64720] [PATCH v2 3/8] gnu: Add rust-either-1.6.0 Distopico
2023-08-30 19:58   ` [bug#64720] [PATCH v2 4/8] gnu: Add rust-proc-macro2-1.0.34 Distopico
2023-08-30 19:58   ` [bug#64720] [PATCH v2 5/8] gnu: Add rust-quote-1.0.10 Distopico
2023-08-30 19:58   ` [bug#64720] [PATCH v2 6/8] gnu: Add rust-serde-json-1.0.73 Distopico
2023-08-30 19:58   ` [bug#64720] [PATCH v2 7/8] gnu: Add rust-trybuild-1.0.19 Distopico
2023-08-30 19:58   ` [bug#64720] [PATCH v2 8/8] gnu: rust-analyzer: update required dependencies version Distopico
2023-09-09 13:31     ` bug#64720: [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=712b78e8a1d4ca99fa1aa2efc5d0220907f19b96.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=64720@debbugs.gnu.org \
    --cc=distopico@riseup.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).