unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35911] gnu: rust: Update to 1.35.0.
@ 2019-05-26  3:36 Ivan Petkov
  2019-06-13  8:34 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ivan Petkov @ 2019-05-26  3:36 UTC (permalink / raw)
  To: 35911

From 635bab2324bcaa1d1b3031af2ebc73748a9c2325 Mon Sep 17 00:00:00 2001
From: Ivan Petkov <ivanppetkov@gmail.com>
Date: Wed, 22 May 2019 20:50:47 -0700
Subject: [PATCH] gnu: rust: Update to 1.35.0.

* gnu/packages/rust.scm (rust): Rename to...
(rust-1.34): ...this.
(rust): New variable.
---
 gnu/packages/rust.scm | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 3f5ec590a9..9c8088b2f7 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1048,7 +1048,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                  (setenv "RUST_TEST_THREADS" "2")
                  #t)))))))))
 
-(define-public rust
+(define-public rust-1.34
   (let ((base-rust
          (rust-bootstrapped-package rust-1.33 "1.34.1"
            "19s09k7y5j6g3y4d2rk6kg9pvq6ml94c49w6b72dmq8p9lk8bixh")))
@@ -1062,3 +1062,23 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
                       (delete-file-recursively "src/llvm-project")
                       (delete-file-recursively "vendor/jemalloc-sys/jemalloc")
                       #t)))))))
+
+(define-public rust
+  (let ((base-rust
+         (rust-bootstrapped-package rust-1.34 "1.35.0"
+           "0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas")))
+    (package
+      (inherit base-rust)
+      (arguments
+       (substitute-keyword-arguments (package-arguments base-rust)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             ;; The tidy test includes a pass which ensures large binaries
+             ;; don't accidentally get checked into the rust git repo.
+             ;; Unfortunately the test assumes that git is always available,
+             ;; so we'll comment out the invocation of this pass.
+             (add-after 'configure 'disable-tidy-bins-check
+               (lambda* _
+                 (substitute* "src/tools/tidy/src/main.rs"
+                   (("bins::check") "//bins::check"))
+                 #t)))))))))
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#35911] gnu: rust: Update to 1.35.0.
  2019-05-26  3:36 [bug#35911] gnu: rust: Update to 1.35.0 Ivan Petkov
@ 2019-06-13  8:34 ` Ludovic Courtès
  2019-06-18  2:53   ` bug#35911: " Ivan Petkov
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2019-06-13  8:34 UTC (permalink / raw)
  To: Ivan Petkov; +Cc: 35911

Hi Ivan,

Ivan Petkov <ivanppetkov@gmail.com> skribis:

> From 635bab2324bcaa1d1b3031af2ebc73748a9c2325 Mon Sep 17 00:00:00 2001
> From: Ivan Petkov <ivanppetkov@gmail.com>
> Date: Wed, 22 May 2019 20:50:47 -0700
> Subject: [PATCH] gnu: rust: Update to 1.35.0.
>
> * gnu/packages/rust.scm (rust): Rename to...
> (rust-1.34): ...this.
> (rust): New variable.

I believe you can use your new commit super powers and push this patch.
:-)

Thank you,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35911: gnu: rust: Update to 1.35.0.
  2019-06-13  8:34 ` Ludovic Courtès
@ 2019-06-18  2:53   ` Ivan Petkov
  2019-06-18 14:19     ` [bug#35911] " Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Ivan Petkov @ 2019-06-18  2:53 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 35911-done

Hi Ludo,

> On Jun 13, 2019, at 1:34 AM, Ludovic Courtès <ludo@gnu.org> wrote:
> 
> I believe you can use your new commit super powers and push this patch.
> :-)

Thanks for the reminder :)
I’ve pushed this out as 0ab5e91e1ced624c51cecc2693deb7c789fe1f07.

—Ivan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#35911] gnu: rust: Update to 1.35.0.
  2019-06-18  2:53   ` bug#35911: " Ivan Petkov
@ 2019-06-18 14:19     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-06-18 14:19 UTC (permalink / raw)
  To: Ivan Petkov; +Cc: 35911-done

Howdy,

Ivan Petkov <ivanppetkov@gmail.com> skribis:

>> On Jun 13, 2019, at 1:34 AM, Ludovic Courtès <ludo@gnu.org> wrote:
>> 
>> I believe you can use your new commit super powers and push this patch.
>> :-)
>
> Thanks for the reminder :)
> I’ve pushed this out as 0ab5e91e1ced624c51cecc2693deb7c789fe1f07.

Awesome.  Thank you, and welcome aboard!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-18 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-26  3:36 [bug#35911] gnu: rust: Update to 1.35.0 Ivan Petkov
2019-06-13  8:34 ` Ludovic Courtès
2019-06-18  2:53   ` bug#35911: " Ivan Petkov
2019-06-18 14:19     ` [bug#35911] " Ludovic Courtès

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).