gnu: gcc-toolchain: Make "gcc" a "deprecated" alias for "gcc-toolchain".

Fixes <https://bugs.gnu.org/43303>.
Reported by Jeffrey Walton <noloader@gmail.com>.

* gnu/packages/commencement.scm (gcc-toolchain-aka-gcc): New variable.
This commit is contained in:
Ludovic Courtès 2020-09-10 09:53:32 +02:00
parent 2c229f1c10
commit f17e1802ec
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -3902,6 +3902,12 @@ binaries, plus debugging symbols in the @code{debug} output), and Binutils.")
(define-public gcc-toolchain-10
(make-gcc-toolchain gcc-10))
(define-public gcc-toolchain-aka-gcc
;; It's natural for users to try "guix install gcc". This package
;; automatically "redirects" them to 'gcc-toolchain'.
(deprecated-package "gcc" gcc-toolchain-10))
(define-public gdc-toolchain-10
(package (inherit (make-gcc-toolchain gdc-10))
(synopsis "Complete GCC tool chain for D lang development")