aboutsummaryrefslogtreecommitdiffstats
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 0000000000..43a1034bf6
--- /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