Skip to content
GitLab
Menu
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
b00289b1
Commit
b00289b1
authored
Sep 05, 2016
by
Max Amanshauser
Browse files
docs: port changes to old docs that happened in the meanwhile [skip ci]
parent
4a21172e
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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