[GHC] #11696: Windows Install Makes Unnecessary/Incorrect PATH Changes

#11696: Windows Install Makes Unnecessary/Incorrect PATH Changes -------------------------------------+------------------------------------- Reporter: AlexAndrews | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Package | Version: 7.10.3 system | Keywords: path | Operating System: Windows environment variable install | Architecture: x86 | Type of failure: Other Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I installed haskell 7.10.3 (32-bit) under Windows XP SP3 into a folder on my L: drive. However, the installation process added a number of non- existent directories to my PATH variables: User environment variable PATH: C:\Documents and Settings\<username>\Application Data\cabal\bin System environment variable PATH: C:\Program Files\Haskell\bin If these directories need to be in the PATH variables, they should be created by the installer and, if so, since I installed haskell to my L: drive, surely these should be created on my L: drive (or the user should be prompted for their location)? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11696 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11696: Windows Install Makes Unnecessary/Incorrect PATH Changes -------------------------------------+------------------------------------- Reporter: AlexAndrews | Owner: Type: bug | Status: upstream Priority: normal | Milestone: Component: None | Version: 7.10.3 Resolution: | Keywords: path | environment variable install Operating System: Windows | Architecture: x86 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => upstream * component: Package system => None Comment: I suspect this is a Haskell Platform issue, not a GHC issue. I've mentioned this ticket to the Haskell Platform maintainers. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11696#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11696: Windows Install Makes Unnecessary/Incorrect PATH Changes -------------------------------------+------------------------------------- Reporter: AlexAndrews | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: None | Version: 7.10.3 Resolution: invalid | Keywords: path | environment variable install Operating System: Windows | Architecture: x86 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by gershomb): * status: upstream => closed * resolution: => invalid Comment: Closing this as invalid as it is an HP issue, which in general should be reported here: https://github.com/haskell/haskell-platform That said, these two directories are not places that the platform installer itself creates or installs things to. They are, however, the directories that cabal will create and install things to by default when you `cabal install` an executable , and thus the platform installer (correctly) adds them to your path as a convenience. We can document this behavior further, but I see no need to change it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11696#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

Closing this as invalid as it is an HP issue, which in general should be reported here: https://github.com/haskell/haskell-platform
That said, these two directories are not places that the platform installer itself creates or installs things to. They are, however, the
#11696: Windows Install Makes Unnecessary/Incorrect PATH Changes -------------------------------------+------------------------------------- Reporter: AlexAndrews | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: None | Version: 7.10.3 Resolution: invalid | Keywords: path | environment variable install Operating System: Windows | Architecture: x86 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by AlexAndrews): Replying to [comment:2 gershomb]: directories that cabal will create and install things to by default when you `cabal install` an executable , and thus the platform installer (correctly) adds them to your path as a convenience. We can document this behavior further, but I see no need to change it. Fair enough, but having asked where Haskell should be installed, the HP should also ask where to locate the directories that `cabal install` will use. I will submit an HP ticket on the URL you provided. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11696#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC