~ruther/guix-local

8b920d707ed07a3251227f77526cf875d86a4417 — Ludovic Courtès 8 years ago 0b12324
import: Use a 'file://' URL in 'alist->package' test.

* tests/import-utils.scm ("alist->package with simple source"): Use a
'file://' URL.
1 files changed, 4 insertions(+), 1 deletions(-)

M tests/import-utils.scm
M tests/import-utils.scm => tests/import-utils.scm +4 -1
@@ 43,7 43,10 @@
(test-assert "alist->package with simple source"
  (let* ((meta '(("name" . "hello")
                 ("version" . "2.10")
                 ("source" . "mirror://gnu/hello/hello-2.10.tar.gz")
                 ("source" .
                  ;; Use a 'file://' URI so that we don't cause a download.
                  ,(string-append "file://"
                                  (search-path %load-path "guix.scm")))
                 ("build-system" . "gnu")
                 ("home-page" . "https://gnu.org")
                 ("synopsis" . "Say hi")