Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby_2_3: remove #68030

Merged
merged 3 commits into from Sep 7, 2019
Merged

ruby_2_3: remove #68030

merged 3 commits into from Sep 7, 2019

Conversation

alyssais
Copy link
Member

@alyssais alyssais commented Sep 3, 2019

This has been EOL since December. We shouldn't still be facilitating its use.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@alyssais
Copy link
Member Author

alyssais commented Sep 3, 2019

@Phlogistique @kamilchm would be great if somebody could test sonic-pi in the next couple of days. I do think this is important to get in before 19.09 branches off, though, so I won’t wait indefinitely.

@@ -303,8 +303,8 @@ mapAliases ({
rssglx = rss-glx; #added 2015-03-25
ruby_2_0_0 = throw "deprecated 2018-0213: use a newer version of ruby";
ruby_2_1_0 = throw "deprecated 2018-0213: use a newer version of ruby";
ruby_2_2_9 = throw "deprecated 2018-0213: use ruby_2_2 instead";
ruby_2_3_6 = throw "deprecated 2018-0213: use ruby_2_3 instead";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also add ruby_2_3 in there?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t because we don’t generally do it when removing packages IIRC, and I don’t think aliases.nix should have to contain a list of every attribute to have ever existed.

But it does look like we’ve started here anyway, so I can do, yeah.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah any removal should be added to this list. And at some point the list will be pruned. This is to allow users that upgrade to get a meaningful error message.

@marsam marsam mentioned this pull request Sep 4, 2019
This was added to fix a compiler error in
4bc516a, where it was noted that it
still segfaulted after boot. Since it compiles with our default Ruby
now, I have to assume that the problem the override was added to set
has since been resolved. I don't know how to actually test, however.
This has been EOL since December. We shouldn't still be facilitating
its use.

Fixes NixOS#67977.
@alyssais
Copy link
Member Author

alyssais commented Sep 7, 2019

Today is 19.09 branch-off day, so if sonic-pi is broken, it’ll have to be fixed as a follow-up.

@alyssais alyssais merged commit d3983ca into NixOS:master Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants