Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
d5a5fc54
Commit
d5a5fc54
authored
Jan 27, 2017
by
kristenk
Browse files
Restore documentation about multiple constraints.
[ci skip]
parent
c621a78a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/doc/nix-local-build.rst
View file @
d5a5fc54
...
...
@@ -620,6 +620,16 @@ The following settings control the behavior of the dependency solver:
and
other
properties
a
solver
can
pick
for
a
package
.
For
example
:
::
constraints
:
bar
==
2.1
A
package
can
be
specified
multiple
times
in
``
constraints
``,
in
which
case
the
specified
constraints
are
intersected
.
This
is
useful
,
since
the
syntax
does
not
allow
you
to
specify
multiple
constraints
at
once
.
For
example
,
to
specify
both
version
bounds
and
flag
assignments
,
you
would
write
:
::
constraints
:
bar
==
2.1
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment