haskell-stack: clean up deep overrides
This commit is contained in:
parent
3a1a49c9ab
commit
f399f890dd
@ -1103,10 +1103,11 @@ self: super: {
|
||||
stack = generateOptparseApplicativeCompletion "stack" (super.stack.overrideScope (self: super: {
|
||||
ansi-terminal = self.ansi-terminal_0_9_1;
|
||||
concurrent-output = self.concurrent-output_1_10_10; # needed for new ansi-terminal version
|
||||
hi-file-parser = dontCheck (unmarkBroken super.hi-file-parser); # Avoid depending on newer hspec versions.
|
||||
http-download = dontCheck (unmarkBroken super.http-download);
|
||||
pantry-tmp = dontCheck (unmarkBroken super.pantry-tmp);
|
||||
rio = self.rio_0_1_9_2;
|
||||
hi-file-parser = dontCheck super.hi-file-parser; # Avoid depending on newer hspec versions.
|
||||
http-download = dontCheck super.http-download;
|
||||
pantry-tmp = dontCheck super.pantry-tmp;
|
||||
rio-prettyprint = unmarkBroken super.rio-prettyprint;
|
||||
}));
|
||||
|
||||
# musl fixes
|
||||
|
@ -161,6 +161,7 @@ rec {
|
||||
disableCabalFlag = drv: x: appendConfigureFlag (removeConfigureFlag drv "-f${x}") "-f-${x}";
|
||||
|
||||
markBroken = drv: overrideCabal drv (drv: { broken = true; hydraPlatforms = []; });
|
||||
unmarkBroken = drv: overrideCabal drv (drv: { broken = false; });
|
||||
markBrokenVersion = version: drv: assert drv.version == version; markBroken drv;
|
||||
|
||||
enableLibraryProfiling = drv: overrideCabal drv (drv: { enableLibraryProfiling = true; });
|
||||
|
Loading…
Reference in New Issue
Block a user