mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
import: opam: Fix conditions.
* guix/import/opam.scm (condition-eq, condition-neq): The first argument can be empty. * tests/opam.scm: Add test case.
This commit is contained in:
@@ -192,6 +192,8 @@ url {
|
||||
("{>= \"0.2.0\" | build}" . (condition-or
|
||||
(condition-greater-or-equal
|
||||
(condition-string "0.2.0"))
|
||||
(condition-var "build"))))))
|
||||
(condition-var "build")))
|
||||
("{ = \"1.0+beta19\" }" . (condition-eq
|
||||
(condition-string "1.0+beta19"))))))
|
||||
|
||||
(test-end "opam")
|
||||
|
||||
Reference in New Issue
Block a user