private: No


building
Preprocessing library for orgstat-0.1.9..
Building library for orgstat-0.1.9..
[ 1 of 19] Compiling OrgStat.Ast      ( src/OrgStat/Ast.hs, dist/build/OrgStat/Ast.o, dist/build/OrgStat/Ast.dyn_o )
[ 2 of 19] Compiling OrgStat.CLI      ( src/OrgStat/CLI.hs, dist/build/OrgStat/CLI.o, dist/build/OrgStat/CLI.dyn_o )
[ 3 of 19] Compiling OrgStat.Logging  ( src/OrgStat/Logging.hs, dist/build/OrgStat/Logging.o, dist/build/OrgStat/Logging.dyn_o )
[ 4 of 19] Compiling OrgStat.Outputs.Types ( src/OrgStat/Outputs/Types.hs, dist/build/OrgStat/Outputs/Types.o, dist/build/OrgStat/Outputs/Types.dyn_o )
[ 5 of 19] Compiling OrgStat.Outputs.Class ( src/OrgStat/Outputs/Class.hs, dist/build/OrgStat/Outputs/Class.o, dist/build/OrgStat/Outputs/Class.dyn_o )
[ 6 of 19] Compiling OrgStat.Parser   ( src/OrgStat/Parser.hs, dist/build/OrgStat/Parser.o, dist/build/OrgStat/Parser.dyn_o )
[ 7 of 19] Compiling OrgStat.Scope    ( src/OrgStat/Scope.hs, dist/build/OrgStat/Scope.o, dist/build/OrgStat/Scope.dyn_o )
[ 8 of 19] Compiling OrgStat.Util     ( src/OrgStat/Util.hs, dist/build/OrgStat/Util.o, dist/build/OrgStat/Util.dyn_o )
[ 9 of 19] Compiling OrgStat.Outputs.Timeline ( src/OrgStat/Outputs/Timeline.hs, dist/build/OrgStat/Outputs/Timeline.o, dist/build/OrgStat/Outputs/Timeline.dyn_o )

src/OrgStat/Outputs/Timeline.hs:226:22: error:
    • Couldn't match type ‘[]’ with ‘NonEmpty’
      Expected type: NonEmpty LocalTime
        Actual type: [LocalTime]
    • In the first argument of ‘minimum’, namely ‘(map cFrom c)’
      In the expression: minimum (map cFrom c)
      In the expression: (minimum (map cFrom c), maximum (map cTo c))
    |
226 |         in (minimum (map cFrom c), maximum (map cTo c))
    |                      ^^^^^^^^^^^

src/OrgStat/Outputs/Timeline.hs:226:45: error:
    • Couldn't match type ‘[]’ with ‘NonEmpty’
      Expected type: NonEmpty LocalTime
        Actual type: [LocalTime]
    • In the first argument of ‘maximum’, namely ‘(map cTo c)’
      In the expression: maximum (map cTo c)
      In the expression: (minimum (map cFrom c), maximum (map cTo c))
    |
226 |         in (minimum (map cFrom c), maximum (map cTo c))
    |                                             ^^^^^^^^^
[10 of 19] Compiling OrgStat.Outputs.Block ( src/OrgStat/Outputs/Block.hs, dist/build/OrgStat/Outputs/Block.o, dist/build/OrgStat/Outputs/Block.dyn_o )
[11 of 19] Compiling OrgStat.Config   ( src/OrgStat/Config.hs, dist/build/OrgStat/Config.o, dist/build/OrgStat/Config.dyn_o )
[12 of 19] Compiling OrgStat.IO       ( src/OrgStat/IO.hs, dist/build/OrgStat/IO.o, dist/build/OrgStat/IO.dyn_o )
[13 of 19] Compiling OrgStat.WorkMonad ( src/OrgStat/WorkMonad.hs, dist/build/OrgStat/WorkMonad.o, dist/build/OrgStat/WorkMonad.dyn_o )
[14 of 19] Compiling OrgStat.Helpers  ( src/OrgStat/Helpers.hs, dist/build/OrgStat/Helpers.o, dist/build/OrgStat/Helpers.dyn_o )
[15 of 19] Compiling OrgStat.Outputs.Summary ( src/OrgStat/Outputs/Summary.hs, dist/build/OrgStat/Outputs/Summary.o, dist/build/OrgStat/Outputs/Summary.dyn_o )
[16 of 19] Compiling OrgStat.Outputs.Script ( src/OrgStat/Outputs/Script.hs, dist/build/OrgStat/Outputs/Script.o, dist/build/OrgStat/Outputs/Script.dyn_o )
[19 of 19] Compiling Paths_orgstat    ( dist/build/autogen/Paths_orgstat.hs, dist/build/Paths_orgstat.o, dist/build/Paths_orgstat.dyn_o )
builder for '/nix/store/gk8fb9ksd0z464zbcvb164aabrpq94nc-orgstat-0.1.9.drv' failed with exit code 1
error: build of '/nix/store/gk8fb9ksd0z464zbcvb164aabrpq94nc-orgstat-0.1.9.drv' failed