tmhedberg / hsenv Goto Github PK
View Code? Open in Web Editor NEWThis project forked from paczesiowa/hsenv
Virtual Haskell Environment builder
License: BSD 3-Clause "New" or "Revised" License
This project forked from paczesiowa/hsenv
Virtual Haskell Environment builder
License: BSD 3-Clause "New" or "Revised" License
see
creswick/cabal-dev#76
sol/doctest#39
commercialhaskell/stackage#3
basically: certain tools need a way to lookup what package db they should use (cf Doctest's issue ), adding that would be neat if its easy to do for hsenv
Setting GHC_PACKAGE_PATH is the wrong thing since that's not what .hsenv/bin/{ghc,cabal} look for.
Reproduction steps (emacs 24.3.1; hsenv f43ea65; ghc 7.4.2 cabal-install 1.16.0.2)
M-x hsenv-activate
{visit a cabal file}
M-x compile RET cabal install RET
Expected result:
cabal compiles and installs a package.
Actual result:
cabal install
cabal: Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with
Cabal. Use the flag --package-db to specify a package database (it can be used
multiple times).
hello: im trying to build the current head version of lens in an hsenv env,
and i'm getting the following odd error
[hsenv]carter active/lens ‹master› » cabal install transformers-compat 1 ↵
Resolving dependencies...
Configuring transformers-compat-0.1...
Building transformers-compat-0.1...
Preprocessing library transformers-compat-0.1...
In-place registering transformers-compat-0.1...
cabal: transformers-compat-0.1: Warning: haddock-interfaces:
/private/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/transformers-compat-0.1-91183/transformers-compat-0.1/dist/doc/html/transformers-compat/transformers-compat.haddock
doesn't exist or isn't a file
transformers-compat-0.1: Warning: haddock-html:
/private/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/transformers-compat-0.1-91183/transformers-compat-0.1/dist/doc/html/transformers-compat
doesn't exist or isn't a directory
transformers-compat-0.1: cannot find libHStransformers-compat-0.1.a on library
path (use --force to override)
Failed to install transformers-compat-0.1
cabal: Error: some packages failed to install:
transformers-compat-0.1 failed during the building phase. The exception was:
ExitFailure 1
On Linux, sed -r
will use extended regular expressions. OS X sed
supports this, but it is under the different flag -E
.
When source
'ing my activate
, I get:
$ source ~/vh/HEAD/.hsenv_HEAD/bin/activate
Activating HEAD Virtual Haskell Environment (at /Users/a/vh/HEAD).
Use regular Haskell tools (ghc, ghci, ghc-pkg, cabal) to manage your Haskell environment.
To exit from this virtual environment, enter command 'deactivate_hsenv'.
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
This can be fixed by changing:
GHC_PACKAGE_PATH_REPLACEMENT=... | sed -r -e 's/^/:/' -e 's/::*/:/g' -e 's/:\s*$//')
To:
GHC_PACKAGE_PATH_REPLACEMENT=... | sed -E -e 's/^/:/' -e 's/::*/:/g' -e 's/:\s*$//')
Is there an hsenvwrapper anywhere? My googling seemed to turn up nothing. It would be in line with virtualenvwrapper. Basically it provides some helpers to virtualenv. Making virtualenvs, removing, navigating around, etc.
If there isn't one, would there be any interest in developing one? I'm fine with kicking off development, but then I would like to think creating an hsenv organization as mentioned in Paczesiowa#40 might need to be revisited.
I think such a monadic stack should be idiomatically named after the library. What you reckon?
Hi,
You have made quite a few improvements to hsenv. Thank you for coordinating this effort. Could you release that effort to hackage (Paczesiowa#26).
Thanks
Hi, just wondering if this fork is being maintained? there doesn't seem to be much activity on the issue tracker and last commit was a year ago
I'm using MacOS X with GHC 7.6.3. I installed hsenv and everything seemed to work correctly. Running hsenv
with no arguments also seems to work correctly. But every time I use the --ghc flag, it gives me a segmentation fault.
It seems others have successfully used GHC 7.10 with hsenv, so I'm not sure what's going on here. Using hsenv-0.5 and the Linux (x86_64) tarball:
mgsloan@computer:~/fpco/ghc-7.10-sandbox$ hsenv --ghc=../ghc-7.10.1.tar.xz
Creating Virtual Haskell directory structure
Installing GHC
Installing GHC from ../ghc-7.10.1.tar.xz
Initializing GHC Package database at /home/mgsloan/fpco/ghc-7.10-sandbox/.hsenv/ghc_pkg_db
Copying necessary packages from original GHC package database
Using user-wide (~/.cabal/packages) Hackage download cache directory
Installing cabal config at /home/mgsloan/fpco/ghc-7.10-sandbox/.hsenv/cabal/config
Installing activate script
Installing cabal wrapper using /home/mgsloan/fpco/ghc-7.10-sandbox/.hsenv/cabal/config at /home/mgsloan/fpco/ghc-7.10-sandbox/.hsenv/bin/cabal
Skipping 'cabal update' step, Hackage download cache already downloaded
to ~/.cabal/packages/. You can update it manually with 'cabal update'
(from inside or outside the virtual environment).
To activate the new environment use 'source .hsenv/bin/activate'
mgsloan@computer:~/fpco/ghc-7.10-sandbox$ source .hsenv/bin/activate
Activating Virtual Haskell Environment (at /home/mgsloan/fpco/ghc-7.10-sandbox).
Use regular Haskell tools (ghc, ghci, ghc-pkg, cabal) to manage your Haskell environment.
To exit from this virtual environment, enter command 'deactivate_hsenv'.
[hsenv]mgsloan@computer:~/fpco/ghc-7.10-sandbox$ runhaskell Test.hs
/home/mgsloan/fpco/ghc-7.10-sandbox/.hsenv/ghc_pkg_db/package.cache: GHC.PackageDb.readPackageDb: inappropriate type (not a ghc-pkg db file, wrong file magic number)
Thankfully, I figured out that doing the following resolved the problem:
rm .hsenv/ghc_pkg_db/package.cache
cp .hsenv/ghc/lib/ghc-7.10.1/package.conf.d/package.cache .hsenv/ghc_pkg_db/package.cache
The next thing we should tackle is the documentation. The README file is very outdated and, even if "hardcore" users won't have problems using hsenv, newcomers might :)
Some 3rd-party tools such as yesod devel
directly invoke the GHC API to recompile code on the fly. These tools don't necessarily provide any options for specifying an alternate package database location, so we need to return to using the environment to relay this information to GHC.
Since cabal-install dies if the variable is set, we will need to be explicitly unset in the cabal
wrapper script.
See yesodweb/yesod#480 for related discussion.
Using a prestine installation from your master branch:
Creating Virtual Haskell directory structure
Installing GHC
Initializing GHC Package database at /Users/alfredod/programming/haskell/transformers/.hsenv/ghc_pkg_db
Copying necessary packages from original GHC package database
Couldn't parse package identifier depends:
hsenv.log file contains detailed description of the process.
This happens when trying to create a new env with "hsenv".
Mac Os X Lion with ghc 7.6.1
Cheers,
A.
Tools and scripts which rely on the existence of a dist
directory do not work under hsenv since it suffixes dist
with the name of the hsenv sandbox. Most users, however, do not appear to need the multiple sandbox functionality afforded by the suffix. We should return to the original single-sandbox behavior as the default, but still provide the suffixing as an option when the sandbox is initialized.
See Paczesiowa#32 for related discussion.
I have hsenv-mode.el and I have it successfully activated; but it's having problems getting the right paths. Any pointers on if this is a set up issue?
We should make the PS1 changes optional/configurable.
this may be as simple as relaxing base. not sure
Let me clarify:
Now if we don't supply a name we get an "empty" environment name in the shell (at least in zsh), example:
()╭─alfredod@Alfredos-Mac-Pro ~HSENV ‹›
╰─$
It would be nice, although not required, to have that empty parent replaced with something more descriptive, like (hsenv), just to remember me I'm using hsenv :)
The following article about virtualenv discusses some of the problems with sourcing a bin/activate file like we do in hsenv. It also discusses a simple solution:
https://gist.github.com/datagrok/2199506
Maybe hsenv could do the same thing?
9664443 introduced the ability to download a GHC binary tarball for usage in a new hsenv sandbox. The download is performed by calling out to an external curl
binary.
While curl
is ubiquitous, it might be better not to rely on external dependencies that cannot automatically be pulled down via cabal-install. Consider replacing the usage of curl
with a Haskell HTTP library such as http-streams
.
Hello,
I don't know if you are the package maintainer or if Paczesiowa is.
hsenv successfully installs but fails to launch on OSX 10.10. Here is my hsenv.log
:
Creating Virtual Haskell directory structure
hsenv directory: /Users/kyle/haskell/StrappedTemplates/.hsenv
cabal directory: /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal
hsenv bin directory: /Users/kyle/haskell/StrappedTemplates/.hsenv/bin
Installing GHC
Using system version of GHC - nothing to install.
Initializing GHC Package database at /Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
Running outside process: ghc-pkg --version
Looking for ghc-pkg in $PATH
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Process exited successfully
Process output:
GHC package manager version 7.8.3
Empty process error output
Found version string: 7.8.3
Running outside process: ghc-pkg init /Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
Looking for ghc-pkg in $PATH
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Process exited successfully
Empty process output
Empty process error output
Copying necessary packages from original GHC package database
Copying package base to Virtual Haskell Environment.
Choosing package with highest version number.
Running outside process: ghc-pkg field base version
Looking for ghc-pkg in $PATH
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Process exited successfully
Process output:
version: 4.7.0.1
Empty process error output
Found version strings: 4.7.0.1
Found: 4.7.0.1
Using version: 4.7.0.1
Copying package base-4.7.0.1 to Virtual Haskell Environment.
Checking if base-4.7.0.1 is already installed.
Running inside process: ghc-pkg describe base-4.7.0.1
Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Calculating unix env dictionary used inside virtual environment
Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
$GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
$PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
Process failed with exit code 1
Empty process output
Process error output:
ghc-pkg: cannot find package base-4.7.0.1
It's not.
Extracting dependencies of base-4.7.0.1
Running outside process: ghc-pkg field base-4.7.0.1 depends
Looking for ghc-pkg in $PATH
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Process exited successfully
Process output:
depends: ghc-prim-0.3.1.0-954cb57749cf319beafdc89b3415422c
integer-gmp-0.5.1.0-d42e6a7874a019e6a0d1c7305ebc83c4 builtin_rts
Empty process error output
Found dependency strings: ghc-prim-0.3.1.0-954cb57749cf319beafdc89b3415422c integer-gmp-0.5.1.0-d42e6a7874a019e6a0d1c7305ebc83c4 builtin_rts
Found: ghc-prim-0.3.1.0 integer-gmp-0.5.1.0 rts
Copying package ghc-prim-0.3.1.0 to Virtual Haskell Environment.
Checking if ghc-prim-0.3.1.0 is already installed.
Running inside process: ghc-pkg describe ghc-prim-0.3.1.0
Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Calculating unix env dictionary used inside virtual environment
Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
$GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
$PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
Process failed with exit code 1
Empty process output
Process error output:
ghc-pkg: cannot find package ghc-prim-0.3.1.0
It's not.
Extracting dependencies of ghc-prim-0.3.1.0
Running outside process: ghc-pkg field ghc-prim-0.3.1.0 depends
Looking for ghc-pkg in $PATH
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Process exited successfully
Process output:
depends: builtin_rts
Empty process error output
Found dependency strings: builtin_rts
Found: rts
Copying package rts to Virtual Haskell Environment.
Checking if rts is already installed.
Running inside process: ghc-pkg describe rts
Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Calculating unix env dictionary used inside virtual environment
Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
$GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
$PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
Process failed with exit code 1
Empty process output
Process error output:
ghc-pkg: cannot find package rts
It's not.
Extracting dependencies of rts
Running outside process: ghc-pkg field rts depends
Looking for ghc-pkg in $PATH
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Process exited successfully
Process output:
depends:
Empty process error output
Found dependency strings:
Found:
Moving package rts to Virtual Haskell Environment.
Running outside process: ghc-pkg describe rts
Looking for ghc-pkg in $PATH
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Process exited successfully
Process output:
name: rts
version: 1.0
id: builtin_rts
license: BSD3
copyright:
maintainer: [email protected]
stability:
homepage:
package-url:
synopsis:
description:
category:
author:
exposed: True
exposed-modules:
hidden-modules:
trusted: False
import-dirs:
library-dirs: ${pkgroot}/rts-1.0
hs-libraries: HSrts Cffi
extra-libraries: m dl
extra-ghci-libraries:
include-dirs: ${pkgroot}/include
includes: Stg.h
depends:
hugs-options:
cc-options:
ld-options: "-Wl,-u,_ghczmprim_GHCziTypes_Izh_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Czh_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Fzh_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Dzh_static_info"
"-Wl,-u,_base_GHCziPtr_Ptr_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Wzh_static_info"
"-Wl,-u,_base_GHCziInt_I8zh_static_info"
"-Wl,-u,_base_GHCziInt_I16zh_static_info"
"-Wl,-u,_base_GHCziInt_I32zh_static_info"
"-Wl,-u,_base_GHCziInt_I64zh_static_info"
"-Wl,-u,_base_GHCziWord_W8zh_static_info"
"-Wl,-u,_base_GHCziWord_W16zh_static_info"
"-Wl,-u,_base_GHCziWord_W32zh_static_info"
"-Wl,-u,_base_GHCziWord_W64zh_static_info"
"-Wl,-u,_base_GHCziStable_StablePtr_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Izh_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Czh_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Fzh_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Dzh_con_info"
"-Wl,-u,_base_GHCziPtr_Ptr_con_info"
"-Wl,-u,_base_GHCziPtr_FunPtr_con_info"
"-Wl,-u,_base_GHCziStable_StablePtr_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_False_closure"
"-Wl,-u,_ghczmprim_GHCziTypes_True_closure"
"-Wl,-u,_base_GHCziPack_unpackCString_closure"
"-Wl,-u,_base_GHCziIOziException_stackOverflow_closure"
"-Wl,-u,_base_GHCziIOziException_heapOverflow_closure"
"-Wl,-u,_base_ControlziExceptionziBase_nonTermination_closure"
"-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
"-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
"-Wl,-u,_base_ControlziExceptionziBase_nestedAtomically_closure"
"-Wl,-u,_base_GHCziWeak_runFinalizzerBatch_closure"
"-Wl,-u,_base_GHCziTopHandler_flushStdHandles_closure"
"-Wl,-u,_base_GHCziTopHandler_runIO_closure"
"-Wl,-u,_base_GHCziTopHandler_runNonIO_closure"
"-Wl,-u,_base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
"-Wl,-u,_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
"-Wl,-u,_base_GHCziConcziSync_runSparks_closure"
"-Wl,-u,_base_GHCziConcziSignal_runHandlers_closure"
"-Wl,-search_paths_first"
framework-dirs:
frameworks:
haddock-interfaces:
haddock-html:
pkgroot: "/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/lib/ghc-7.8.3"
Empty process error output
Running inside process: ghc-pkg register -
Looking for ghc-pkg in /Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
ghc-pkg -> /opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg
Calculating unix env dictionary used inside virtual environment
Determining value of GHC_PACKAGE_PATH to be used inside virtual environment
$GHC_PACKAGE_PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/ghc_pkg_db
$PATH=/Users/kyle/haskell/StrappedTemplates/.hsenv/cabal/bin:/Users/kyle/.cabal/bin:/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin:/usr/local/sbin:/Applications/Postgres93.app/Contents/MacOS/bin:~/.cabal/bin:~/Library/Haskell/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin
Using the following input:
name: rts
version: 1.0
id: builtin_rts
license: BSD3
copyright:
maintainer: [email protected]
stability:
homepage:
package-url:
synopsis:
description:
category:
author:
exposed: True
exposed-modules:
hidden-modules:
trusted: False
import-dirs:
library-dirs: ${pkgroot}/rts-1.0
hs-libraries: HSrts Cffi
extra-libraries: m dl
extra-ghci-libraries:
include-dirs: ${pkgroot}/include
includes: Stg.h
depends:
hugs-options:
cc-options:
ld-options: "-Wl,-u,_ghczmprim_GHCziTypes_Izh_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Czh_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Fzh_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Dzh_static_info"
"-Wl,-u,_base_GHCziPtr_Ptr_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Wzh_static_info"
"-Wl,-u,_base_GHCziInt_I8zh_static_info"
"-Wl,-u,_base_GHCziInt_I16zh_static_info"
"-Wl,-u,_base_GHCziInt_I32zh_static_info"
"-Wl,-u,_base_GHCziInt_I64zh_static_info"
"-Wl,-u,_base_GHCziWord_W8zh_static_info"
"-Wl,-u,_base_GHCziWord_W16zh_static_info"
"-Wl,-u,_base_GHCziWord_W32zh_static_info"
"-Wl,-u,_base_GHCziWord_W64zh_static_info"
"-Wl,-u,_base_GHCziStable_StablePtr_static_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Izh_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Czh_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Fzh_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_Dzh_con_info"
"-Wl,-u,_base_GHCziPtr_Ptr_con_info"
"-Wl,-u,_base_GHCziPtr_FunPtr_con_info"
"-Wl,-u,_base_GHCziStable_StablePtr_con_info"
"-Wl,-u,_ghczmprim_GHCziTypes_False_closure"
"-Wl,-u,_ghczmprim_GHCziTypes_True_closure"
"-Wl,-u,_base_GHCziPack_unpackCString_closure"
"-Wl,-u,_base_GHCziIOziException_stackOverflow_closure"
"-Wl,-u,_base_GHCziIOziException_heapOverflow_closure"
"-Wl,-u,_base_ControlziExceptionziBase_nonTermination_closure"
"-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure"
"-Wl,-u,_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure"
"-Wl,-u,_base_ControlziExceptionziBase_nestedAtomically_closure"
"-Wl,-u,_base_GHCziWeak_runFinalizzerBatch_closure"
"-Wl,-u,_base_GHCziTopHandler_flushStdHandles_closure"
"-Wl,-u,_base_GHCziTopHandler_runIO_closure"
"-Wl,-u,_base_GHCziTopHandler_runNonIO_closure"
"-Wl,-u,_base_GHCziConcziIO_ensureIOManagerIsRunning_closure"
"-Wl,-u,_base_GHCziConcziIO_ioManagerCapabilitiesChanged_closure"
"-Wl,-u,_base_GHCziConcziSync_runSparks_closure"
"-Wl,-u,_base_GHCziConcziSignal_runHandlers_closure"
"-Wl,-search_paths_first"
framework-dirs:
frameworks:
haddock-interfaces:
haddock-html:
pkgroot: "/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/lib/ghc-7.8.3"
Process failed with exit code 1
Process output:
Reading package info from stdin ... done.
Process error output:
rts-1.0: Warning: library-dirs: /Users/kyle/haskell/StrappedTemplates/.hsenv/rts-1.0 doesn't exist or isn't a directory
rts-1.0: Warning: include-dirs: /Users/kyle/haskell/StrappedTemplates/.hsenv/include doesn't exist or isn't a directory
rts-1.0: cannot find any of ["libHSrts.a","libHSrts.p_a","libHSrts-ghc7.8.3.so","libHSrts-ghc7.8.3.dylib","HSrts-ghc7.8.3.dll"] on library path (use --force to override)
rts-1.0: cannot find any of ["libCffi.a","libCffi.p_a","libCffi-ghc7.8.3.so","libCffi-ghc7.8.3.dylib","Cffi-ghc7.8.3.dll"] on library path (use --force to override)
/opt/homebrew-cask/Caskroom/ghc/7.8.3-r0/ghc-7.8.3.app/Contents/bin/ghc-pkg process failed with status 1
It looks like a problem with the rts not being copied over or something to that degree. I am using the ghcformacosx ghc installed from Homebrew.
Thanks!
Just installed hsenv and sourced activate, it gives me "sed: illegal option -- r" error, obviously BSD version of sed is not compatible with gnu's, maybe using awk or grep is a better idea?
I'm new to this, and it would be very helpful to have this info easily available, rather than having to consult hackage or github when I forget. I'm currently using version 0.4 from Hackage.
BTW, this approach seems like a great idea - thanks for maintaining it!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.