[GHC] #11268: Extend ghc environment file features
#11268: Extend ghc environment file features -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature | Status: new request | Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): Phab:D1668 | Wiki Page: -------------------------------------+------------------------------------- This is essential to make it into GHC 8.0.1 as it provides the infrastructure for cabal's new features See Phab:D1668 for more detail -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11268> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11268: Extend ghc environment file features -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: patch Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1668 Wiki Page: | -------------------------------------+------------------------------------- Changes (by hvr): * status: new => patch -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11268#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11268: Extend ghc environment file features -------------------------------------+------------------------------------- Reporter: hvr | Owner: bgamari Type: feature request | Status: patch Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1668 Wiki Page: | -------------------------------------+------------------------------------- Changes (by hvr): * owner: => bgamari Comment: assigning to Ben as he's been discussing this patch with Duncan already -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11268#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11268: Extend ghc environment file features -------------------------------------+------------------------------------- Reporter: hvr | Owner: duncan Type: feature request | Status: patch Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1668 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * owner: bgamari => duncan Comment: Ceding this to Duncan as it's his patch and he has returned from vacation. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11268#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11268: Extend ghc environment file features -------------------------------------+------------------------------------- Reporter: hvr | Owner: duncan Type: feature request | Status: patch Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1668 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"aa699b94e3a8ec92bcfa8ba3dbd6b0de15de8873/ghc" aa699b94/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="aa699b94e3a8ec92bcfa8ba3dbd6b0de15de8873" Extend ghc environment file features A set of changes to enable local ghc env files to be useful for tools like cabal. Ultimately it will allow cabal to maintain a ghc env file so that users can simple run ghc or ghci in a project directory and get the expected environment of the project. Change the name of .ghc.environment files to include the platform and ghc version, e.g. .ghc.environment.x86_64-linux-7.6.3, since their content is version specific. Strictly speaking this is not backwards compatible, but we think this feature is not widely used yet. "Look up" for a local env file, like the behaviour of git/darcs etc. So you can be anywhere within a project and get the expected environment. Don't look for local env files when -hide-all-packages is given. Extend the syntax of env files to allow specifying package dbs too. Test Plan: Currently completely untested. Compiles, that is all. Sorry, have to disappear for the hols. Reviewers: hvr, ezyang, austin, bgamari Reviewed By: ezyang, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1668 GHC Trac Issues: #11268 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11268#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11268: Extend ghc environment file features -------------------------------------+------------------------------------- Reporter: hvr | Owner: duncan Type: feature request | Status: closed Priority: highest | Milestone: 8.0.1 Component: Compiler | Version: Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1668 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: In both `ghc-8.0` and `master`. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11268#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC