guix-play/guix/scripts
Ludovic Courtès 7db3ff4a29 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.
2013-08-23 15:51:36 +02:00
..
build.scm build, package: Add `--fallback' option. 2013-05-29 23:22:05 +02:00
download.scm Use port-sha256' and open-sha256-port'. 2013-07-03 01:18:24 +02:00
gc.scm guix gc: Add `--requisites'. 2013-06-13 22:15:41 +02:00
hash.scm Move `sha256' to (guix hash). 2013-07-01 23:28:21 +02:00
import.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
package.scm guix package: Allow separate install of several outputs of the same package. 2013-07-15 23:51:28 +02:00
pull.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
refresh.scm guix refresh: Keep only the newest versions of packages as upgrade candidates. 2013-07-11 19:56:30 +02:00
substitute-binary.scm utils: Add `guile-version>?', and use it. 2013-08-23 15:51:36 +02:00