This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From edbb3b49c57f6d33e0b3db1ec87fe93d596f3560 Mon Sep 17 00:00:00 2001 | |
From: Peter Jones <pjones@redhat.com> | |
Date: Mon, 9 Nov 2020 15:16:21 -0500 | |
Subject: [PATCH] dammit | |
--- | |
bin/{cov-emit => cov-emit-real} | Bin | |
bin/cov-emit | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ | |
2 files changed, 48 insertions(+) | |
rename bin/{cov-emit => cov-emit-real} (100%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# unregister broken GHC packages. Run this a few times to resolve dependency rot in installed packages. | |
# ghc-pkg-clean -f cabal/dev/packages*.conf also works. | |
function ghc-pkg-clean() { | |
for p in `ghc-pkg check $* 2>&1 | grep problems | awk '{print $6}' | sed -e 's/:$//'` | |
do | |
echo unregistering $p; ghc-pkg $* unregister $p | |
done | |
} | |
# remove all installed GHC/cabal packages, leaving ~/.cabal binaries and docs in place. |