summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorRyan Prior <rprior@protonmail.com>2020-06-21 03:02:26 +0000
committerChristopher Baines <mail@cbaines.net>2020-06-24 21:21:00 +0100
commitfbf09494db09591fd7d5d72d0efc3cdcc8c255fd (patch)
treead7044ce4874c988087e61343812b2314304e17c /gnu/packages/ruby.scm
parenteeef77d9d371f4169210ffcca98e3a45ff9ff229 (diff)
gnu: Rename ruby to ruby-2.6.
* gnu/packages/ruby.scm (ruby): Rename to ruby-2.6. (ruby-2.7): Inherit from ruby-2.6. (ruby-2.5): Inherit from ruby-2.6. (ruby-2.4): Inherit from ruby-2.6. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 08c55e4e3c..a0fae70cc6 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -75,7 +75,7 @@
#:use-module (guix build-system ruby)
#:use-module ((srfi srfi-1) #:select (alist-delete)))
-(define-public ruby
+(define-public ruby-2.6
(package
(name "ruby")
(version "2.6.5")
@@ -133,7 +133,7 @@ a focus on simplicity and productivity.")
(define-public ruby-2.7
(package
- (inherit ruby)
+ (inherit ruby-2.6)
(version "2.7.1")
(source
(origin
@@ -176,7 +176,7 @@ a focus on simplicity and productivity.")
(define-public ruby-2.5
(package
- (inherit ruby)
+ (inherit ruby-2.6)
(version "2.5.8")
(source
(origin
@@ -195,7 +195,7 @@ a focus on simplicity and productivity.")
(define-public ruby-2.4
(package
- (inherit ruby)
+ (inherit ruby-2.6)
(version "2.4.10")
(source
(origin
@@ -212,6 +212,8 @@ a focus on simplicity and productivity.")
(delete-file-recursively "ext/fiddle/libffi-3.2.1")
#t))))))
+(define-public ruby ruby-2.6)
+
(define-public mruby
(package
(name "mruby")