Skip to content

Instantly share code, notes, and snippets.

View frozencemetery's full-sized avatar
🌲
I'll be at a place until a time.

Robbie Harwood frozencemetery

🌲
I'll be at a place until a time.
View GitHub Profile
@vathpela
vathpela / 0001-dammit.patch
Last active April 26, 2022 18:26
Fix coverity builds with any gcc in modern history...
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%)
@simonmichael
simonmichael / gist:1185421
Created September 1, 2011 03:59
ghc-pkg-clean, ghc-pkg-reset
# 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.