haskellPackages: Move permanent overrides to configuration.nix
This commit is contained in:
@@ -1010,11 +1010,6 @@ self: super: {
|
||||
# https://github.com/haskell-hvr/hgettext/issues/14
|
||||
hgettext = doJailbreak super.hgettext;
|
||||
|
||||
# Generate shell completion.
|
||||
cabal2nix = generateOptparseApplicativeCompletion "cabal2nix" super.cabal2nix;
|
||||
|
||||
ormolu = generateOptparseApplicativeCompletion "ormolu" super.ormolu;
|
||||
|
||||
stack =
|
||||
generateOptparseApplicativeCompletion "stack"
|
||||
(doJailbreak # for Cabal constraint added on hackage
|
||||
|
||||
@@ -96,8 +96,11 @@ self: super: builtins.intersectAttrs super {
|
||||
|
||||
# avoid compiling twice by providing executable as a separate output (with small closure size)
|
||||
niv = enableSeparateBinOutput (generateOptparseApplicativeCompletion "niv" super.niv);
|
||||
ormolu = enableSeparateBinOutput super.ormolu;
|
||||
ghcid = enableSeparateBinOutput super.ghcid;
|
||||
ormolu = generateOptparseApplicativeCompletion "ormolu" (enableSeparateBinOutput super.ormolu);
|
||||
|
||||
# Generate shell completion.
|
||||
cabal2nix = generateOptparseApplicativeCompletion "cabal2nix" super.cabal2nix;
|
||||
|
||||
arbtt = overrideCabal (drv: {
|
||||
# The test suite needs the packages's executables in $PATH to succeed.
|
||||
|
||||
Reference in New Issue
Block a user