-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into kokobd/os-path
- Loading branch information
Showing
222 changed files
with
6,247 additions
and
4,127 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
9.0.2,cabal.project | ||
9.2.3,cabal.project | ||
9.2.4,cabal.project | ||
9.4.1,cabal.project | ||
9.4.2,cabal.project |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
9.0.2,cabal.project | ||
9.2.3,cabal.project | ||
9.2.4,cabal.project | ||
9.4.1,cabal.project | ||
9.4.2,cabal.project |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ pkgs, inputs }: | ||
|
||
let | ||
disabledPlugins = [ | ||
"hls-hlint-plugin" | ||
# That one is not technically a plugin, but by putting it in this list, we | ||
# get it removed from the top level list of requirement and it is not pull | ||
# in the nix shell. | ||
"shake-bench" | ||
]; | ||
|
||
hpkgsOverride = hself: hsuper: | ||
with pkgs.haskell.lib; | ||
{ | ||
hlsDisabledPlugins = disabledPlugins; | ||
# YOLO | ||
mkDerivation = args: | ||
hsuper.mkDerivation (args // { | ||
jailbreak = true; | ||
doCheck = false; | ||
}); | ||
} // (builtins.mapAttrs (_: drv: disableLibraryProfiling drv) { | ||
# ptr-poker breaks on MacOS without SSE2 optimizations | ||
# https://github.com/nikita-volkov/ptr-poker/issues/11 | ||
ptr-poker = hself.callCabal2nix "ptr-poker" inputs.ptr-poker { }; | ||
|
||
ghc-exactprint = | ||
hself.callCabal2nix "ghc-exactprint" inputs.ghc-exactprint-150 { }; | ||
# Hlint is still broken | ||
hlint = doJailbreak (hself.callCabal2nix "hlint" inputs.hlint { }); | ||
|
||
stylish-haskell = appendConfigureFlag hsuper.stylish-haskell "-fghc-lib"; | ||
|
||
# Re-generate HLS drv excluding some plugins | ||
haskell-language-server = | ||
hself.callCabal2nixWithOptions "haskell-language-server" ./. | ||
(pkgs.lib.concatStringsSep " " [ "-fpedantic" "-f-hlint" ]) { }; | ||
}); | ||
in { | ||
inherit disabledPlugins; | ||
tweakHpkgs = hpkgs: hpkgs.extend hpkgsOverride; | ||
} |
Oops, something went wrong.