aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/gdb.scm6
-rw-r--r--gnu/packages/rust.scm2
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index b9fbf1480a..e2c4941e4e 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -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")
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 4d7790cfc6..d07f4ef10c 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -788,7 +788,7 @@ safety and thread safety guarantees.")
(format #f "prefix = ~s" (assoc-ref outputs "rustfmt"))))
(invoke "./x.py" "install" "rustfmt")))))))
;; Add test inputs.
- (native-inputs (cons* `("gdb" ,gdb)
+ (native-inputs (cons* `("gdb" ,gdb/pinned)
`("procps" ,procps)
(package-native-inputs base-rust))))))