gnu: gdb@8.2: Inherit from 'gdb-minimal'.
* gnu/packages/gdb.scm (gdb-minimal): Move definition up. (gdb-8.2): Rename to ... (gdb-minimal-8.2): ... this. Inherit from GDB-MINIMAL. * gnu/packages/rust.scm (rust-1.27)[native-inputs]: Adjust for the rename.
This commit is contained in:
parent
a3997b83ff
commit
c007d86868
2 changed files with 10 additions and 10 deletions
|
@ -122,11 +122,18 @@ the program is running to try to fix bugs. It can be used to debug programs
|
||||||
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-minimal
|
||||||
|
(package/inherit
|
||||||
|
gdb
|
||||||
|
(name "gdb-minimal")
|
||||||
|
(inputs (fold alist-delete (package-inputs gdb)
|
||||||
|
'("libxml2" "ncurses" "python-wrapper" "source-highlight")))))
|
||||||
|
|
||||||
;; This version of GDB is required by some of the Rust compilers, see
|
;; This version of GDB is required by some of the Rust compilers, see
|
||||||
;; <https://bugs.gnu.org/37810>.
|
;; <https://bugs.gnu.org/37810>.
|
||||||
(define-public gdb-8.2
|
(define-public gdb-minimal-8.2
|
||||||
(package
|
(package
|
||||||
(inherit gdb)
|
(inherit gdb-minimal)
|
||||||
(version "8.2.1")
|
(version "8.2.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -135,10 +142,3 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"00i27xqawjv282a07i73lp1l02n0a3ywzhykma75qg500wll6sha"))))))
|
"00i27xqawjv282a07i73lp1l02n0a3ywzhykma75qg500wll6sha"))))))
|
||||||
|
|
||||||
(define-public gdb-minimal
|
|
||||||
(package/inherit
|
|
||||||
gdb
|
|
||||||
(name "gdb-minimal")
|
|
||||||
(inputs (fold alist-delete (package-inputs gdb)
|
|
||||||
'("libxml2" "ncurses" "python-wrapper" "source-highlight")))))
|
|
||||||
|
|
|
@ -828,7 +828,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
|
||||||
(native-inputs
|
(native-inputs
|
||||||
;; FIXME: Rust 1.27 and some later versions require GDB 8.2 specifically.
|
;; FIXME: Rust 1.27 and some later versions require GDB 8.2 specifically.
|
||||||
;; See <https://bugs.gnu.org/37810>.
|
;; See <https://bugs.gnu.org/37810>.
|
||||||
(alist-replace "gdb" (list gdb-8.2)
|
(alist-replace "gdb" (list gdb-minimal-8.2)
|
||||||
(package-native-inputs base-rust)))
|
(package-native-inputs base-rust)))
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments base-rust)
|
(substitute-keyword-arguments (package-arguments base-rust)
|
||||||
|
|
Reference in a new issue