Files
nixpkgs/lib
Bjørn Forsman d2a2ec2ebe lib.version: change pre-git to post-git on the release branch
When there is no .version-suffix file in nixpkgs (like when fetching
nixpkgs with builtins.fetchGit), lib.version suffixes the version string
with "pre-git". The "pre" bit is special cased in
builtins.compareVersions which means "20.03pre-git" is interpreted as
"less than 20.03". This is clearly wrong for the release-20.03 branch
*after* the release has been made.

Change the suffix to "post-git" to make code like this behave the same
whether nixpkgs is fetched from git or the channel (which has
.version-suffix file):

  lib.versionOlder lib.version "20.03"
  lib.versionAtLeast lib.version "20.03"

(Currently the result depend on how nixpkgs was obtained!)

This change should be made part of the release process.
2020-05-12 21:46:52 +02:00
..
2019-08-28 11:07:32 +00:00
2017-09-16 21:36:43 -04:00
2017-09-16 21:36:43 -04:00
2019-04-17 15:55:57 +01:00
2019-08-28 11:07:32 +00:00
2020-03-28 21:28:58 +01:00
2019-09-06 22:46:05 +02:00
2018-11-22 08:59:48 +00:00
2018-08-30 08:09:54 -04:00
2019-09-26 17:42:42 +02:00