aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpukkamustard <pukkamustard@posteo.net>2021-06-29 15:12:06 +0200
committerpukkamustard <pukkamustard@posteo.net>2021-06-29 15:12:06 +0200
commit4b88f9d96f2f39bbf476759ca2a3d48470a9a701 (patch)
treeffbac5c4b09cd50706f1c2645289a04d1cfbc4c2
parent77c9c5c103ed2d09a43709bb78bc0b13a399e797 (diff)
ha! GNAT is not bootstrapable!!!gnat
-rw-r--r--gnu/packages/commencement.scm5
-rw-r--r--gnu/packages/gcc.scm4
2 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index e7bd6cf002..5ca844c76b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3965,5 +3965,10 @@ Fortran development to be installed in user profiles. This includes
gfortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
+(define-public gnat-toolchain
+ (package (inherit (make-gcc-toolchain gnat))
+ (synopsis "Complete GCC tool chain or Ada development")
+ (description "This package provides a complete GCC tool chain for
+Ada developement to be installed in user profiles.")))
;;; commencement.scm ends here
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 0a394615b5..ac579acfda 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -778,6 +778,10 @@ as the 'native-search-paths' field."
(custom-gcc gcc-11 "gdc" '("d")
%generic-search-paths)))
+(define-public gnat
+ (hidden-package
+ (custom-gcc gcc-11 "gnat" `("ada"))))
+
(define-public libgccjit
(package
(inherit gcc-9)