[Hackage] #193: add a --with-package-conf= flag to configure

#193: add a --with-package-conf= flag to configure ---------------------+------------------------------------------------------ Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.1 Platform: Linux | ---------------------+------------------------------------------------------ From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317803 {{{ Consider adding a --with-package-conf= flag to the configure command, or the register command. }}} There is partial support for this internally in Cabal, though only for GHC of course. We have to decide if and how we want to present this feature given that it is currently GHC-only. Could it be done in a way that allows other implementations to provide a similar feature in future without us having to change the Cabal user interface? -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/193 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#193: add a --with-package-conf= flag to configure ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.1 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * platform: Linux => * milestone: => Cabal-1.4 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/193#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#193: add a --with-package-conf= flag to configure ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.1 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * type: defect => enhancement -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/193#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#193: add a --with-package-conf= flag to configure
----------------------------+-----------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Cabal-1.4
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Resolution:
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.1 | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* difficulty: normal => easy (<4 hours)
Comment:
{{{
Sun Jan 13 23:25:36 GMT 2008 Duncan Coutts

It still needs proper testing and documenting in the user guide. Marking
#193: add a --with-package-conf= flag to configure ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: enhancement | Status: closed Priority: normal | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.3.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.8.1 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Replying to [comment:3 duncan]: this remaining task as easy. Now documented and people have been using it and it seems to work ok.
We should also consider if the --user and --global flags to the install and register commands still make sense with the slight change in semantics of those flags in the configure step.
I'm not at all convinced that these flags make sense. I think changing the package db to register into after building is a very unsafe thing to do. There is no guarantee that the dependent packages exist or that if they do that they are ABI compatible with the ones that we built against. I think we should deprecate the feature. If people want to do it anyway we provide a way to generate the package registration file already. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/193#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage