@@ -49,7 +49,6 @@ import Distribution.Client.Setup
49
49
, defaultInstallFlags
50
50
, fetchCommand
51
51
, formatCommand
52
- , freezeCommand
53
52
, genBoundsCommand
54
53
, getCommand
55
54
, globalCommand
@@ -137,7 +136,6 @@ import qualified Distribution.Client.CmdUpdate as CmdUpdate
137
136
import Distribution.Client.Check as Check (check )
138
137
import Distribution.Client.Configure (configure , writeConfigFlags )
139
138
import Distribution.Client.Fetch (fetch )
140
- import Distribution.Client.Freeze (freeze )
141
139
import Distribution.Client.GenBounds (genBounds )
142
140
import Distribution.Client.Install (install )
143
141
@@ -395,7 +393,6 @@ mainWorker args = do
395
393
, legacyCmd configureExCommand configureAction
396
394
, legacyCmd buildCommand buildAction
397
395
, legacyCmd replCommand replAction
398
- , legacyCmd freezeCommand freezeAction
399
396
, legacyCmd haddockCommand haddockAction
400
397
, legacyCmd installCommand installAction
401
398
, legacyCmd runCommand runAction
@@ -1048,27 +1045,6 @@ fetchAction fetchFlags extraArgs globalFlags = do
1048
1045
fetchFlags
1049
1046
targets
1050
1047
1051
- freezeAction :: FreezeFlags -> [String ] -> Action
1052
- freezeAction freezeFlags _extraArgs globalFlags = do
1053
- let verbosity = fromFlag (freezeVerbosity freezeFlags)
1054
- config <- loadConfigOrSandboxConfig verbosity globalFlags
1055
- distPref <- findSavedDistPref config NoFlag
1056
- nixShell verbosity distPref globalFlags config $ do
1057
- let configFlags = savedConfigureFlags config
1058
- globalFlags' = savedGlobalFlags config `mappend` globalFlags
1059
- (comp, platform, progdb) <- configCompilerAux' configFlags
1060
-
1061
- withRepoContext verbosity globalFlags' $ \ repoContext ->
1062
- freeze
1063
- verbosity
1064
- (configPackageDB' configFlags)
1065
- repoContext
1066
- comp
1067
- platform
1068
- progdb
1069
- globalFlags'
1070
- freezeFlags
1071
-
1072
1048
genBoundsAction :: FreezeFlags -> [String ] -> GlobalFlags -> IO ()
1073
1049
genBoundsAction freezeFlags _extraArgs globalFlags = do
1074
1050
let verbosity = fromFlag (freezeVerbosity freezeFlags)
0 commit comments