win-hp-path alternatives and similar packages
Based on the "System" category.
Alternatively, view win-hp-path alternatives based on common mentions on social networks and blogs.
-
ghc-hotswap
DISCONTINUED. Example code for how we swap compiled code within a running Haskell process. -
plugins
Dynamic linking and runtime evaluation of Haskell, and C, including dependency chasing and package resolution. -
language-puppet
A library to work with Puppet manifests, test them and eventually replace everything ruby. -
ascii-progress
A simple Haskell progress bar for the console. Heavily borrows from TJ Holowaychuk's Node.JS project
WorkOS - The modern identity platform for B2B SaaS
Do you think we are missing an alternative of win-hp-path or a related project?
README
win-hp-path: Work with multiple Haskell Platform versions on Windows
This project provides the use-hp
command for working with multiple
versions of the Haskell Platform on Windows.
Quick start
Installation
- Make sure the folder
C:\Program Files\Haskell\bin
exists. - Get the latest Haskell Platform. Run
cabal install win-hp-path
and copy the resulting executableuse-hppath.exe
intoC:\Program Files\Haskell\bin
. - Download
use-hp.bat
from this GitHub project and copy it intoC:\Program Files\Haskell\bin
. - Install whatever other Haskell Platform versions you need. Ignore the warning about having more than one Haskell Platform version.
- Download
find-hp.bat
from this GitHub project. Edit it so that the paths point to where you have Haskell Platform versions installed. Copy it intoC:\Program Files\Haskell\bin
. - Optional - if you want to use the same version of cabal.exe with all of your Haskell Platform versions, copy it into
C:\Program Files\Haskell\bin
.
In the future, when you install or remove Haskell Platform versions,
edit find-hp.bat
and keep the paths up-to-date.
Usage
- Open a command prompt window.
- Run
use-hp <ghc-version-number>
. For example:use-hp 7.8.3
Optional - pick one version of Haskell Platform that you want to be
your default. Do the above steps to activate it in one window. Run
echo %PATH%
, and use that information to correct the values of your
path permanently in System Properties. Now any new command prompt will
work with your default Haskell Platform right from the
start without having to run use-hp
.
Running use-hp
enters a "sub-shell" within the same command prompt
window and temporarily modifies the path to use the Haskell Platform
you specified. To return to the original environment, enter the
command exit
.