diff options
| author | gemmaro <gemmaro.dev@gmail.com> | 2026-06-06 06:23:44 +0900 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-06-10 13:39:51 +0200 |
| commit | 2cba4f7cd35bdc419f552bf9af9b28993683c6a5 (patch) | |
| tree | 7a482e9713160c047c346073cadae5f968c32790 /gnu | |
| parent | af735c2c3743483ea5e9d0b684ec460a5c972da8 (diff) | |
gnu: ruby-4.0: Make the Rust input optional.
* gnu/packages/ruby.scm (ruby-4.0)[inputs]: Add a conditional to add rust
only on systems where it is supported.
Suggested-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I6ce85d21a3d740f83f53f255225b3b2e8e66c033
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 94cc4e9e45f..a36206ec16c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -143,11 +143,11 @@ | |||
| 143 | (list this-package) | 143 | (list this-package) |
| 144 | '()) | 144 | '()) |
| 145 | (list autoconf libyaml))) | 145 | (list autoconf libyaml))) |
| 146 | (inputs (list readline | 146 | (inputs (append (list readline openssl-3.0 libffi ;to build fiddle |
| 147 | openssl-3.0 | 147 | gmp) ;to accelerate Bignum operations |
| 148 | libffi ;to build fiddle | 148 | (if (supported-package? rust) |
| 149 | gmp ;to accelerate Bignum operations | 149 | (list rust) ;to build YJIT, ZJIT, and MMTk |
| 150 | rust)) ;to build YJIT | 150 | '()))) |
| 151 | (propagated-inputs (list zlib)) | 151 | (propagated-inputs (list zlib)) |
| 152 | (native-search-paths | 152 | (native-search-paths |
| 153 | (list (search-path-specification | 153 | (list (search-path-specification |
