-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
pharo: old -> 10.0.5 #237892
pharo: old -> 10.0.5 #237892
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-to-download-from-url-while-packaging-for-nixpkgs/29159/1 |
Cairo support has been added and tested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi !
Thanks for your contribution.
I've left some comments, left me know if this is clear enough.
@drupol the requested changes were pretty straightforward (thanks for the examples!). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for implementing the changes.
Last thing, could you sort alphabetically the lambda parameters, the buildInputs, nativeBuildInputs and the meta attributes ?
Don't forget to squash your commits so that this PR only contains 1 single commit.
fd69ff8
to
b16242e
Compare
I have sorted the field, changed the platform and squashed into a single commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot one last nit.
I usually recommend to use makeBinaryWrapper
by default since it has a much better compatibility with Darwin platforms.
I have replaced The reason there is a distinction is that Pharo needs to bootstrap itself (Pharo is written in Pharo), and to do so without an available VM the CI provides a translation of the Pharo VM in C; and their translation is target-specific, AFAIK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now.
I see that you removed a bunch of entries (pharo-vms, pharo-cog32, etc etc)... shoudln't you add something in aliases.nix
to let the users know that they doesn't exist anymore? And eventually a message in the release note ?
I have added the removed packages to Besides that, how can I add a message in the release note? |
Here's an example on how to add an entry in the release note. The file you need to edit is |
Could you please rebase your PR so there's only one commit? |
4180a3f
to
468067d
Compare
@drupol I'm not sure if I properly rebased, now it looks like it wants to merge 68 commits... I merged from |
You failed your rebase and pinged other people, please remove those commits. |
I'm not too sure how to resolve this merge. If I simply merge, that makes 2 commits and git refuses to amend the previous commit. If I try to rebase, it forcefully inserts commits from master into my branch. |
Read the CONTRIBUTING guide on mass pings and retargetting, it is relevant to the problem I imagine. |
Hi, Here's a couple of steps that should help you fixing the current issue:
|
Is there a way to unping the two contributors that were accidentally added as reviewers? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
Description of changes
The Pharo packages were waaaaay outdated (~10 years old). This is a first attempt to update the packages.
For this reason, the availability of the Pharo packaged has regressed (only linux x86_64 is supported in this PR).
While this builds and works, any attempt at using Cairo will throw an exception. This should be fixed.
Important: the previous maintainer has been removed from the maintainer list, since this packaged was clearly not maintained anymore.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)