mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-28 23:33:27 +03:00
Reorder Scheme compilers order to pick Chez Scheme first.
This fixes the issue where some Scheme compiler like mit-scheme is installed and that gets picked up first, leading to an infinite loop in the tests. Also see attached image in the PR.
This commit is contained in:
parent
952abe7fc8
commit
1c1e2b16ca
@ -25,7 +25,7 @@ findChez
|
||||
case env of
|
||||
Just n => pure n
|
||||
Nothing => do e <- firstExists [p ++ x | p <- ["/usr/bin/", "/usr/local/bin/"],
|
||||
x <- ["scheme", "chez", "chezscheme9.5"]]
|
||||
x <- ["chez", "chezscheme9.5", "scheme"]]
|
||||
pure $ fromMaybe "/usr/bin/env -S scheme" e
|
||||
|
||||
locate : {auto c : Ref Ctxt Defs} ->
|
||||
|
@ -125,7 +125,7 @@ findChez
|
||||
case env of
|
||||
Just n => pure $ Just n
|
||||
Nothing => firstExists [p ++ x | p <- ["/usr/bin/", "/usr/local/bin/"],
|
||||
x <- ["scheme", "chez", "chezscheme9.5"]]
|
||||
x <- ["chez", "chezscheme9.5", "scheme"]]
|
||||
|
||||
runChezTests : String -> List String -> IO (List Bool)
|
||||
runChezTests prog tests
|
||||
|
Loading…
Reference in New Issue
Block a user