1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 11:32:21 +02:00

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
This commit is contained in:
Andreas Enge
2025-07-15 20:05:16 +02:00
parent 7b3126ecdc
commit 722bbc11f1
+10 -11
View File
@@ -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