summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-07-15 20:05:16 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-17 22:21:16 +0200
commite216b2e769c95d54ae261e661136df16c88f5ca3 (patch)
treeb9cdf44f69a87e63069f7c468b73c867c5b560a5
parenta381730fa292b536f7c6344f3d7fbdf4d59db7f2 (diff)
gnu: gdb: Swap inheritance between gdb@12 and gdb@14.
This does not change the derivations, but will make it easier to drop the older version. * gnu/packages/gdb.scm (gdb/pinned): Inherit from... (gdb-14): ...this instead of vice versa. Change-Id: I3e55e92edeba5710ba45e1d846eab6860e8c9436
-rw-r--r--gnu/packages/gdb.scm21
1 files changed, 10 insertions, 11 deletions
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index e09acd3914..2966b8f87e 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -47,19 +47,17 @@
#:use-module ((guix build utils) #:select (alist-replace))
#:use-module (srfi srfi-1))
-(define-public gdb/pinned
- ;; This is the fixed version that packages depend on. Update it rarely
- ;; enough to avoid massive rebuilds.
+(define-public gdb-14
(package
(name "gdb")
- (version "12.1")
+ (version "14.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gdb/gdb-"
version ".tar.xz"))
(sha256
(base32
- "1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))
+ "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
(build-system gnu-build-system)
(outputs '("out" "debug"))
(arguments
@@ -148,21 +146,22 @@ doing while it runs or what it was doing just before a crash. It allows you
to specify the runtime conditions, to define breakpoints, and to change how
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.")
- (properties `((hidden? . #t)))
(license gpl3+)))
-(define-public gdb-14
+(define-public gdb/pinned
+ ;; This is the fixed version that packages depend on. Update it rarely
+ ;; enough to avoid massive rebuilds.
(package
- (inherit gdb/pinned)
- (version "14.2")
+ (inherit gdb-14)
+ (version "12.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/gdb/gdb-"
version ".tar.xz"))
(sha256
(base32
- "0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
- (properties '())))
+ "1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))
+ (properties `((hidden? . #t)))))
(define-public gdb-15
(package