Resolving dependencies... Starting kqueue-0.2.1 Building kqueue-0.2.1 Failed to install kqueue-0.2.1 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/kqueue-0.2.1-AhrbMFym2Q8Ek0UUBJ3jSN.log ): cabal: Entering directory '/tmp/cabal-tmp-31921/kqueue-0.2.1' Configuring kqueue-0.2.1... Preprocessing library for kqueue-0.2.1.. dist/build/System/KQueue.chs.h:3:10: fatal error: sys/event.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. c2hs: Error during preprocessing custom header file cabal: Leaving directory '/tmp/cabal-tmp-31921/kqueue-0.2.1' cabal: Error: some packages failed to install: kqueue-0.2.1-AhrbMFym2Q8Ek0UUBJ3jSN failed during the building phase. The exception was: ExitFailure 1