diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-08-23 15:51:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-08-23 15:51:36 +0200 |
commit | 7db3ff4a29415ccc4f781c3e2450deb97d51a26f (patch) | |
tree | 459549425e83a80457a5261da57545c8e32f0455 /gnu/packages | |
parent | baed8816fcd6665319c342a1d4c117198af33dc2 (diff) | |
download | guix-patches-7db3ff4a29415ccc4f781c3e2450deb97d51a26f.tar guix-patches-7db3ff4a29415ccc4f781c3e2450deb97d51a26f.tar.gz |
utils: Add `guile-version>?', and use it.
This fixes Guile version comparisons when (version) has a
vendor-specific suffix.
Reported by Andreas Enge <andreas@enge.fr>.
* guix/utils.scm (guile-version>?): New procedure.
* tests/utils.scm ("guile-version>? 1.8", "guile-version>? 10.5"): New
tests.
* guix/scripts/substitute-binary.scm (fetch, progress-report-port): Use
`guile-version>?' instead of `version>?'.
* guix/http-client.scm (when-guile<=2.0.5, http-fetch): Likewise.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions