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
d002427b
Unverified
Commit
d002427b
authored
May 07, 2017
by
Daniel Gröber (dxld)
Committed by
Mikhail Glushenkov
May 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve exe `scope` related docs
(cherry picked from commit
261e5eb4
)
parent
0f41001b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
Cabal/doc/developing-packages.rst
Cabal/doc/developing-packages.rst
+6
-0
Cabal/doc/installing-packages.rst
Cabal/doc/installing-packages.rst
+5
-1
No files found.
Cabal/doc/developing-packages.rst
View file @
d002427b
...
...
@@ -1246,6 +1246,12 @@ build information fields (see the section on `build information`_).
must
be
relative
to
one
of
the
directories
listed
in
:
pkg
-
field
:`
hs
-
source
-
dirs
`.
..
pkg
-
field
::
scope
:
token
Whether
the
executable
is
``
public
``
(
default
)
or
``
private
``,
i
.
e
.
meant
to
be
run
by
other
programs
rather
than
the
user
.
Private
executables
are
installed
into
`$
libexecdir
/$
libexecsubdir
`.
Running
executables
"""""""""""""""""""
...
...
Cabal/doc/installing-packages.rst
View file @
d002427b
...
...
@@ -658,7 +658,11 @@ path options:
..
option
::
--
libexecsubdir
=
dir
A
subdirectory
of
*
libexecdir
*
in
which
private
executables
are
installed
.
A
subdirectory
of
*
libexecdir
*
in
which
private
executables
are
installed
.
For
example
,
in
the
simple
build
system
on
Unix
,
the
default
*
libexecdir
*
is
``/
usr
/
local
/
libexec
``,
and
*
libsubdir
*
is
``
x86_64
-
linux
-
ghc
-
8.0.2
/
mypkg
-
0.1.0
``,
so
private
executables
would
be
installed
in
``/
usr
/
local
/
libexec
/
x86_64
-
linux
-
ghc
-
8.0.2
/
mypkg
-
0.1.0
/``
*
dir
*
may
contain
the
following
path
variables
:
``$
pkgid
``,
``$
pkg
``,
``$
version
``,
``$
compiler
``,
``$
os
``,
``$
arch
``,
``$
abi
``,
...
...
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