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
b00289b1
Commit
b00289b1
authored
Sep 05, 2016
by
Max Amanshauser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: port changes to old docs that happened in the meanwhile [skip ci]
parent
4a21172e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
doc/nix-local-build.rst
doc/nix-local-build.rst
+8
-2
No files found.
doc/nix-local-build.rst
View file @
b00289b1
...
...
@@ -90,7 +90,7 @@ across packages. To be more precise:
``
packages
``,
``
optional
-
packages
``
or
``
extra
-
packages
``
field
of
a
project
.
Usually
,
these
refer
to
packages
whose
source
code
lives
directly
in
a
folder
in
your
project
(
although
,
you
can
list
an
arbitrary
Hackage
package
s
in
``
extra
-
packages
``
to
force
it
to
be
arbitrary
Hackage
package
in
``
extra
-
packages
``
to
force
it
to
be
treated
as
local
).
Local
packages
,
as
well
as
the
external
packages
(
below
)
which
depend
on
...
...
@@ -99,7 +99,7 @@ specifically for the project and are not installed globally. Inplace
packages
are
not
cached
and
not
given
unique
hashes
,
which
makes
them
suitable
for
packages
which
you
want
to
edit
and
recompile
.
2.
A
**
external
package
**
is
any
package
which
is
not
listed
in
the
2.
A
n
**
external
package
**
is
any
package
which
is
not
listed
in
the
``
packages
``
field
.
The
source
code
for
external
packages
is
usually
retrieved
from
Hackage
.
...
...
@@ -673,6 +673,12 @@ an external dependency) should be built with ``-fno-state-hack``:
package
bytestring
ghc
-
options
:
-
fno
-
state
-
hack
``
ghc
-
options
``
is
not
specifically
described
in
this
documentation
,
but
is
one
of
many
fields
for
configuring
programs
.
They
take
the
form
``
progname
-
options
``
and
``
progname
-
location
``,
and
can
only
be
set
inside
package
stanzas
.
(
TODO
:
They
are
not
supported
at
top
-
level
,
see
`#
3579
<
https
://
github
.
com
/
haskell
/
cabal
/
issues
/
3579
>`
__
).
At
the
moment
,
there
is
no
way
to
specify
an
option
to
apply
to
all
external
packages
or
all
inplace
packages
.
Additionally
,
it
is
only
possible
to
specify
these
options
on
the
command
line
for
all
local
...
...
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