@@ -483,7 +483,7 @@ buildActionForCommand commandUI verbosity (buildFlags, buildExFlags) extraArgs g
483
483
configureAction verbosity distPref useSandbox noAddSource
484
484
(buildNumJobs buildFlags) mempty [] globalFlags config
485
485
486
- nixShell verbosity distPref globalFlags config $ do
486
+ nixShell verbosity distPref globalFlags config $
487
487
maybeWithSandboxDirOnSearchPath useSandbox $ buildForCommand
488
488
commandUI verbosity config' distPref buildFlags extraArgs
489
489
@@ -502,12 +502,7 @@ buildForCommand :: CommandUI BuildFlags
502
502
-> [String ]
503
503
-> IO ()
504
504
buildForCommand command verbosity config distPref buildFlags extraArgs =
505
- setupWrapper verbosity
506
- setupOptions
507
- Nothing
508
- command
509
- mkBuildFlags
510
- (const extraArgs)
505
+ setupWrapper verbosity setupOptions Nothing command mkBuildFlags (const extraArgs)
511
506
where
512
507
setupOptions = defaultSetupScriptOptions { useDistPref = distPref }
513
508
@@ -556,8 +551,8 @@ replAction (replFlags, buildExFlags) extraArgs globalFlags = do
556
551
-- be done to support sandboxes.
557
552
_ <-
558
553
reconfigure configureAction
559
- verbosity distPref useSandbox noAddSource NoFlag
560
- mempty [] globalFlags config
554
+ verbosity distPref useSandbox noAddSource NoFlag
555
+ mempty [] globalFlags config
561
556
let progDb = defaultProgramDb
562
557
setupOptions = defaultSetupScriptOptions
563
558
{ useCabalVersion = orLaterVersion $ mkVersion [1 ,18 ,0 ]
0 commit comments