From 7088e9d510c75cbcea99965a5f056fbace0e8a77 Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Thu, 16 Jun 2022 19:16:15 -0500 Subject: [PATCH] nix: Add command to remove old hie files in postgrest-clean --- nix/tools/cabalTools.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/tools/cabalTools.nix b/nix/tools/cabalTools.nix index 210b4502e..4f030661e 100644 --- a/nix/tools/cabalTools.nix +++ b/nix/tools/cabalTools.nix @@ -28,6 +28,8 @@ let '' # clean old coverage data, too rm -rf .hpc coverage + # clean old hie files + find . -name "*.hie" -type f -delete exec ${cabal-install}/bin/cabal v2-clean '';