colinrmitchell.com

Blog

cabal-install Problems

Posted Monday, March 24th 2014 in FreeBSD, Programming - Permalink

On FreeBSD, cabal-install is a few versions behind the current version. In particular, this version, 1.16.0, does not support sandboxing. Installing updated cabal-install through cabal-install does not cause you to be using the newest version. To do this, you need to add the directory to which you are installing the updated version. This is usually the directory

~/.cabal/bin

Edit your appropriate shell run-control file to set this directory as higher priority than where the Ports-version of cabal-install is installed, which is /usr/local/bin. For example, I modified my .cshrc file to have my Cabal version of cabal-install be higher priority than my system-wide version:

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin $HOME/.cabal/bin /usr/local/bin $HOME/bin)


List Posts Newest Posts Page 1Next Page