summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-09-02 18:22:15 -0400
committerBen Gamari <ben@smart-cactus.org>2020-09-02 18:22:15 -0400
commit58ffc486915724faa2d908dd4cd44e9bed5494f6 (patch)
tree147b53368edf2a9d6be72cd89f5c4531bef60c47
parent4b4fbc58d37d37457144014ef82bdd928de175df (diff)
downloadhaskell-wip/fix-makeindex.tar.gz
hadrian: Pass input file to makeindexwip/fix-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 072a2edd73..b918374586 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