Nixpkgs: How to deal with renamed packages

Package in question: vmware-horizon-client

VMware’s end-user-business was sold off to Omnissa in April 2024 (Introducing Omnissa, formerly VMware End-User Computing). Omnissa has since maintaned horizon-client, first under the name “vmware_horizon_client”, but this has now changed to “omnissa_horizon_client”.

How are Situations like this handled in nixpkgs? Do I just rename/move the updated package? Can I create an alias for the old package?

WIP Update branch: Comparing NixOS:master...mhutter:bump/vmware-horizon-client · NixOS/nixpkgs · GitHub

1 Like

I remember seeing some aliases.nix file(s?)

2 Likes

Hey, there is! And it even has a lot of deprecations in it!

aliases.nix only has deprecated aliases, i.e. people are expected to migrate to the new names within some time period. Permanent aliases would be just in all-packages.nix, but for your case I’m convinced it should be aliases.nix.

2 Likes