-
-
Notifications
You must be signed in to change notification settings - Fork 396
nix flake update & bump ghc 921 -> 922 (nix only) #2853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
d5d936f
Get rid of cabal-ghc90.project
pepeiborra c2313ed
fix trailing comma
pepeiborra 8c8fa89
hie-compat does not need ghc-lib on GHC 9.x
pepeiborra 0115629
Drop -haddock as ghc 8.10.7 fails to build ghc-lib with:
pepeiborra afcd63a
Add ghc-lib flag for hls-hlint-plugin
pepeiborra b8a8dbd
remove unnecessary allow-newer entries
pepeiborra a9a0299
flake.lock: Update
smunix f6f92dc
nix flake update & bump ghc921 -> ghc922
smunix 25df34a
myst-parser: bump docutils version requirements
smunix 0316b29
fix devShells and packages default
smunix 483e223
use ghc-exactprint 1.5.0 for ghc922
smunix 0671a86
ghc902: add flag hlint34 to nix
smunix 58258bf
macosx: add SSE-enabled ptr-poker dependency
smunix a74875d
ghc902 requires ghc-lib-parser >= 9.2
smunix 9b8176d
nix: ghcDefault supports HLS tweaks
smunix 2862ebb
ghc902 requires Cabal-36 to build Ormolu
smunix 5553277
flag ghc-lib for hls-hlint-plugin on ghc902
smunix dd18468
fix typo
smunix b868dd5
add support for pre-commit in mkDevShell
smunix 8e2aed2
fix typo
smunix f018e24
add ptr-poker to nix shell
smunix 573bb66
add ghc-884 configuration tweaks
smunix f1a519e
fix stylish-haskell for ghc-884
smunix 3e2fbfb
fix default ghc lookup
smunix b024b1d
ghc884: fixup brittany version to 0.13.1.2
smunix 89cdb05
ghc884: fixup aeson version to 1.5.2.0
smunix f2a936a
ghc884: fixup ormolu/fourmolu
smunix b0545b0
add configuration tweak for ghc8107
smunix 9d24aec
rename configuration-ghc-xxx.nix files
smunix b610547
update hackage index
smunix 9beb832
use current cabal/hackage to fetch ptr-poker in mkDevShell
smunix ca5e49b
reinstate .pre-commit.yaml
smunix 12b10eb
fix hls-922-dev-nix ghc version
smunix 6c5e009
nix: temporary disable "build binaries" from the work flow
smunix d0b26fa
nix: temporary disable builds and partially populate cachix
smunix a041124
nix: temporarily disable ghc 884 and 8107
smunix 0869af2
nix: temporarily disable nix develop run
smunix e276dca
nix: re-enable ghc8107/ghc884 builds, disable "build all binaries"
smunix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
8.6.5,cabal.project | ||
8.8.4,cabal.project | ||
8.10.7,cabal.project | ||
9.0.2,cabal-ghc90.project | ||
9.0.2,cabal.project | ||
9.2.1,cabal-ghc92.project | ||
9.2.2,cabal-ghc92.project |
This file contains hidden or 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
8.10.7,cabal.project | ||
9.0.2,cabal-ghc90.project | ||
9.0.2,cabal.project |
This file contains hidden or 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
8.10.7,cabal.project | ||
9.0.2,cabal-ghc90.project | ||
9.0.2,cabal.project | ||
9.2.2,cabal-ghc92.project | ||
9.2.1,cabal-ghc92.project |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,58 @@ | ||
{ pkgs, inputs }: | ||
|
||
let | ||
disabledPlugins = [ | ||
"hls-brittany-plugin" | ||
"hls-hlint-plugin" | ||
"hls-stylish-haskell-plugin" | ||
"hls-haddock-comments-plugin" | ||
"hls-tactics-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; | ||
|
||
ghc-lib = hself.ghc-lib_8_10_7_20220219; | ||
ghc-lib-parser = hself.ghc-lib-parser_8_10_7_20220219; | ||
|
||
fourmolu = hself.callCabal2nix "fourmolu" inputs.fourmolu-0300 { }; | ||
|
||
stylish-haskell = hself.callCabal2nixWithOptions "stylish-haskell" | ||
inputs.stylish-haskell-01220 (pkgs.lib.concatStringsSep " " [ ]) { }; | ||
|
||
aeson = hself.callCabal2nixWithOptions "aeson" inputs.aeson-1520 | ||
(pkgs.lib.concatStringsSep " " [ ]) { }; | ||
|
||
brittany = hself.callCabal2nixWithOptions "brittany" inputs.brittany-01312 | ||
(pkgs.lib.concatStringsSep " " [ ]) { }; | ||
|
||
hls-hlint-plugin = hself.callCabal2nixWithOptions "hls-hlint-plugin" | ||
./plugins/hls-hlint-plugin | ||
(pkgs.lib.concatStringsSep " " [ "-f-hlint34" "-fhyphenation" ]) { }; | ||
|
||
# Re-generate HLS drv excluding some plugins | ||
haskell-language-server = | ||
hself.callCabal2nixWithOptions "haskell-language-server" ./. | ||
(pkgs.lib.concatStringsSep " " [ | ||
"-fpedantic" | ||
"-f-hlint" | ||
"-f-fourmolu" | ||
"-f-ormolu" | ||
]) { }; | ||
|
||
# YOLO | ||
mkDerivation = args: | ||
hsuper.mkDerivation (args // { | ||
jailbreak = true; | ||
doCheck = false; | ||
}); | ||
}; | ||
in { | ||
inherit disabledPlugins; | ||
tweakHpkgs = hpkgs: hpkgs.extend hpkgsOverride; | ||
} |
This file contains hidden or 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,58 @@ | ||
{ pkgs, inputs }: | ||
|
||
let | ||
disabledPlugins = [ | ||
"hls-brittany-plugin" | ||
"hls-hlint-plugin" | ||
"hls-stylish-haskell-plugin" | ||
"hls-haddock-comments-plugin" | ||
"hls-tactics-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; | ||
|
||
ghc-lib = hself.ghc-lib_8_10_7_20220219; | ||
ghc-lib-parser = hself.ghc-lib-parser_8_10_7_20220219; | ||
|
||
fourmolu = hself.callCabal2nix "fourmolu" inputs.fourmolu-0300 { }; | ||
|
||
stylish-haskell = hself.callCabal2nixWithOptions "stylish-haskell" | ||
inputs.stylish-haskell-01220 (pkgs.lib.concatStringsSep " " [ ]) { }; | ||
|
||
aeson = hself.callCabal2nixWithOptions "aeson" inputs.aeson-1520 | ||
(pkgs.lib.concatStringsSep " " [ ]) { }; | ||
|
||
brittany = hself.callCabal2nixWithOptions "brittany" inputs.brittany-01312 | ||
(pkgs.lib.concatStringsSep " " [ ]) { }; | ||
|
||
hls-hlint-plugin = hself.callCabal2nixWithOptions "hls-hlint-plugin" | ||
./plugins/hls-hlint-plugin | ||
(pkgs.lib.concatStringsSep " " [ "-f-hlint34" "-fhyphenation" ]) { }; | ||
|
||
# Re-generate HLS drv excluding some plugins | ||
haskell-language-server = | ||
hself.callCabal2nixWithOptions "haskell-language-server" ./. | ||
(pkgs.lib.concatStringsSep " " [ | ||
"-fpedantic" | ||
"-f-hlint" | ||
"-f-fourmolu" | ||
"-f-ormolu" | ||
]) { }; | ||
|
||
# YOLO | ||
mkDerivation = args: | ||
hsuper.mkDerivation (args // { | ||
jailbreak = true; | ||
doCheck = false; | ||
}); | ||
}; | ||
in { | ||
inherit disabledPlugins; | ||
tweakHpkgs = hpkgs: hpkgs.extend hpkgsOverride; | ||
} |
This file contains hidden or 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,45 @@ | ||
{ pkgs, inputs }: | ||
|
||
let | ||
disabledPlugins = [ "hls-brittany-plugin" "hls-stylish-haskell-plugin" ]; | ||
|
||
hpkgsOverride = hself: hsuper: | ||
with pkgs.haskell.lib; { | ||
hlsDisabledPlugins = disabledPlugins; | ||
|
||
# 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-lib = hself.ghc-lib_9_2_2_20220307; | ||
ghc-lib-parser = hself.ghc-lib-parser_9_2_2_20220307; | ||
ghc-lib-parser-ex = hself.ghc-lib-parser-ex_9_2_0_3; | ||
|
||
Cabal = hself.Cabal_3_6_3_0; | ||
ormolu = hself.ormolu_0_4_0_0; | ||
fourmolu = hself.fourmolu_0_6_0_0; | ||
|
||
# Hlint is still broken | ||
hlint = doJailbreak (hself.callCabal2nix "hlint" inputs.hlint-34 { }); | ||
|
||
hls-hlint-plugin = hself.callCabal2nixWithOptions "hls-hlint-plugin" | ||
./plugins/hls-hlint-plugin | ||
(pkgs.lib.concatStringsSep " " [ "-fhlint34" "-fghc-lib" ]) { }; | ||
|
||
# Re-generate HLS drv excluding some plugins | ||
haskell-language-server = | ||
hself.callCabal2nixWithOptions "haskell-language-server" ./. | ||
(pkgs.lib.concatStringsSep " " [ "-f-brittany" "-f-stylishhaskell" ]) | ||
{ }; | ||
|
||
# YOLO | ||
mkDerivation = args: | ||
hsuper.mkDerivation (args // { | ||
jailbreak = true; | ||
doCheck = false; | ||
}); | ||
}; | ||
in { | ||
inherit disabledPlugins; | ||
tweakHpkgs = hpkgs: hpkgs.extend hpkgsOverride; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Sphinx==4.0.2 | ||
sphinx-rtd-theme==0.5.2 | ||
myst-parser==0.15.1 | ||
docutils<0.17 | ||
docutils<0.19 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.