theam / aws-lambda-haskell-runtime

⚡Haskell runtime for AWS Lambda
https://theam.github.io/aws-lambda-haskell-runtime/
Other
270 stars 48 forks source link

Fix compatibility with path-0.7 #58

Closed michaelpj closed 4 years ago

michaelpj commented 4 years ago

The recent patch requires us to have a version of path prior to 0.7, but it would be great to support version 0.7, so we can use this package with LTS-15 and onwards.

We get Nothing if the file doesn't exist, so this should do the job.

Unfortunately, path-0.7 only appears in LTS-15, so we need to bump our Stack resolver to that in order to keep building.

NickSeagull commented 4 years ago

Thank you very much!