mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 12:01:49 +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:
+10
-11
@@ -47,19 +47,17 @@
|
|||||||
#:use-module ((guix build utils) #:select (alist-replace))
|
#:use-module ((guix build utils) #:select (alist-replace))
|
||||||
#:use-module (srfi srfi-1))
|
#:use-module (srfi srfi-1))
|
||||||
|
|
||||||
(define-public gdb/pinned
|
(define-public gdb-14
|
||||||
;; This is the fixed version that packages depend on. Update it rarely
|
|
||||||
;; enough to avoid massive rebuilds.
|
|
||||||
(package
|
(package
|
||||||
(name "gdb")
|
(name "gdb")
|
||||||
(version "12.1")
|
(version "14.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/gdb/gdb-"
|
(uri (string-append "mirror://gnu/gdb/gdb-"
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))
|
"0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(outputs '("out" "debug"))
|
(outputs '("out" "debug"))
|
||||||
(arguments
|
(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
|
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
|
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.")
|
written in C, C++, Ada, Objective-C, Pascal and more.")
|
||||||
(properties `((hidden? . #t)))
|
|
||||||
(license gpl3+)))
|
(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
|
(package
|
||||||
(inherit gdb/pinned)
|
(inherit gdb-14)
|
||||||
(version "14.2")
|
(version "12.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/gdb/gdb-"
|
(uri (string-append "mirror://gnu/gdb/gdb-"
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0wkprsjyyh204fdjlkaz20k847l88i9y8m9zqsv15vcd3l3dhk9d"))))
|
"1vczsqcbh5y0gx7qrclpna0qzx26sk7lra6y8qzxam1biyzr65qf"))))
|
||||||
(properties '())))
|
(properties `((hidden? . #t)))))
|
||||||
|
|
||||||
(define-public gdb-15
|
(define-public gdb-15
|
||||||
(package
|
(package
|
||||||
|
|||||||
Reference in New Issue
Block a user