aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-09-10 09:53:32 +0200
committerLudovic Courtès <ludo@gnu.org>2020-09-10 12:27:20 +0200
commitf17e1802ec325e5cc86d4908f05ac69aafdf39da (patch)
tree7c8a88f1bcea81b177374b52a1ce32d841adb5b2
parent2c229f1c10675b61e59482aef5eb8a655cd89d0d (diff)
downloadguix-f17e1802ec325e5cc86d4908f05ac69aafdf39da.tar
guix-f17e1802ec325e5cc86d4908f05ac69aafdf39da.tar.gz
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.
-rw-r--r--gnu/packages/commencement.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index aa30e3fa18..cc86d06c65 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -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")