Skip to content

Commit

Permalink
guid: fix compilation of Setup.hs and disable tests
Browse files Browse the repository at this point in the history
guid: fix compilation of Setup.hs and disable tests

Add more docs

Remove guid from broken-packages
  • Loading branch information
aycanirican authored and peti committed May 29, 2020
1 parent d895bad commit accaa87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5324,7 +5324,6 @@ broken-packages:
- gtksourceview3
- guarded-rewriting
- guess-combinator
- guid
- GuiHaskell
- GuiTV
- gulcii
Expand Down
8 changes: 8 additions & 0 deletions pkgs/development/haskell-modules/configuration-nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});

}

0 comments on commit accaa87

Please sign in to comment.