From e0546a11f0b65e301dc9d1d1cfec26e686070029 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 29 Sep 2022 21:03:45 +0200 Subject: gnu: IceCat, Icedove: Use the default 'rust'. * gnu/packages/gnuzilla.scm (rust-1.58-promise, rust-1.59-promise): Remove variables. (icecat, icedove)[native-inputs]: Change from RUST-1.59-PROMISE to RUST. --- gnu/packages/gnuzilla.scm | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) (limited to 'gnu/packages/gnuzilla.scm') diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index f54210b412..aee9a16576 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -350,27 +350,6 @@ in C/C++.") (inputs (list icu4c readline zlib)))) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Temporary packaging of rust-1.59, pending inclusion in (gnu packages rust) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(define rust-1.58-promise - (delay - (let ((rust-bootstrapped-package - (@@ (gnu packages rust) - rust-bootstrapped-package))) - (rust-bootstrapped-package - rust "1.58.1" "1iq7kj16qfpkx8gvw50d8rf7glbm6s0pj2y1qkrz7mi56vfsyfd8")))) - -(define rust-1.59-promise - (delay - (let ((rust-bootstrapped-package - (@@ (gnu packages rust) - rust-bootstrapped-package))) - (rust-bootstrapped-package - (force rust-1.58-promise) - "1.59.0" "1yc5bwcbmbwyvpfq7zvra78l0r8y3lbv60kbr62fzz2vx2pfxj57")))) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Temporary packaging of rust-cbindgen-0.23 and its dependencies ;; follow, pending their inclusion into (gnu packages rust-apps) @@ -887,8 +866,8 @@ in C/C++.") ;; ("icecat-use-system-media-libs.patch" ;; ,(search-patch "icecat-use-system-media-libs.patch")) ;; TODO: Change the following lines to use 'rust' when it's >= 1.59. - (force rust-1.59-promise) - `(,(force rust-1.59-promise) "cargo") + rust + `(,rust "cargo") (force rust-cbindgen-0.23-promise) llvm clang @@ -1565,7 +1544,7 @@ standards of the IceCat project.") (sha256 (base32 "078jrxpzqj45l84i39a9fq023j71ngca5gs2ngpjsbily51bzx09"))))) - ("cargo" ,(force rust-1.59-promise) "cargo") + ("cargo" ,rust "cargo") ("clang" ,clang) ("llvm" ,llvm) ("m4" ,m4) @@ -1574,7 +1553,7 @@ standards of the IceCat project.") ("perl" ,perl) ("pkg-config" ,pkg-config) ("python" ,python-wrapper) - ("rust" ,(force rust-1.59-promise)) + ("rust" ,rust) ("rust-cbindgen" ,(force rust-cbindgen-0.23-promise)) ("which" ,which) ("yasm" ,yasm))) -- cgit v1.2.3