mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 07:56:23 +01:00
gnu: rust: Use GDB 8.2 for tests.
* gnu/packages/gdb.scm (gdb-8.2): New public variable. * gnu/packages/rust.scm (rust-1.27)[native-inputs]: Use GDB-8.2 instead of GDB.
This commit is contained in:
parent
a5ef1bcd24
commit
47dda6e01e
2 changed files with 15 additions and 0 deletions
|
@ -106,6 +106,18 @@ (define-public gdb-8.3
|
||||||
written in C, C++, Ada, Objective-C, Pascal and more.")
|
written in C, C++, Ada, Objective-C, Pascal and more.")
|
||||||
(license gpl3+)))
|
(license gpl3+)))
|
||||||
|
|
||||||
|
(define-public gdb-8.2
|
||||||
|
(package/inherit
|
||||||
|
gdb-8.3
|
||||||
|
(version "8.2.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://gnu/gdb/gdb-"
|
||||||
|
version ".tar.xz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"00i27xqawjv282a07i73lp1l02n0a3ywzhykma75qg500wll6sha"))))))
|
||||||
|
|
||||||
(define-public gdb
|
(define-public gdb
|
||||||
;; This is the fixed version that packages depend on. Update it rarely
|
;; This is the fixed version that packages depend on. Update it rarely
|
||||||
;; enough to avoid massive rebuilds.
|
;; enough to avoid massive rebuilds.
|
||||||
|
|
|
@ -779,6 +779,9 @@ (define-public rust-1.27
|
||||||
"rust-bootstrap-stage0-test.patch"
|
"rust-bootstrap-stage0-test.patch"
|
||||||
"rust-1.25-accept-more-detailed-gdb-lines.patch"
|
"rust-1.25-accept-more-detailed-gdb-lines.patch"
|
||||||
"rust-reproducible-builds.patch")))))
|
"rust-reproducible-builds.patch")))))
|
||||||
|
(native-inputs
|
||||||
|
(alist-replace "gdb" (list gdb-8.2)
|
||||||
|
(package-native-inputs base-rust)))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments base-rust)
|
(substitute-keyword-arguments (package-arguments base-rust)
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
|
|
Loading…
Reference in a new issue