Skip to content

Commit b9a3b0c

Browse files
authored
Merge pull request #2344 from ilya-bobyr/pr/docs-stack-package-flags
stack.package: docs: flag enable/disable syntax
2 parents 621f3b6 + da4cf98 commit b9a3b0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extensions/stack_snapshot.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ _package_tag = tag_class(
9292
"flags": attr.string_list(
9393
doc = """List of cabal flags to configure this package.
9494
Only usable by the root module (or rules_haskell itself).
95+
For a flag called `flag1`, to enable say `flag1` or `+flag1`, to disable say `-flag1`.
9596
""",
9697
),
9798
"extra_deps": attr.label_list(

0 commit comments

Comments
 (0)