Skip to content

Commit

Permalink
Clarify semantics of the ghc_default_version module extension
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Sep 1, 2023
1 parent 8a5350e commit c1ec1f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion extensions/ghc_version.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
""" Module extension which configures the GHC version"""
"""Module extension which configures the default GHC version for rules_haskell and rules_haskell_tests
If used from rules_haskell or rules_haskell_tests, this will change the default
GHC version to the value of the `GHC_VERSION` environment variable (if set).
When used from other modules than rules_haskell and rules_haskell_tests, the
default GHC version is given by the `DEFAULT_GHC_VERSION` constant (see [`//haskell:ghc.bzl`](haskell/ghc.bzl).
"""

load(
"@rules_haskell//haskell:private/ghc_ci.bzl",
Expand Down

0 comments on commit c1ec1f1

Please sign in to comment.