File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,14 @@ module Stack.Nix
1414
1515import Stack.Prelude
1616import qualified Data.Text as T
17- import Data.Version (showVersion )
1817import Path.IO
19- import qualified Paths_stack as Meta
2018import Stack.Config (getInContainer , withBuildConfig )
2119import Stack.Config.Nix (nixCompiler , nixCompilerVersion )
2220import Stack.Constants (platformVariantEnvVar ,inNixShellEnvVar ,inContainerEnvVar )
2321import Stack.Types.Config
2422import Stack.Types.Docker
2523import Stack.Types.Nix
24+ import Stack.Types.Version ( showStackVersion )
2625import System.Environment (getArgs ,getExecutablePath ,lookupEnv )
2726import qualified System.FilePath as F
2827import RIO.Process (processContextL , exec )
@@ -46,7 +45,7 @@ runShellAndExit = do
4645 let args | inContainer = origArgs -- internal-re-exec version already passed
4746 -- first stack when restarting in the container
4847 | otherwise =
49- (" --" ++ reExecArgName ++ " =" ++ showVersion Meta. version ) : origArgs
48+ (" --" ++ reExecArgName ++ " =" ++ showStackVersion ) : origArgs
5049 exePath <- liftIO getExecutablePath
5150 config <- view configL
5251 envOverride <- view processContextL
You can’t perform that action at this time.
0 commit comments