aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ghc/ghc.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ghc/ghc.post-install')
-rwxr-xr-xtesting/ghc/ghc.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/ghc/ghc.post-install b/testing/ghc/ghc.post-install
new file mode 100755
index 0000000000..43a1034bf6
--- /dev/null
+++ b/testing/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