mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
packages: 'expand-input' accepts any file-like object.
* guix/packages.scm (expand-input)[valid?]: Remove. Call 'file-like?' instead of 'valid?'. Remove 'struct?' clause. * tests/packages.scm ("&package-input-error"): Adjust accordingly.
This commit is contained in:
parent
83bdaf3150
commit
e7477dd59b
2 changed files with 3 additions and 11 deletions
|
@ -744,7 +744,7 @@
|
|||
|
||||
(let ((dummy (dummy-package "foo" (inputs `(("x" ,(current-module)))))))
|
||||
(test-equal "&package-input-error"
|
||||
(list dummy (current-module))
|
||||
(list dummy `("x" ,(current-module)))
|
||||
(guard (c ((package-input-error? c)
|
||||
(list (package-error-package c)
|
||||
(package-error-invalid-input c))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue