mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-17 20:06:07 +00:00
Fix build failures 2
This commit is contained in:
parent
71265f2d2e
commit
779ecf9e1d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
*.hi
|
||||
main/Main
|
||||
.stack-work
|
||||
notebooks/Test.ipynb
|
||||
notebooks/Untitled.ipynb
|
||||
|
@ -117,7 +117,7 @@ runKernel kernelOpts profileSrc = do
|
||||
(exitCode, stackStdout, _) <- readProcessWithExitCode "stack" [] ""
|
||||
let stack = exitCode == ExitSuccess && "The Haskell Tool Stack" `isInfixOf` stackStdout
|
||||
|
||||
#if MIN_VERSION_base(4,7,0)
|
||||
#if MIN_VERSION_ghc(7,8,0)
|
||||
-- If we're in a stack directory, use `stack` to set the environment
|
||||
-- We can't do this with base <= 4.6 because setEnv doesn't exist.
|
||||
when stack $ do
|
||||
|
Loading…
x
Reference in New Issue
Block a user