Ticket #146 (reopened defect)
Cannot update cabal (Windows PATH issue)
| Reported by: | Olathe | Owned by: | refold |
|---|---|---|---|
| Priority: | minor | Milestone: | 2013.2.0.0 |
| Component: | Windows installer | Keywords: | |
| Cc: |
Description
On Windows with Haskell Platform 2010.1.0.0 :
- The all-users PATH variable contains %INSTALLDIR%\lib\extralibs\bin.
- The user-specific PATH variable contains %APPDATA%\cabal\bin.
This causes a problem because :
- Every directory in the all-users PATH variable is always checked first, so the shell always uses %INSTALLDIR%\lib\extralibs\bin\cabal.exe.
- cabal install cabal-install only updates %APPDATA%\cabal\bin\cabal.exe rather than both.
- So, you effectively can't update cabal on Windows.
Workaround: Delete %INSTALLDIR%\lib\extralibs\bin\cabal.exe.
Change History
Note: See
TracTickets for help on using
tickets.
