Install libghc-mmap-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-mmap-dev
Description:
Memory mapped files for POSIX and Windows
This library provides a wrapper to mmap(2) or MapViewOfFile, allowing files or devices to be lazily loaded into memory as strict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using the virtual memory subsystem to do on-demand loading. Modifications are also supported. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://hackage.haskell.org/package/mmap
Version: 0.5.9-5build1
Section: universe/haskell