summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-12 10:50:53 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-01-26 15:38:34 -0500
commitc6bec1ca42f7d8263821d0a48e984b70c435a829 (patch)
tree03340924438ecf9b2105ddec8e7c96058836ac61
parente06b283f60b2d3cdfe6b29511b34bfa8bd272e8d (diff)
downloadguix-c6bec1ca42f7d8263821d0a48e984b70c435a829.tar.gz
gnu: Add gdc alias.
* gnu/packages/gcc.scm (gdc): New variable.

Change-Id: I38447e46ffba44d3a9d3757d34fe9ff081803457
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/gcc.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 6eb01f33a6..5344278174 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1124,6 +1124,12 @@ as the 'native-search-paths' field."
    (custom-gcc gcc-11 "gdc" '("d")
                %generic-search-paths)))
 
+;;; Alias tracking the latest GDC version.
+(define-public gdc
+  (hidden-package
+   (custom-gcc gcc "gdc" '("d")
+               %generic-search-paths)))
+
 (define-public (make-libgccjit gcc)
   (package
     (inherit gcc)