summaryrefslogtreecommitdiff
path: root/hadrian/src/Builder.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Builder.hs')
-rw-r--r--hadrian/src/Builder.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs
index 6d95ca5573..e29bf4316c 100644
--- a/hadrian/src/Builder.hs
+++ b/hadrian/src/Builder.hs
@@ -311,8 +311,8 @@ instance H.Builder Builder where
case builder of
Ar Pack _ -> do
useTempFile <- flag ArSupportsAtFile
- if useTempFile then runAr path buildArgs
- else runArWithoutTempFile path buildArgs
+ if useTempFile then runAr path buildArgs buildInputs
+ else runArWithoutTempFile path buildArgs buildInputs
Ar Unpack _ -> cmd' [Cwd output] [path] buildArgs