We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72de9a commit 490de70Copy full SHA for 490de70
src/Stack/Nix.hs
@@ -47,7 +47,7 @@ reexecWithOptionalShell inner =
47
isReExec <- asks getReExec
48
if nixEnable (configNix config) && not inShell && not isReExec
49
then runShellAndExit getCmdArgs
50
- else liftIO (inner >> exitSuccess)
+ else liftIO inner
51
where
52
getCmdArgs = do
53
args <-
src/main/Main.hs
@@ -809,8 +809,7 @@ withBuildConfigExt go@GlobalOpts{..} mbefore inner mafter = do
809
(lcProjectRoot lc)
810
mbefore
811
(runStackTGlobal manager (lcConfig lc) go $
812
- Nix.reexecWithOptionalShell (inner'' lk0)
813
- )
+ Nix.reexecWithOptionalShell (inner'' lk0))
814
mafter
815
(Just $ liftIO $
816
do lk' <- readIORef curLk
0 commit comments