Skip to content

Commit d265418

Browse files
authored
Merge pull request #163 from fendor/fix-shake-yaml
Remove last occurrences of shake.yaml
2 parents 4893b19 + 37a32b0 commit d265418

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ cd haskell-language-server
106106
#### Building
107107

108108
Note, on first invocation of the build script with stack, a GHC is being installed for execution.
109-
The GHC used for the `install.hs` can be adjusted in `./install/shake.yaml` by using a different resolver.
109+
The GHC used for the `install.hs` can be adjusted in `./install/stack.yaml` by using a different resolver.
110110

111111
Available commands can be seen with:
112112

@@ -500,7 +500,7 @@ args = ["--lsp"]
500500
Haskell-language-server can be used on itself. We provide
501501
preset samples of `hie.yaml` for Cabal and Stack.
502502

503-
Note: the `./install/` folder is not directly tied to the project so it has dedicated `./install/hie.yaml.[cbl|stack]`
503+
Note: the `./install/` folder is not directly tied to the project so it has dedicated `./install/hie.yaml.[cbl|stack]`
504504
templates.
505505

506506
#### Using Cabal

install/src/Stack.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ stackInstallHls mbVersionNumber args = do
2020
versionNumber <-
2121
case mbVersionNumber of
2222
Nothing -> do
23-
execStackWithCfgFile_ "stack.yaml" $
23+
execStackWithCfgFile_ "stack.yaml" $
2424
["install"
2525
, ":haskell-language-server-wrapper"
2626
, ":haskell-language-server"] ++ args
@@ -84,7 +84,7 @@ execStackWithCfgFile stackFile args =
8484

8585
-- | Execute a stack command with the same resolver as the build script
8686
execStackShake :: CmdResult r => [String] -> Action r
87-
execStackShake args = command [] "stack" ("--stack-yaml=install/shake.yaml" : args)
87+
execStackShake args = command [] "stack" ("--stack-yaml=install/stack.yaml" : args)
8888

8989
-- | Execute a stack command with the same resolver as the build script, discarding the output
9090
execStackShake_ :: [String] -> Action ()

0 commit comments

Comments
 (0)