forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump ghc-ghcide (digital-asset#2936)
- Loading branch information
1 parent
b97ef28
commit afde28f
Showing
5 changed files
with
59 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff --git a/src/HIE/Bios/Cradle.hs b/src/HIE/Bios/Cradle.hs | ||
index 8ca8251..672255e 100644 | ||
--- a/src/HIE/Bios/Cradle.hs | ||
+++ b/src/HIE/Bios/Cradle.hs | ||
@@ -146,10 +146,10 @@ cabalCradle wdir mc = | ||
} | ||
|
||
cabalWrapper :: String | ||
-cabalWrapper = $(embedStringFile "wrappers/cabal") | ||
+cabalWrapper = $(embedStringFile "external/haskell_hie__bios/wrappers/cabal") | ||
|
||
cabalWrapperHs :: String | ||
-cabalWrapperHs = $(embedStringFile "wrappers/cabal.hs") | ||
+cabalWrapperHs = $(embedStringFile "external/haskell_hie__bios/wrappers/cabal.hs") | ||
|
||
processCabalWrapperArgs :: String -> Maybe [String] | ||
processCabalWrapperArgs args = | ||
@@ -221,7 +221,7 @@ stackCradle wdir = | ||
|
||
-- Same wrapper works as with cabal | ||
stackWrapper :: String | ||
-stackWrapper = $(embedStringFile "wrappers/cabal") | ||
+stackWrapper = $(embedStringFile "external/haskell_hie__bios/wrappers/cabal") | ||
|
||
stackAction :: FilePath -> FilePath -> IO (ExitCode, String, [String]) | ||
stackAction work_dir fp = do | ||
@@ -272,7 +272,7 @@ rulesHaskellCradle wdir = | ||
|
||
|
||
bazelCommand :: String | ||
-bazelCommand = $(embedStringFile "wrappers/bazel") | ||
+bazelCommand = $(embedStringFile "external/haskell_hie__bios/wrappers/bazel") | ||
|
||
rulesHaskellAction :: FilePath -> FilePath -> IO (ExitCode, String, [String]) | ||
rulesHaskellAction work_dir fp = do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters