| Commit message (Collapse) | Author | Age |
|
|
|
| |
https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-6-7-released/
|
|
|
|
|
|
| |
It's been at least a year since I kept up to date with Ruby, and I
don't think I really have anything left to offer Nixpkgs in terms of
Ruby expertise.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using `stdenv.targetPlatform` gives the wrong platform in buildPackages.
E.g.:
```
$ nix-diff --color never $(env -i nix-instantiate -A pkgs.ruby -A pkgs.pkgsCross.aarch64-multiplatform.buildPackages.ruby)
- /nix/store/w8wk99p4gadns35n2l0fr7wx56jlwnnx-ruby-2.6.6.drv:{out}
+ /nix/store/5ywj7nicjai6ji4g33yh6nvz1b5fq7xw-ruby-2.6.6.drv:{out}
• The input named `ruby-2.6.6` differs
- /nix/store/4a6nag89dcxwdf32820z6dfwwpfgab8s-ruby-2.6.6.drv:{out}
+ /nix/store/40pakkdfv578zffx3y11qd5ckcp2xpzm-ruby-2.6.6.drv:{out}
• The environments do not match:
postInstall=''
# Remove unnecessary groff reference from runtime closure, since it's big
sed -i '/NROFF/d' $out/lib/ruby/*/*/rbconfig.rb
# Bundler tries to create this directory
mkdir -p $out/nix-support
cat > $out/nix-support/setup-hook <<EOF
addGemPath() {
addToSearchPath GEM_PATH \$1/lib/ruby/gems/2.6.0
}
addRubyLibPath() {
addToSearchPath RUBYLIB \$1/lib/ruby/site_ruby
addToSearchPath RUBYLIB \$1/lib/ruby/site_ruby/2.6.0
addToSearchPath RUBYLIB \$1/lib/ruby/site_ruby/2.6.0/←x86_←→aarch→64-linux
}
addEnvHooks "$hostOffset" addGemPath
addEnvHooks "$hostOffset" addRubyLibPath
EOF
rbConfig=$(find $out/lib/ruby -name rbconfig.rb)
''
• Skipping environment comparison
```
`pkgs.pkgsCros.*.buildPackage.ruby` should be equivalent to `pkgs.ruby`.
It wasn't.
|
| |
| |
| |
| | |
ruby_2_5 was removed from nixpkgs in 1c33c0ad6b1b9a335c9a2c6747849309fb817eca
|
| |
| |
| |
| | |
https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
|
|/ |
|
|\
| |
| | |
ruby: add option to enable jemalloc
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
This reverts commit d73cc1e58601a4d12cfc353e7478fee8b18126cd.
|
|
|
|
| |
This makes it easier to detect regressions.
|
|
|
|
|
| |
Due to being unused, and seemingly unusable, added appropriate release
notes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If JIT support is built in to ruby, there's no choice other then to
leave this cc reference as is. removeReferencesToCC didn't do it's job
completely since some time ago. That's why it was practically redundant
- `lib/ruby/${version}/<platform>/rbconfig.rb` still referenced cc.
Removing this reference from
`lib/ruby/${version}/<platform>/rbconfig.rb` as well might lead to
breakage in some Gems that require this feature.
But, if JIT support is not desired, it should be safe enough to
completely remove all cc references, both in
lib/ruby/${version}/<platform>/rbconfig.rb and in $out/lib/libruby.so .
Hence now `rubyMinimal` has JIT support disabled and it has no
references at all to stdenv.cc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ext/io/console/io-console.gemspec was embedding a timestamp which made
the build not reproducible. Gems respect SOURCE_DATE_EPOCH so it's
enough to just delete that line if it exists.
This file has been fixed in
https://github.com/ruby/io-console/commit/679a941d05d869f5e575730f6581c027203b7b26#diff-d8422f096931c58d4463e2489f62a228b0f24f0492950ba88c8c89a0d741cfe6
And then ruby regularly merges that gem into their own repository. Ruby
master is fixed but none of the ruby releases have been fixed yet.
lib/ruby/gems/2.6.0/specifications/default/io-console-0.4.7.gemspec now
contains:
s.date = "1980-01-01"
|
|
|
|
|
|
|
|
|
| |
This reverts commit c778945806b44d46ec16bc4302e7e7163e6bab97.
I believe this is exactly what brings the staging branch into
the right shape after the last merge from master (through staging-next);
otherwise part of staging changes would be lost
(due to being already reachable from master but reverted).
|
|
|
|
|
|
|
| |
I'm sorry; I didn't notice it contained staging commits.
This reverts commit 17f5305b6c20df795c365368d2d868266519599e, reversing
changes made to a8a018ddc0a8b5c3d4fa94c94b672c37356bc075.
|
|\ |
|
| | |
|
|/
|
|
|
| |
cc-tools 949.0.1 added a warning on linking which ruby misinterprets as
an error with LDFLAGS.
|
| |
|
|
|
|
| |
https://www.ruby-lang.org/en/news/2020/10/02/ruby-2-7-2-released/
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Changelog: https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-7-1-released/
|
|
|
|
| |
Changelog: https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-6-6-released/
|
|
|
|
| |
Changelog: https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-5-8-released/
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to https://endoflife.software/programming-languages/server-side-scripting/ruby
ruby 2.4 will go end-of-life in march, where the new release of nixpkgs
will be cut. We won't be able to support it for security updates.
Remove all references to ruby_2_4 and add ruby_2_7 instead where
missing.
Mark packages that depend on ruby 2.4 as broken:
* chefdk
* sonic-pi
|
|
|
|
|
| |
This makes RbConfig["CC"] return an invalid path, but I hope nothing
is depending on that anyway...
|
| |
|
|
|
|
| |
This fixes the rubyMinimal package.
|
|
|
|
| |
Release notes: https://www.ruby-lang.org/en/news/2019/12/25/ruby-2-7-0-released/
|
|
|
|
| |
Changelog: https://blog.rubygems.org/2019/12/20/3.1.2-released.html
|
|
|
|
|
|
| |
Similar to `gitMinimal` or `pythonMinimal`, this is useful for scripts
which don’t use anything but the standard library and want a small
footprint.
|
|
|
|
| |
Reduces the runtime closure by ~200MB if enabled.
|
| |
|
|
|
|
|
|
| |
Changelog:
- https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-4-8-released/
- https://www.ruby-lang.org/en/news/2019/10/02/ruby-2-4-9-released/
|
|
|
|
| |
Changelog: https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-5-7-released/
|
|
|
|
| |
Changelog: https://www.ruby-lang.org/en/news/2019/10/01/ruby-2-6-5-released/
|
|
|
|
| |
d3983caf451ae52b2a527e6a9ad1620b950a8276 removed ruby_2_3 from nixpkgs
|
|
|
|
|
|
| |
See https://bugs.ruby-lang.org/issues/16136.
This patch is on Ruby trunk, but hasn't been backported (yet?).
|
|
|
|
|
|
|
| |
This has been EOL since December. We shouldn't still be facilitating
its use.
Fixes https://github.com/NixOS/nixpkgs/pull/67977.
|
|\ |
|
| |
| |
| |
| | |
Co-authored-by: Alyssa Ross <hi@alyssa.is>
|
| | |
|
| | |
|