summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-10-19 18:48:33 +0100
committerChristopher Baines <mail@cbaines.net>2020-10-19 18:48:33 +0100
commitc949530b6f6fea38bbc783a3fa4afd591316812d (patch)
treeac7ca08ecabb16fa8af59c7fd43992f22d0397ef
parentfc316a585e7592901d1968e25e863997939958d8 (diff)
downloadguix-c949530b6f6fea38bbc783a3fa4afd591316812d.tar.gz
import: crate: make-crate-sexp: Fix missing home-page handling.
* guix/import/crate.scm (make-crate-sexp): Replace 'null rather than '() with
the empty string for the home-page.
-rw-r--r--guix/import/crate.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/crate.scm b/guix/import/crate.scm
index f87c89163c..8c2b76cab4 100644
--- a/guix/import/crate.scm
+++ b/guix/import/crate.scm
@@ -167,7 +167,7 @@ and LICENSE."
                                               (maybe-cargo-development-inputs
                                                 cargo-development-inputs)))
                    (home-page ,(match home-page
-                                 (() "")
+                                 ('null "")
                                  (_ home-page)))
                    (synopsis ,synopsis)
                    (description ,(beautify-description description))