From f17e1802ec325e5cc86d4908f05ac69aafdf39da Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 10 Sep 2020 09:53:32 +0200 Subject: gnu: gcc-toolchain: Make "gcc" a "deprecated" alias for "gcc-toolchain". Fixes . Reported by Jeffrey Walton . * gnu/packages/commencement.scm (gcc-toolchain-aka-gcc): New variable. --- gnu/packages/commencement.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages') 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") -- cgit v1.2.3