Install libghc-regex-compat-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-regex-compat-dev
Description:
GHC library providing old Text.Regex interface
A library providing the old Text.Regex interface to the POSIX regular expression backend. . This package contains the libraries for use with GHC.
Homepage: http://sourceforge.net/projects/lazy-regex
Version: 0.95.1-10build1
Section: universe/haskell