2010/2/22 Marc Weber <[email protected]>: > 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) Ah, I understand! -u takes into account the priorities before the version checking. And -qc only compares the version.
For this specific case, I think I will remove the lowPrio, because thunderbird 2 is not building, if I understand correctly. Regards, Lluís. _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
