aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-26 21:35:24 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-26 21:35:24 -0700
commit30a50997839a93f81854e1bff87ab9c7cff60533 (patch)
treef8047947fd1525ede6afaeee6425336fbb651252
parent8b22326b0dc9ced57a13ee4cc4d57a0289b987d8 (diff)
downloadpandoc-30a50997839a93f81854e1bff87ab9c7cff60533.tar.gz
circleci - set path to use installed ghc.
-rw-r--r--.circleci/config.yml7
1 files changed, 1 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 52198b822..2ddb93082 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -13,7 +13,7 @@ env: &env
preinstall: &preinstall
run: |
- echo 'export PATH=/opt/cabal/bin:$PATH' >> $BASH_ENV
+ echo 'export PATH=/opt/cabal/bin:/opt/ghc/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
apt-get update
@@ -47,11 +47,6 @@ commands:
name: install ghc
command: |
apt-get install -y ghc-<< parameters.ghcversion >>
- ghc --version
- which ghc
- echo $PATH
- dpkg -S ghc-<< parameters.ghcversion >>
- locate ghc-<< parameters.ghcversion >>
- run:
name: build project
command: |