#3268: implement the Cabal ${pkgroot} spec extension
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.2.1
Component: Package system | Version: 6.10.2
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by duncan):
Replying to [comment:8 simonmar]:
> Looks ok to me, though the difference between ghc-pkg dump and ghc-pkg
describe is slightly worrisome. That means `ghc-pkg describe | ghc-pkg
update` is not the identity (I think we have a test that will break).
It doesn't break yet because nothing uses ${pkgroot}. But yes, it'd have
to be updated to use `--no-expand-pkgroot`.
> What goes wrong if `ghc-pkg describe` uses `--no-expand-vars` by
default?
It's simply that it'll surprise people and perhaps existing tools. I'm
happy to give it a go and see what breaks :-)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3268#comment:9>
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