Experimental (preview) Pharo packaging #25058
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an experimental new packaging of Pharo for nixpkgs. I am concerned that this may be a dead-end due to the xkcd 927 problem. There are too many ways to distribute and install Pharo applications and I may simply be making that worse. However, I would not like this work to be lost and so I share it here now.
This branch provides a few packages:
pharo-vm
is a wrapper for starting a suitable virtual machine. These days there are at least three mutually incompatible variants of the VM and each application will work in exactly one of them. The wrapper hides this complexity from the user and chooses the right one automatically. (This is based on a script shared on an upstream pharo mailing list.)pharo-5.0
,pharo-6.0
,moose-6.1
, etc. These are binaries from the internet and provided for convenient & so that they are tested for compatibility with the VMs.Compared with the existing pharo support in nixpkgs this should be more compatible (updated VMs) and provides more images (additional to the "launcher" image that frankly does not seem to work that well or be very actively maintained.) This branch also features a rewritten virtual machine build derivation in
build-vm.nix
because the latest VMs have a different build procedure to the one that was packaged before.Just now I am considering whether to drop branch entirely, or upstream the virtual machine part, or upstream the whole shebang. See squeak vm-dev mailing list post for the thought process.
Feedback on the overall direction from nixpkgs point of view would be welcome if anybody else is specifically interested in Pharo.