diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-04-18 16:08:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-18 17:51:22 +0200 |
commit | 6b5c21e043c632e6287a2af7f336036571538da2 (patch) | |
tree | b1eb16c63b0b237b80867ee76fac3bab7f09a69b /gnu/packages/gdb.scm | |
parent | c8bc58a9e705bb4c37d2c4386d1c6050ab324cb1 (diff) |
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.
Diffstat (limited to 'gnu/packages/gdb.scm')
-rw-r--r-- | gnu/packages/gdb.scm | 6 |
1 files changed, 5 insertions, 1 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") |