summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-09-02 18:22:15 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-09-12 00:32:49 -0400
commit389a668343c0d4f5fa095112ff98d0da6998e99d (patch)
tree571c2816cdb2ef8472f3dbd04ddced2b8c6e7b96
parent2a9422859e0c079aaa38bb9a760034f887501fce (diff)
downloadhaskell-389a668343c0d4f5fa095112ff98d0da6998e99d.tar.gz
hadrian: Pass input file to makeindex
Strangely I find that on Alpine (and apparently only on Alpine) the latex makeindex command expects to be given a filename, lest it reads from stdin.
-rw-r--r--hadrian/src/Builder.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs
index e4b16e5156..743d169644 100644
--- a/hadrian/src/Builder.hs
+++ b/hadrian/src/Builder.hs
@@ -287,7 +287,7 @@ instance H.Builder Builder where
cmd' echo [path] "--no-split" [ "-o", output] [input]
Xelatex -> unit $ cmd' [Cwd output] [path] buildArgs
- Makeindex -> unit $ cmd' [Cwd output] [path] buildArgs
+ Makeindex -> unit $ cmd' [Cwd output] [path] (buildArgs ++ [input])
Tar _ -> cmd' buildOptions echo [path] buildArgs
_ -> cmd' echo [path] buildArgs