1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 12:01:49 +02:00

gnu: gdb: Distinguish between the "pinned" and the "default" version.

* gnu/packages/gdb.scm (gdb/pinned): New variable.
* gnu/packages/rust.scm (rust)[native-inputs]: Use it instead of GDB.
This commit is contained in:
Ludovic Courtès
2023-04-18 16:08:31 +02:00
parent c8bc58a9e7
commit 6b5c21e043
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -161,11 +161,15 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
;; GDB 12 builds fine on GNU/Hurd.
(supported-systems %supported-systems)))
(define-public gdb
(define-public gdb/pinned
;; This is the fixed version that packages depend on. Update it rarely
;; enough to avoid massive rebuilds.
gdb-11)
(define-public gdb
;; The "default" version.
gdb-11)
(define-public gdb-minimal
(package/inherit gdb-12
(name "gdb-minimal")