Skip to content

Commit

Permalink
This should get the additional PACKAGE_PATH loaded up into the correc…
Browse files Browse the repository at this point in the history
…t spot.
  • Loading branch information
mattpolzin committed Mar 10, 2024
1 parent a185010 commit 1ff6f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server/Main.idr
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ startServer =
Nothing => pure ()
pdirs <- coreLift $ idrisGetEnv "IDRIS2_PACKAGE_PATH"
the (Core ()) $ case pdirs of
Just path => do traverseList1_ addPackageDir (map trim (split (==pathSeparator) path))
Just path => do traverseList1_ addPackageSearchPath (map trim (split (==pathSeparator) path))
Nothing => pure ()
cg <- coreLift $ idrisGetEnv "IDRIS2_CG"
the (Core ()) $ case cg of
Expand Down

0 comments on commit 1ff6f10

Please sign in to comment.