[Nix-dev] bug on nix-env version parsing?

Marc Weber marco-oweber at gmx.de
Mon Feb 22 11:29:13 CET 2010


Excerpts from Lluís Batlle's message of Mon Feb 22 10:00:37 +0100 2010:
> I have this full reproducible:
> $ nix-env -qc '*'  | grep thund
> thunderbird-3.0                    = 3.0
> $ nix-env -u --leq --dry-run '*'
> upgrading `thunderbird-3.0' to `thunderbird-2.0.0.22'

  thunderbird2 = import ../applications/networking/mailreaders/thunderbird/2.x.nix {
  thunderbird3 = lowPrio (import ../applications/networking/mailreaders/thunderbird/3.x.nix {
                ^^^^^^^^

version comparison is fine:

builtins.compareVersions "thunderbird-3.0" "thunderbird-2.0.0.22"

results in Int(1)

Marc Weber



More information about the nix-dev mailing list