1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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;
});
}