diff options
| author | Juan Ibiapina <juanibiapina@gmail.com> | 2022-07-04 11:57:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-04 11:57:06 +0200 |
| commit | 62e5acd0a7573c0001c92cb36e38de0b247ccc01 (patch) | |
| tree | 6b2fd001764b524cb8b67960c98016a69fe27de0 /pkgs/development/python-modules/rangehttpserver | |
| parent | 2e37f787c9d8fc954d9e490835bf32b5a0f0c034 (diff) | |
ruby: Expose generic builder (#173390)
To avoid duplicating the ruby compilation code, this change exposes two
functions `mkRubyVersion` and `mkRuby`, which can be used in an overlay
to build any past or current ruby version.
An example overlay:
```nix
self: super:
{
ruby_2_7_6 = super.mkRuby {
version = super.mkRubyVersion "2" "7" "6" "";
sha256 = "042xrdk7hsv4072bayz3f8ffqh61i8zlhvck10nfshllq063n877";
};
ruby_3_1_2 = super.mkRuby {
version = super.mkRubyVersion "3" "1" "2" "";
sha256 = "0gm84ipk6mrfw94852w5h7xxk2lqrxjbnlwb88svf0lz70933131";
};
}
```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
