diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-26 17:22:00 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-26 17:22:00 +0200 |
commit | 10d91c147968d2e4d63b99b5b0342624827f416f (patch) | |
tree | 3a739ffa0b56d3fa6b5e1524820a79031a996e67 /linux/Dockerfile | |
parent | 604c824d38f255dd44fec9bb69052002b5a59495 (diff) | |
download | pandoc-10d91c147968d2e4d63b99b5b0342624827f416f.tar.gz |
Use file-embed instead of hsb2hs to embed data files.
I think template haskell is robust enough now across platforms
that this will work.
Motivation: file-embed gives us better dependency tracking: if a data
file changes, ghc/stack/cabal know to recompile the Data module.
This also removes hsb2hs as a build dependency.
Diffstat (limited to 'linux/Dockerfile')
-rw-r--r-- | linux/Dockerfile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/linux/Dockerfile b/linux/Dockerfile index 630abc17e..b725bbaa5 100644 --- a/linux/Dockerfile +++ b/linux/Dockerfile @@ -14,7 +14,6 @@ RUN mkdir -p /usr/src/ WORKDIR /usr/src/ RUN git clone https://github.com/jgm/pandoc WORKDIR /usr/src/pandoc -RUN stack install --local-bin-path /usr/bin hsb2hs RUN stack install --stack-yaml stack.pkg.yaml --only-dependencies \ --flag 'pandoc:embed_data_files' \ --test --ghc-options '-O2 -optc-Os -optl-static -fPIC' \ |