haskell.packages.ghc923.fourmolu: 0.6.0.0 -> 0.7.0.1

This commit is contained in:
sternenseemann 2022-06-04 11:56:56 +02:00
parent 305585788b
commit 28e9666850
2 changed files with 8 additions and 1 deletions

View file

@ -206,7 +206,7 @@ self: super: {
regex-rure = doDistribute (markUnbroken super.regex-rure);
jacinda = doDistribute super.jacinda;
some = doJailbreak super.some;
fourmolu = super.fourmolu_0_6_0_0;
fourmolu = super.fourmolu_0_7_0_1;
# hls-fourmolu-plugin in this version has a to strict upper bound of fourmolu <= 0.5.0.0
hls-fourmolu-plugin = assert super.hls-fourmolu-plugin.version == "1.0.3.0"; doJailbreak super.hls-fourmolu-plugin;
hls-ormolu-plugin = assert super.hls-ormolu-plugin.version == "1.0.2.1"; doJailbreak super.hls-ormolu-plugin;

View file

@ -941,6 +941,13 @@ self: super: builtins.intersectAttrs super {
'' + (drv.postConfigure or "");
}) super.procex;
# Test suite wants to run main executable
fourmolu_0_7_0_1 = overrideCabal (drv: {
preCheck = drv.preCheck or "" + ''
export PATH="$PWD/dist/build/fourmolu:$PATH"
'';
}) super.fourmolu_0_7_0_1;
# Apply a patch which hardcodes the store path of graphviz instead of using
# whatever graphviz is in PATH.
graphviz = overrideCabal (drv: {