#4134: ghc-pkg register should reject relative paths
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.12.3 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Consider this output from `ghc-pkg describe`
{{{
library-dirs: /home/me/.cabal/lib/abc-0.1/ghc-6.12.1 abc
}}}
This relative path is never going to work. It slips past the checks that
`ghc-pkg register` does because when `ghc-pkg` is invoked, the current
directory does indeed have a local `abc` directory.
The solution is that `ghc-pkg` should reject such relative paths. It makes
no sense.
Note that a related relative path concept that does make sense is ticket
#3268.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4134>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs