Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Cabal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
a9678873
Unverified
Commit
a9678873
authored
Apr 15, 2019
by
Mikhail Glushenkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs for write-ghc-environment-files. [ci skip]
parent
e8277ee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Cabal/doc/nix-local-build.rst
Cabal/doc/nix-local-build.rst
+6
-4
No files found.
Cabal/doc/nix-local-build.rst
View file @
a9678873
...
...
@@ -1947,14 +1947,16 @@ Advanced global configuration options
--write-ghc-environment-files=policy
:synopsis: Whether a ``.ghc.environment`` should be created after a successful build.
:default: ``
ghc8.4.4+
``
:default: ``
never
``
Whether a `GHC package environment file <https://downloads.haskell.org/~ghc/master/users-guide/packages.html#package-environments>`_
should be created after a successful build.
Defaults to creating them only when compiling with GHC 8.4.4 and
older (GHC 8.4.4 `is the first version <https://ghc.haskell.org/trac/ghc/ticket/13753>`_ that supports the
``-package-env -`` option that allows ignoring the package
Since Cabal 3.0, defaults to ``never``. Before that, defaulted to
creating them only when compiling with GHC 8.4.4 and older (GHC
8.4.4 `is the first version
<https://ghc.haskell.org/trac/ghc/ticket/13753>`_ that supports
the ``-package-env -`` option that allows ignoring the package
environment files).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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