input-output-hk/iohk-monitoring-framework

Compilation error on MacOS

newhoggy opened this issue · 1 comments

This happens both in CI and locally.

src/Cardano/BM/Counters/Darwin.hsc:408:10: error:
    • Variable not in scope:
        getCpuTimes :: ProcessID -> IO MachTaskBasicInfo
    • Perhaps you meant data constructor ‘CpuTimes’ (line 144)
    |
408 |   cpu <- getCpuTimes   pid
    |          ^^^^^^^^^^^

See https://github.com/input-output-hk/iohk-monitoring-framework/pull/597/checks?check_run_id=1350890540

I have confirmed that if I revert to 8c47ef2, the library compiles fine on MacOS, so this is looking like a regression.