summaryrefslogtreecommitdiffstats
path: root/community/ghc/ghc.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/ghc/ghc.post-install')
-rw-r--r--community/ghc/ghc.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/ghc/ghc.post-install b/community/ghc/ghc.post-install
new file mode 100644
index 00000000000..43a1034bf69
--- /dev/null
+++ b/community/ghc/ghc.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Force ghc-pkg to recache the base installed packages. Necessary as we
+# did make install DESTDIR=... so the cache has invalid locations.
+
+ghc-pkg recache