Commit 9d217525 authored by Francesco Gazzetta's avatar Francesco Gazzetta

Add comment about absolute store path

parent f523ccb9
let
{-# LANGUAGE RecordWildCards #-}
-- |
......@@ -273,7 +274,7 @@ defaultCabalDirLayout cabalDir =
mkCabalDirLayout cabalDir Nothing Nothing
mkCabalDirLayout :: FilePath -- ^ Cabal directory
-> Maybe FilePath -- ^ Store directory
-> Maybe FilePath -- ^ Store directory. Must be absolute
-> Maybe FilePath -- ^ Log directory
-> CabalDirLayout
mkCabalDirLayout cabalDir mstoreDir mlogDir =
......@@ -282,4 +283,4 @@ mkCabalDirLayout cabalDir mstoreDir mlogDir =
cabalStoreDirLayout =
defaultStoreDirLayout (fromMaybe (cabalDir </> "store") mstoreDir)
cabalLogsDirectory = fromMaybe (cabalDir </> "logs") mlogDir
cabalWorldFile = cabalDir </> "world"
\ No newline at end of file
cabalWorldFile = cabalDir </> "world"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment