diff options
| author | Ryan Trinkle <ryan.trinkle@gmail.com> | 2014-06-30 00:49:35 -0400 |
|---|---|---|
| committer | Ryan Trinkle <ryan.trinkle@gmail.com> | 2014-06-30 00:49:35 -0400 |
| commit | 4e7aa4be874d2d0f10da4eb41ef9ec14c14b72bf (patch) | |
| tree | 11ee98c17922b23312aae3ecd95c24813f6a36f2 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch | |
| parent | 9cc408303a23e353f3ac6a56af8ce9dc1488dd9f (diff) | |
Make ghcjs build.
Note: In order to run ghcjs, you must set LD_LIBRARY_PATH=${ghcjs}/lib/ghc-7.8.2/ghcjs-0.1.0:$LD_LIBRARY_PATH so that it can find libHSghcjs-0.1.0-ghc7.8.2.so
* ghcjs itself (as opposed to ghcjs-built libraries) must be built with the non-ghcjs version of cabal. I'm not sure whether this is strictly necessary, but it prevented an error.
* CabalGhcjs and cabalInstallGhcjs must be explicitly provided to ghcjs-boot
* Since ghcjs-boot writes to its home directory, we set the home directory to our working directory
* To enable ghcjs-boot to find a particular .h file, we must create a symlink in ghcjs-boot/boot to its parent directory
* gmp must be provided. Adding it to the LD_LIBRARY_PATH is necessary, but I am not sure whether the uses in buildDepends and the arguments to ghcjs-boot are necessary
* If ghcjs-boot cannot find the shims package, it will attempt (and fail) to download it, so we must put it in place ahead of time
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
