guid: fix compilation of Setup.hs and disable tests

guid: fix compilation of Setup.hs and disable tests

Add more docs

Remove guid from broken-packages
This commit is contained in:
Aycan Irican 2020-05-23 23:37:41 -07:00 committed by Peter Simons
parent d895bad12a
commit accaa8790c
2 changed files with 8 additions and 1 deletions

View File

@ -5324,7 +5324,6 @@ broken-packages:
- gtksourceview3
- guarded-rewriting
- guess-combinator
- guid
- GuiHaskell
- GuiTV
- gulcii

View File

@ -761,4 +761,12 @@ self: super: builtins.intersectAttrs super {
rebase_1_6_1 = super.rebase_1_6_1.override {
selective = super.selective_0_4_1;
};
# Fix compilation of Setup.hs by removing the module declaration.
# See: https://github.com/tippenein/guid/issues/1
guid = overrideCabal (super.guid) (drv: {
prePatch = "sed -i '1d' Setup.hs"; # 1st line is module declaration, remove it
doCheck = false;
});
}