diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-04 16:53:14 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-04 16:59:26 +0100 |
commit | e3065ec11742eef58ca688db240d86031941a39a (patch) | |
tree | 47dd7a0793b5f0b9158e579adac875d8986938e5 /guix/import | |
parent | 576c47f14167f6f89e3c1701debc9911350bb44b (diff) |
import: crate: Skip tests when Guile-Semver is missing.
* guix/import/crate.scm: Add comment for the 'module-autoload!' calls.
* tests/crate.scm (have-guile-semver?): New variable.
("crate->guix-package", "cargo-recursive-import")
("cargo-recursive-import-hoors-existing-packages"): Skip when
HAVE-GUILE-SEMVER? is false.
Diffstat (limited to 'guix/import')
-rw-r--r-- | guix/import/crate.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/import/crate.scm b/guix/import/crate.scm index 3bc261b04e..c10c0d55ea 100644 --- a/guix/import/crate.scm +++ b/guix/import/crate.scm @@ -92,6 +92,7 @@ string->symbol) (requirement crate-dependency-requirement "req")) ;string +;; Autoload Guile-Semver so we only have a soft dependency. (module-autoload! (current-module) '(semver) '(string->semver semver->string semver<?)) (module-autoload! (current-module) |