|
From: | Matthew Kraai |
Subject: | Packaging elm-compiler 0.19.1 |
Date: | Thu, 31 Dec 2020 04:11:06 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.6.0 |
Hi,
I'm trying to upgrade to elm-compiler 0.19.1. With the attached patch, it fails with the following error:
Configuring elm-0.19.1... Setup.hs: Encountered missing dependencies: time >=1.9.1
I think that time is part of GHC. I removed the version requirement for time, but then it failed with the following error:
[ 8 of 130] Compiling File ( builder/src/File.hs, dist/build/elm/elm-tmp/File.dyn_o ) builder/src/File.hs:49:13: error: Not in scope: ?Time.nominalDiffTimeToSeconds? Neither ?Data.Time.Clock? nor ?Data.Time.Clock.POSIX? exports ?nominalDiffTimeToSeconds?. | 49 | (Time . Time.nominalDiffTimeToSeconds . Time.utcTimeToPOSIXSeconds) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
How can I fix this problem?
-- Matthew Kraai
patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |