Skip to content

Commit c67e9fa

Browse files
committed
Install only package ide
1 parent e5f8c05 commit c67e9fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

install/src/Cabal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ cabalInstallHie versionNumber = do
6363
installMethod | isWindowsSystem && isCabal3 = ["--install-method=copy"]
6464
| otherwise = []
6565
execCabal_ $
66-
[ "v2-install"
66+
[ "v2-install", "ide"
6767
, "-w", ghcPath
6868
, "--write-ghc-environment-files=never"
6969
, installDirOpt, localBin

install/src/Stack.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ stackInstallHie mbVersionNumber = do
2626
versionNumber <-
2727
case mbVersionNumber of
2828
Nothing -> do
29-
execStackWithCfgFile_ "stack.yaml" ["install"]
29+
execStackWithCfgFile_ "stack.yaml" ["install", "ide"]
3030
getGhcVersionOfCfgFile "stack.yaml"
3131
Just vn -> do
32-
execStackWithGhc_ vn ["install"]
32+
execStackWithGhc_ vn ["install", "ide"]
3333
return vn
3434

3535
localBinDir <- getLocalBin

0 commit comments

Comments
 (0)