Commit 900b092f authored by Andrew Gibiansky's avatar Andrew Gibiansky

Dont screw up kernelspec when no conf file is present

parent dbbcb06f
......@@ -150,8 +150,10 @@ installKernelspec replace opts = void $ do
let kernelFlags :: [String]
kernelFlags =
["--debug" | kernelSpecDebug opts] ++
["--conf"] ++ maybe [] singleton confFile ++
["--ghclib", kernelSpecGhcLibdir opts]
(case confFile of
Nothing -> []
Just file -> ["--conf", file])
++ ["--ghclib", kernelSpecGhcLibdir opts]
let kernelSpec = KernelSpec { kernelDisplayName = "Haskell"
, kernelLanguage = kernelName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment