import: Use a 'file://' URL in 'alist->package' test.
* tests/import-utils.scm ("alist->package with simple source"): Use a 'file://' URL.
This commit is contained in:
parent
0b12324284
commit
8b920d707e
|
@ -43,7 +43,10 @@ (define-module (test-import-utils)
|
||||||
(test-assert "alist->package with simple source"
|
(test-assert "alist->package with simple source"
|
||||||
(let* ((meta '(("name" . "hello")
|
(let* ((meta '(("name" . "hello")
|
||||||
("version" . "2.10")
|
("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")
|
("build-system" . "gnu")
|
||||||
("home-page" . "https://gnu.org")
|
("home-page" . "https://gnu.org")
|
||||||
("synopsis" . "Say hi")
|
("synopsis" . "Say hi")
|
||||||
|
|
Loading…
Reference in a new issue