Skip to content

Commit 9e40864

Browse files
committed
Adds documentation to CopyToDb
1 parent 1e660c2 commit 9e40864

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cabal/Distribution/Simple/InstallDirs.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ data CopyDest
305305
= NoCopyDest
306306
| CopyTo FilePath
307307
| CopyToDb FilePath
308+
-- ^ when using the ${pkgroot} as prefix. The CopyToDb will
309+
-- adjust the paths to be relative to the provided package
310+
-- database when copying / installing.
308311
deriving (Eq, Show, Generic)
309312

310313
instance Binary CopyDest

0 commit comments

Comments
 (0)