The hackage security library provides both server and client utilities for securing the Hackage package server. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache