It will be very useful to have a user-space install for GHC and Haskell platform, instead of assuming root privileges, and /usr/hs path. Couple of things to consider:
So, installing in user-land should be similar to what we get when we build from source with configure prefix. We should allow user-defined locations for libraries and tools needed by GHC. I have noticed that GHC binary seems to assume that gcc is in /usr/bin/gcc, but this hard-coded assumption should be avoided if possible, as users might use a different version of gcc and binutils. I am not sure if GHC bash script overrides it with pgmgcc environment setting.
It will be nice to have both GHC and platform rpms available as relocatable (i.e., users can specify the installation location, and a script can be provided to set locations of libraries and tools). May be we should look into how this is done by existing binaries for other linux platforms.
That ticket on the need for user-space installs is a model of clarity.
I don’t have any problem with installing the tools into user-land – this will be true of all of the components in the justhub distro – provided you start with the source code.
I want so solve this problem, but it may have be done with non-RPM packaging.
I will have to think about this a bit and get back to you.
I wonder whether a 0install would be the way to go.