Commit 37af946a authored by tibbe's avatar tibbe
Browse files

Revert "Only pass executable name from run to build"

This fix is incorrect since "--" was already stripped out of extraArgs.

This reverts commit 9092b59a.
parent 9092b59a
......@@ -813,9 +813,8 @@ runAction (buildFlags, buildExFlags) extraArgs globalFlags = do
globalFlags noAddSource (buildNumJobs buildExFlags)
(const Nothing)
let components = takeWhile (/= "--") extraArgs
maybeWithSandboxDirOnSearchPath useSandbox $
build verbosity distPref mempty components
build verbosity distPref mempty extraArgs
maybeWithSandboxDirOnSearchPath useSandbox $
run verbosity buildFlags extraArgs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment