Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

[tryhaskell] We should use cabal exec #1

Open
relrod opened this issue Dec 16, 2014 · 1 comment
Open

[tryhaskell] We should use cabal exec #1

relrod opened this issue Dec 16, 2014 · 1 comment
Assignees

Comments

@relrod
Copy link
Member

relrod commented Dec 16, 2014

00:42:03 < mietek> Instead of mucking around with GHC_PACKAGE_PATH manually, all that is needed is
00:42:03 < mietek> cabal --sandbox-config-file=/app/sandbox/.halcyon-sandbox.config exec -- mueval -e '1+1'
00:42:04 < mietek> (or use CABAL_SANDBOX_CONFIG)
00:44:14 < mietek> haskell/cabal#1944 (comment)

Thanks @mietek

@relrod relrod self-assigned this Dec 16, 2014
@mietek
Copy link

mietek commented Dec 16, 2014

I see in the playbooks here the sandbox for tryhaskell is created in /srv/web/tryhaskell. Therefore, in this config, it should be enough to cd /srv/web/tryhaskell && cabal exec -- mueval -e '1+1'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants