"Atom or quoted string expected" when including a dependency-list in dune-project #5380
Answered
by
anuragsoni
ELLIOTTCABLE
asked this question in
Q&A
-
I've got the following (lang dune 2.9)
(name graphqueer)
(version 0.1)
(generate_opam_files true)
(source (github ELLIOTTCABLE/graphqueer))
(authors "ELLIOTTCABLE <opam@from.ec>")
(package
(name graphqueer)
(synopsis "Let's learn GraphQL?")
(depends
(ocaml (>= 4.13.1))
(dream (>= "1.0.0~alpha2") (< 1.1))
(dream-cli (>= 0.1.0) (< 0.2))
(piaf (>= 0.1.0) (< 0.2)))) Unfortunately, this just yields an error:
If I attempt to have more than one dependency, it fails. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
anuragsoni
Jan 25, 2022
Replies: 1 comment
-
The constraint should be written using (dream (and (>= "1.0.0~alpha2") (< 1.1))) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rgrinberg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The constraint should be written using
and