summary refs log blame commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
blob: 5aa62342b77b96ca315b7166aea779afeafd98e6 (plain) (tree)










































                                                                                                                                               
 


                                        




                                                                     
                                        
                                                     



                                                      
                                                                                                                                                             

                            

                                        




                                             


                                                                     
                          
 
                                        

                                             




                                                 
                                               






                                                                                                                                                                                 

     
                                        
                                                           

                                               
      





                                                                                                                                                                                     



                                        
                                             
                           
                                              
 
                                        




                                                


                                             

                                        











                                                                                




                                             




                                                                     
 

                
                                    
                                           




                                                                             




               
                                           














                                                                                         
                                                     

                                               





                                                                      

     
                                           
                                                               

                                               
                                                                                                                                      





                                                                      


                                  
                                           
                                                                 










                                                                       
                                           















                                                                            
                                                                       













                                                                      
                                           
                                                           

                                                                 





                                                                      


                                                   
                                           
                                                             










                                                                       
                                           
                                                     

                                               







                                                                      
                                           












                                                                       
                                                     










                                                                            
                                           
                                                     













                                                                       
                                                                    
                                                           








                                                                       
                                                                            

     
                                                                    
                                                               
















                                                                       
                                                                                  

     
                                                             
                                                                   

                                               





                                                                      


                                   
                                                                        
                                                     










                                                                       
















                                                                                                                 
                                                                   
                                                   










                                                                         
                                                                 
                                             








                                                                       


                                                                                                                            


                                                    






                                               
                                                                                                                                                                                        

     
                                                                        
                                                     








                                                                       
                                           

     
                                                                     
                                                   










                                                                       
                                                              
                                                       










                                                                       













                                                                       











                                                                      
                                                                    
                                                             










                                                                                                                         



























                                                                             





                                                       





                                               





                                                     





                                                           


                           






                                                                            


                                                           


                           
                                                                 

                                               



                                                             


                                                                             





                                                 





                                                           





                                                                 


                           






                                                





                                               


                                                                     


                           







                                                                                   


                                                             





                                               





                                                           





                                                         


                           
                                                     
                                               
                                





                                                                 





                                                                         


                           
                                           
                                               
                          


                           





                                                     


                                                                             




                                                             
                          


                           






                                                                                     
                                                         
                                                   








                                                                                                          
                                               
                                            


                           


                                               


                           


                                                           










                                                                   

                           
 
                                            

                                                  




                                                                                  


                                                 
                                                



                                                                                                      



                                                        


                                                                


                                      






                                                                      


                                                          


                                                      





                                                                                               


                                                                                                     
 
{ pkgs, haskellLib }:

with haskellLib;

self: super: {

  # Use the latest LLVM.
  inherit (pkgs) llvmPackages;

  # Disable GHC 8.4.x core libraries.
  #
  # Verify against:
  # ls /nix/store/wnh3kxra586h9wvxrn62g4lmsri2akds-ghc-8.4.20180115/lib/ghc-8.4.20180115/ -1 | sort | grep -e '-' | grep -Ev '(txt|h|targets)$'
  array = null;
  base = null;
  binary = null;
  bytestring = null;
  Cabal = null;
  containers = null;
  deepseq = null;
  directory = null;
  filepath = null;
  bin-package-db = null;
  ghc-boot = null;
  ghc-boot-th = null;
  ghc-compact = null;
  ghci = null;
  ghc-prim = null;
  haskeline = null;
  hpc = null;
  integer-gmp = null;
  mtl = null;
  parsec = null;
  pretty = null;
  process = null;
  stm = null;
  template-haskell = null;
  terminfo = null;
  text = null;
  time = null;
  transformers = null;
  unix = null;
  xhtml = null;

  ## Shadowed:

  ## Needs bump to a versioned attribute
  ##     • Could not deduce (Semigroup (Dict a))
  ##         arising from the superclasses of an instance declaration
  ##       from the context: a
  constraints = super.constraints_0_10;

  ## Needs bump to a versioned attribute
  ## Issue: https://github.com/sol/doctest/issues/189
  doctest = overrideCabal super.doctest_0_14_1 (drv: {
    ## Setup: Encountered missing dependencies:
    ## ghc >=7.0 && <8.4
    ##
    ##        uncaught exception: IOException of type NoSuchThing (cabal: rawSystem: runInteractiveProcess: exec: does not exist (No such file or directory))
    doCheck         = false;
  });

  ## Needs bump to a versioned attribute
  ## Setup: Encountered missing dependencies:
  ## free >=4.9 && <5
  either = super.either_5;

  ## Needs bump to a versioned attribute
  ##     • Could not deduce (Semigroup (IterT m a))
  ##         arising from the superclasses of an instance declaration
  ##       from the context: (Monad m, Monoid a)
  free = super.free_5_0_1;

  ## Needs bump to a versioned attribute
  ## Setup: Encountered missing dependencies:
  ## base >=3 && <4.11
  ## Needed for (<>) in prelude
  funcmp = super.funcmp_1_9;

  ## Needs bump to a versioned attribute
  hspec = overrideCabal super.hspec_2_4_8 (drv: {
    ## Setup: Encountered missing dependencies:
    ## hspec-core ==2.4.4, hspec-discover ==2.4.4
    ##
    ## error: while evaluating the attribute ‘buildInputs’ of the derivation ‘hspec-2.4.8’ at /home/deepfire/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
    ## while evaluating the attribute ‘buildInputs’ of the derivation ‘stringbuilder-0.5.1’ at /home/deepfire/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
    ## infinite recursion encountered, at undefined position
    ## test suite causes an infinite loop
    doCheck         = false;
  });

  ## Needs bump to a versioned attribute
  hspec-core = overrideCabal super.hspec-core_2_4_8 (drv: {
    ## Setup: Encountered missing dependencies:
    ## QuickCheck >=2.5.1 && <2.11
    ##
    ## error: while evaluating the attribute ‘buildInputs’ of the derivation ‘hspec-core-2.4.8’ at /home/deepfire/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
    ## while evaluating the attribute ‘buildInputs’ of the derivation ‘silently-1.2.5’ at /home/deepfire/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
    ## while evaluating the attribute ‘buildInputs’ of the derivation ‘temporary-1.2.1.1’ at /home/deepfire/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
    ## while evaluating the attribute ‘buildInputs’ of the derivation ‘base-compat-0.9.3’ at /home/deepfire/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
    ## while evaluating the attribute ‘propagatedBuildInputs’ of the derivation ‘hspec-2.4.8’ at /home/deepfire/src/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
    ## infinite recursion encountered, at undefined position
    doCheck         = false;
  });

  ## Needs bump to a versioned attribute
  ## Setup: Encountered missing dependencies:
  ## hspec-discover ==2.4.8
  hspec-discover = super.hspec-discover_2_4_8;

  ## Needs bump to a versioned attribute
  ## Setup: Encountered missing dependencies:
  ## free ==4.*, template-haskell >=2.4 && <2.13
  lens = super.lens_4_16;

  ## Needs bump to a versioned attribute
  ## Setup: Encountered missing dependencies:
  ## doctest >=0.11.1 && <0.14
  semigroupoids = super.semigroupoids_5_2_2;

  ## Needs bump to a versioned attribute
  ## Issue: https://github.com/haskell/test-framework/issues/35
  test-framework = overrideCabal super.test-framework_0_8_2_0 (drv: {
    ##     • No instance for (Semigroup (TestOptions' Maybe))
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid (TestOptions' Maybe)’
    ##
    ## Setup: Encountered missing dependencies:
    ## QuickCheck >=2.3 && <2.10
    doCheck         = false;
  });

  ## Needs bump to a versioned attribute
  ## Setup: Encountered missing dependencies:
  ## doctest >=0.7 && <0.14
  turtle = super.turtle_1_5_4;

  ## Needs bump to a versioned attribute
  ##     Module ‘Data.Semigroup’ does not export ‘Monoid(..)’
  ##    |
  ## 80 | import Data.Semigroup (Semigroup(..), Monoid(..))
  unordered-containers = super.unordered-containers_0_2_9_0;


  ## On Hackage:

  ## On Hackage, awaiting for import
  tasty = overrideCabal super.tasty (drv: {
    ##     • No instance for (Semigroup OptionSet)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid OptionSet’
    version         = "1.0.0.1";
    sha256          = "0ggqffw9kbb6nlq1pplk131qzxndqqzqyf4s2p7576nljx11a7qf";
  });


  ## Upstreamed

  ## Upstreamed, awaiting a Hackage release
  deriving-compat = overrideCabal super.deriving-compat (drv: {
    ## Setup: Encountered missing dependencies:
    ## template-haskell >=2.5 && <2.13
    src = pkgs.fetchFromGitHub {
      owner  = "haskell-compat";
      repo   = "deriving-compat";
      rev    = "e592c6f8af53866dcf6f5700175a3b02bb4f77d3";
      sha256 = "0h4qadk7fmz5v3lbdsxfbf3ha81f73xn7v0s6wia16ika5yvfggs";
    };
    ## Setup: Encountered missing dependencies:
    ## th-abstraction >=0.2.2 && <1
    libraryHaskellDepends = drv.libraryHaskellDepends ++ (with self; [ th-abstraction ]);
  });

  ## Upstreamed, awaiting a Hackage release
  haskell-gi = overrideCabal super.haskell-gi (drv: {
    ## Setup: Encountered missing dependencies:
    ## haskell-gi-base ==0.20.*
    src = pkgs.fetchFromGitHub {
      owner  = "haskell-gi";
      repo   = "haskell-gi";
      rev    = "30d2e6415c5b57760f8754cd3003eb07483d60e6";
      sha256 = "1l3qm97gcjih695hhj80rbpnd72prnc81lg5y373yj8jk9f6ypbr";
    };
  });

  ## Upstreamed, awaiting a Hackage release
  haskell-gi-base = overrideCabal super.haskell-gi-base (drv: {
    ## Setup: Encountered missing dependencies:
    ## haskell-gi-base ==0.21.*
    ## cannot build derivation ‘/nix/store/qvnrni6j2sz8z26kmjz1hgxfxvggkvjl-gi-cairo-1.0.14.drv’: 1 dependencies couldn't be built
    src = pkgs.fetchFromGitHub {
      owner  = "haskell-gi";
      repo   = "haskell-gi";
      rev    = "30d2e6415c5b57760f8754cd3003eb07483d60e6";
      sha256 = "1l3qm97gcjih695hhj80rbpnd72prnc81lg5y373yj8jk9f6ypbr";
    };
    prePatch        = "cd base; ";
  });

  ## Upstreamed, awaiting a Hackage release
  haskell-src-exts = overrideCabal super.haskell-src-exts (drv: {
    ##     • Could not deduce (Semigroup (ParseResult m))
    ##         arising from the superclasses of an instance declaration
    ##       from the context: Monoid m
    src = pkgs.fetchFromGitHub {
      owner  = "haskell-suite";
      repo   = "haskell-src-exts";
      rev    = "935f6f0915e89c314b686bdbdc6980c72335ba3c";
      sha256 = "1v3c1bd5q07qncqfbikvs8h3r4dr500blm5xv3b4jqqv69f0iam9";
    };
  });

  ## Upstreamed, awaiting a Hackage release
  http-api-data = overrideCabal super.http-api-data (drv: {
    ##     • No instance for (Semigroup Form)
    ##         arising from the 'deriving' clause of a data type declaration
    ##       Possible fix:
    src = pkgs.fetchFromGitHub {
      owner  = "fizruk";
      repo   = "http-api-data";
      rev    = "83aac9540f4a304927c601c5db12f4dc2bf93816";
      sha256 = "14hy13szr09vsisxi25a4qfajqjwznvn222bqk55dcdlnrgf0zi9";
    };
    ## Setup: Encountered missing dependencies:
    ## base >=4.7 && <4.11
    jailbreak       = true;
  });

  ## Upstreamed, awaiting a Hackage release
  lambdacube-compiler = overrideCabal super.lambdacube-compiler (drv: {
    ## Setup: Encountered missing dependencies:
    ## aeson >=0.9 && <0.12,
    ## base >=4.7 && <4.10,
    ## directory ==1.2.*,
    ## megaparsec ==5.0.*,
    ## vector ==0.11.*
    src = pkgs.fetchFromGitHub {
      owner  = "lambdacube3d";
      repo   = "lambdacube-compiler";
      rev    = "ff6e3b136eede172f20ea8a0f7017ad1ecd029b8";
      sha256 = "0srzrq5s7pdbygn7vdipxl12a3gbyb6bpa7frbh8zwhb9fz0jx5m";
    };
  });

  ## Upstreamed, awaiting a Hackage release
  lambdacube-ir = overrideCabal super.lambdacube-ir (drv: {
    ## Setup: Encountered missing dependencies:
    ## aeson >=0.9 && <0.12, base >=4.8 && <4.10, vector ==0.11.*
    src = pkgs.fetchFromGitHub {
      owner  = "lambdacube3d";
      repo   = "lambdacube-ir";
      rev    = "b86318b510ef59606c5b7c882cad33af52ce257c";
      sha256 = "0j4r6b32lcm6jg653xzg9ijxkfjahlb4x026mv5dhs18kvgqhr8x";
    };
    prePatch        = "cd lambdacube-ir.haskell; ";
  });

  ## Upstreamed, awaiting a Hackage release
  simple-reflect = overrideCabal super.simple-reflect (drv: {
    ##     • No instance for (Semigroup Expr)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid Expr’
    src = pkgs.fetchFromGitHub {
      owner  = "twanvl";
      repo   = "simple-reflect";
      rev    = "c357e55da9a712dc5dbbfe6e36394e4ada2db310";
      sha256 = "15q41b00l8y51xzhbj5zhddyh3gi7gvml033w8mm2fih458jf6yq";
    };
  });

  ## Upstreamed, awaiting a Hackage release
  singletons = overrideCabal super.singletons (drv: {
    ## Setup: Encountered missing dependencies:
    ## th-desugar ==1.7.*
    src = pkgs.fetchFromGitHub {
      owner  = "goldfirere";
      repo   = "singletons";
      rev    = "23aa4bdaf05ce025a2493b35ec3c26cc94e3fdce";
      sha256 = "0hw12v4z8jxmykc3j8z6g27swmfpxv40bgnx7nl0ialpwbz9mz27";
    };
  });

  ## Upstreamed, awaiting a Hackage release
  tar = overrideCabal super.tar (drv: {
    ##     • No instance for (Semigroup (Entries e))
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid (Entries e)’
    src = pkgs.fetchFromGitHub {
      owner  = "haskell";
      repo   = "tar";
      rev    = "abf2ccb8f7da0514343a0b2624cabebe081bdfa8";
      sha256 = "0s33lgrr574i1r7zc1jqahnwx3dv47ny30mbx5zfpdzjw0jdl5ny";
    };
  });

  ## Upstreamed, awaiting a Hackage release
  th-desugar = overrideCabal super.th-desugar (drv: {
    ##     • Could not deduce (MonadIO (DsM q))
    ##         arising from the 'deriving' clause of a data type declaration
    ##       from the context: Quasi q
    src = pkgs.fetchFromGitHub {
      owner  = "goldfirere";
      repo   = "th-desugar";
      rev    = "4ca98c6492015e6ad063d3ad1a2ad6c4f0a56837";
      sha256 = "1n3myd3gia9qsgdvrwqa023d3g7wkrhyv0wc8czwzz0lj9xzh7lw";
    };
  });

  ## Upstreamed, awaiting a Hackage release
  websockets = overrideCabal super.websockets (drv: {
    ##     • No instance for (Semigroup SizeLimit)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid SizeLimit’
    src = pkgs.fetchFromGitHub {
      owner  = "jaspervdj";
      repo   = "websockets";
      rev    = "11ba6d15cf47bace1936b13a58192e37908b0300";
      sha256 = "1swphhnqvs5kh0wlqpjjgx9q91yxi6lasid8akdxp3gqll5ii2hf";
    };
  });


  ## Unmerged

  ## Unmerged.  PR: https://github.com/lpsmith/blaze-builder/pull/10
  blaze-builder = overrideCabal super.blaze-builder (drv: {
    ##     • No instance for (Semigroup Poke)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid Poke’
    src = pkgs.fetchFromGitHub {
      owner  = "bgamari";
      repo   = "blaze-builder";
      rev    = "b7195f160795a081adbb9013810d843f1ba5e062";
      sha256 = "1g351fdpsvn2lbqiy9bg2s0wwrdccb8q1zh7gvpsx5nnj24b1c00";
    };
    jailbreak = true;   # https://github.com/lpsmith/blaze-builder/issues/12
  });

  ## Unmerged.  PR: https://github.com/wrengr/bytestring-trie/pull/3
  bytestring-trie = overrideCabal super.bytestring-trie (drv: {
    ##     • Could not deduce (Semigroup (Trie a))
    ##         arising from the superclasses of an instance declaration
    ##       from the context: Monoid a
    src = pkgs.fetchFromGitHub {
      owner  = "RyanGlScott";
      repo   = "bytestring-trie";
      rev    = "e0ae0cb1ad40dedd560090d69cc36f9760797e29";
      sha256 = "1jkdchvrca7dgpij5k4h1dy4qr1rli3fzbsqajwxmx9865rgiksl";
    };
    ## Setup: Encountered missing dependencies:
    ## HUnit >=1.3.1.1 && <1.7,
    ## QuickCheck >=2.4.1 && <2.11,
    ## lazysmallcheck ==0.6.*,
    ## smallcheck >=1.1.1 && <1.2
    doCheck         = false;
    ## Setup: Encountered missing dependencies:
    ## data-or ==1.0.*
    libraryHaskellDepends = drv.libraryHaskellDepends ++ (with self; [ data-or ]);
  });

  ## Unmerged.  PR: https://github.com/gtk2hs/gtk2hs/pull/233
  gtk2hs-buildtools = overrideCabal super.gtk2hs-buildtools (drv: {
    ## Setup: Encountered missing dependencies:
    ## Cabal >=1.24.0.0 && <2.1
    src = pkgs.fetchFromGitHub {
      owner  = "deepfire";
      repo   = "gtk2hs";
      rev    = "08c68d5afc22dd5761ec2c92ebf49c6d252e545b";
      sha256 = "06prn5wqq8x225n9wlbyk60f50jyjj8fm2hf181dyqjpf8wq75xa";
    };
    prePatch        = "cd tools; ";
  });

  ## Unmerged.  PR: https://github.com/gregorycollins/hashtables/pull/46
  hashtables = overrideCabal super.hashtables (drv: {
    ##     • No instance for (Semigroup Slot)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid Slot’
    src = pkgs.fetchFromGitHub {
      owner  = "deepfire";
      repo   = "hashtables";
      rev    = "b9eb4b10a50bd6250330422afecc065339a32412";
      sha256 = "0l4nplpvnzzf397zyh7j2k6yiqb46k6bdy00m4zzvhlfp7p1xkaw";
    };
  });

  ## Unmerged.  PR: https://github.com/sol/hpack/pull/277
  ## Issue: https://github.com/sol/hpack/issues/276
  hpack = overrideCabal super.hpack (drv: {
    ##     • No instance for (Semigroup Dependencies)
    ##         arising from the 'deriving' clause of a data type declaration
    ##       Possible fix:
    src = pkgs.fetchFromGitHub {
      owner  = "deepfire";
      repo   = "hpack";
      rev    = "acce0cffcc1d165a0fd9f0b83878dfbd622ea0d6";
      sha256 = "1wv0ya1gb1hwd9w8g4z5aig694q3arsqhxv0d4wcp270xnq9ja8y";
    };
    ## Setup: Encountered missing dependencies:
    ## http-client -any, http-client-tls -any, http-types -any
    libraryHaskellDepends = drv.libraryHaskellDepends ++ (with self; [ http-client http-client-tls http-types ]);
  });

  ## Unmerged.  PR: https://github.com/hanshoglund/monadplus/pull/3
  monadplus = overrideCabal super.monadplus (drv: {
    ##     • No instance for (Semigroup (Partial a b))
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid (Partial a b)’
    src = pkgs.fetchFromGitHub {
      owner  = "asr";
      repo   = "monadplus";
      rev    = "aa09f2473e2c906f2707b8a3fdb0a087405fd6fb";
      sha256 = "0g37s3rih4i3vrn4kjwj12nq5lkpckmjw33xviva9gly2vg6p3xc";
    };
  });

  ## Unmerged.  PR: https://github.com/reflex-frp/reflex/pull/158
  reflex = overrideCabal super.reflex (drv: {
    ##     • Could not deduce (Semigroup (Event t a))
    ##         arising from the superclasses of an instance declaration
    ##       from the context: (Semigroup a, Reflex t)
    src = pkgs.fetchFromGitHub {
      owner  = "deepfire";
      repo   = "reflex";
      rev    = "4fb50139db45a37493b91973eeaad9885b4c63ca";
      sha256 = "0i7pp6cw394m2vbwcqv9z5ngdarp01sabqr1jkkgchxdkkii94nx";
    };
    ## haddock: internal error: internal: extractDecl (ClsInstD)
    ## CallStack (from HasCallStack):
    ##   error, called at utils/haddock/haddock-api/src/Haddock/Interface/Create.hs:1058:16 in main:Haddock.Interface.Create
    doHaddock       = false;
    ## Setup: Encountered missing dependencies:
    ## base >=4.7 && <4.11, bifunctors >=5.2 && <5.5
    jailbreak       = true;
    ## Setup: Encountered missing dependencies:
    ## data-default -any,
    ## lens -any,
    ## monad-control -any,
    ## prim-uniq -any,
    ## reflection -any,
    libraryHaskellDepends = drv.libraryHaskellDepends ++ (with self; [ data-default haskell-src-exts lens monad-control prim-uniq reflection split template-haskell unbounded-delays ]);
  });

  ## Unmerged.  PR: https://github.com/ChrisKuklewicz/regex-tdfa/pull/13
  regex-tdfa = overrideCabal super.regex-tdfa (drv: {
    ##     • No instance for (Semigroup (CharMap a))
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid (CharMap a)’
    src = pkgs.fetchFromGitHub {
      owner  = "bgamari";
      repo   = "regex-tdfa";
      rev    = "34f4593a520176a917b74b8c7fcbbfbd72fb8178";
      sha256 = "1aiklvf08w1hx2jn9n3sm61mfvdx4fkabszkjliapih2yjpmi3hq";
    };
    jailbreak = true;   # base >=4 && <4.11
  });

  ## Unmerged.  PR: https://github.com/vincenthz/hs-securemem/pull/12
  securemem = overrideCabal super.securemem (drv: {
    ##     • No instance for (Semigroup SecureMem)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid SecureMem’
    src = pkgs.fetchFromGitHub {
      owner  = "shlevy";
      repo   = "hs-securemem";
      rev    = "6168d90b00bfc6a559d3b9160732343644ef60fb";
      sha256 = "06dhx1z44j5gshpdlsb4aryr3g4was3x4c2sgv1px8j57zrvlypx";
    };
  });

  ## Unmerged.  PR: https://github.com/bos/text-format/pull/21
  text-format = overrideCabal super.text-format (drv: {
    ##     • No instance for (Semigroup Format)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid Format’
    src = pkgs.fetchFromGitHub {
      owner  = "deepfire";
      repo   = "text-format";
      rev    = "a1cda87c222d422816f956c7272e752ea12dbe19";
      sha256 = "0lyrx4l57v15rvazrmw0nfka9iyxs4wyaasjj9y1525va9s1z4fr";
    };
  });

  ## Unmerged.  PR: https://github.com/vincenthz/hs-tls/pull/270
  tls = overrideCabal super.tls (drv: {
    ##     • No instance for (Semigroup Credentials)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid Credentials’
    src = pkgs.fetchFromGitHub {
      owner  = "ocheron";
      repo   = "hs-tls";
      rev    = "763656fbc6c2edabb43fc63d8717960f4b26e6e7";
      sha256 = "0v7f9b78w6prkbscdx5ggjixll9z1zfqzm5x0ap4wvynnflkspqb";
    };
    prePatch        = "cd core; ";
  });

  ## Unmerged.  PR: https://github.com/Soostone/uri-bytestring/pull/0
  uri-bytestring = overrideCabal super.uri-bytestring (drv: {
    ## Setup: Encountered missing dependencies:
    ## template-haskell >=2.9 && <2.13
    src = pkgs.fetchFromGitHub {
      owner  = "koenigmaximilian";
      repo   = "uri-bytestring";
      rev    = "105d5855bbf9c78d1e48394677b42a058e242fc9";
      sha256 = "144hr12k0d61zpgxv62vwlzy6bfs01fqh7qr4qsbv457sznmbb9d";
    };
  });

  ## Unmerged.  PR: https://github.com/ivan-m/wl-pprint-text/pull/17
  wl-pprint-text = overrideCabal super.wl-pprint-text (drv: {
    ##     Ambiguous occurrence ‘<>’
    ##     It could refer to either ‘PP.<>’,
    ##                              imported from ‘Prelude.Compat’ at Text/PrettyPrint/Leijen/Text/Monadic.hs:73:1-36
    src = pkgs.fetchFromGitHub {
      owner  = "deepfire";
      repo   = "wl-pprint-text";
      rev    = "615b83d1e5be52d1448aa1ab2517b431a617027b";
      sha256 = "1p67v9s878br0r152h4n37smqhkg78v8zxhf4qm6d035s4rzj76i";
    };
  });

  ## Unmerged.  PR: https://github.com/vincenthz/hs-certificate/pull/89
  x509 = overrideCabal super.x509 (drv: {
    ##     • No instance for (Semigroup DistinguishedName)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid DistinguishedName’
    src = pkgs.fetchFromGitHub {
      owner  = "bgamari";
      repo   = "hs-certificate";
      rev    = "2c5f54ba69c8a0531d10f9b37542bf958ede54c9";
      sha256 = "1fakr9gqz8k62rnjdsslfavbqrhn92jq9mahyc91f9zhisxp5kdf";
    };
    prePatch        = "cd x509; ";
  });

  ## Unmerged.  PR: https://github.com/vincenthz/hs-certificate/pull/89
  x509-store = overrideCabal super.x509-store (drv: {
    ##     • No instance for (Semigroup CertificateStore)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid CertificateStore’
    src = pkgs.fetchFromGitHub {
      owner  = "bgamari";
      repo   = "hs-certificate";
      rev    = "2c5f54ba69c8a0531d10f9b37542bf958ede54c9";
      sha256 = "1fakr9gqz8k62rnjdsslfavbqrhn92jq9mahyc91f9zhisxp5kdf";
    };
    prePatch        = "cd x509-store; ";
  });


  ## Non-code, configuration-only change

  adjunctions = overrideCabal super.adjunctions (drv: {
    ## Setup: Encountered missing dependencies:
    ## free ==4.*
    jailbreak       = true;
  });

  async = overrideCabal super.async (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.3 && <4.11
    jailbreak       = true;
  });

  bifunctors = overrideCabal super.bifunctors (drv: {
    ## Setup: Encountered missing dependencies:
    ## template-haskell >=2.4 && <2.13
    jailbreak       = true;
  });

  bindings-GLFW = overrideCabal super.bindings-GLFW (drv: {
    ## Setup: Encountered missing dependencies:
    ## template-haskell >=2.10 && <2.13
    jailbreak       = true;
  });

  cabal2nix = super.cabal2nix.override {
    ##     • No instance for (Semigroup (List a))
    ##         arising from the 'deriving' clause of a data type declaration
    ##       Possible fix:
    hpack = self.hpack;
  };

  cabal-doctest = overrideCabal super.cabal-doctest (drv: {
    ## Setup: Encountered missing dependencies:
    ## Cabal >=1.10 && <2.1, base >=4.3 && <4.11
    jailbreak       = true;
  });

  deepseq-generics = overrideCabal super.deepseq-generics (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.5 && <4.11
    ## https://github.com/haskell-hvr/deepseq-generics/pull/4
    jailbreak       = true;
  });

  exception-transformers = overrideCabal super.exception-transformers (drv: {
    ## Setup: Encountered missing dependencies:
    ## HUnit >=1.2 && <1.6
    jailbreak       = true;
  });

  hashable = overrideCabal super.hashable (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.4 && <4.11
    jailbreak       = true;
  });

  hashable-time = overrideCabal super.hashable-time (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.7 && <4.11
    jailbreak       = true;
  });

  haskell-src-meta = overrideCabal super.haskell-src-meta (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.6 && <4.11, template-haskell >=2.8 && <2.13
    jailbreak       = true;
  });

  here = overrideCabal super.here (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.5 && <4.11
    ## https://github.com/tmhedberg/here/pull/22
    jailbreak       = true;
  });

  hnix = overrideCabal super.hnix (drv: {
    ## Setup: Encountered missing dependencies:
    ## deriving-compat ==0.3.*
    jailbreak       = true;
  });

  integer-logarithms = overrideCabal super.integer-logarithms (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.3 && <4.11
    jailbreak       = true;
  });

  jailbreak-cabal = super.jailbreak-cabal.override {
    ##     • No instance for (Semigroup CDialect)
    ##         arising from the superclasses of an instance declaration
    ##     • In the instance declaration for ‘Monoid CDialect’
    ## Undo the override in `configuration-common.nix`: GHC 8.4 bumps Cabal to 2.1:
    Cabal = self.Cabal;
  };

  kan-extensions = overrideCabal super.kan-extensions (drv: {
    ## Setup: Encountered missing dependencies:
    ## free ==4.*
    jailbreak       = true;
  });

  keys = overrideCabal super.keys (drv: {
    ## Setup: Encountered missing dependencies:
    ## free ==4.*
    jailbreak       = true;
  });

  lambdacube-gl = overrideCabal super.lambdacube-gl (drv: {
    ## Setup: Encountered missing dependencies:
    ## vector ==0.11.*
    jailbreak       = true;
  });

  lifted-async = overrideCabal super.lifted-async (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.5 && <4.11
    jailbreak       = true;
  });

  megaparsec = overrideCabal super.megaparsec (drv: {
    ## Setup: Encountered missing dependencies:
    ## QuickCheck >=2.7 && <2.11
    doCheck         = false;
  });

  newtype-generics = overrideCabal super.newtype-generics (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.6 && <4.11
    jailbreak       = true;
  });

  quickcheck-instances = overrideCabal super.quickcheck-instances (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.5 && <4.11
    jailbreak       = true;
  });

  rapid = overrideCabal super.rapid (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.8 && <4.11
    jailbreak       = true;
  });

  scientific = overrideCabal super.scientific (drv: {
    ## Setup: Encountered missing dependencies:
    ## QuickCheck >=2.5 && <2.11
    doCheck         = false;
  });

  tasty-expected-failure = overrideCabal super.tasty-expected-failure (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.5 && <4.11
    jailbreak       = true;
  });

  tasty-hedgehog = overrideCabal super.tasty-hedgehog (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.8 && <4.11
    jailbreak       = true;
  });

  ## Issue: https://github.com/haskell/test-framework/issues/35
  test-framework-quickcheck2 = overrideCabal super.test-framework-quickcheck2 (drv: {
    ## Setup: Encountered missing dependencies:
    ## QuickCheck >=2.4 && <2.11
    jailbreak       = true;
  });

  ## Issue: https://github.com/ChrisPenner/rasa/issues/54
  text-lens = overrideCabal super.text-lens (drv: {
    ## Failures:
    ##   test/Spec.hs:136:
    ##   1) TextLens.range gets "" if invalid range
    ##        uncaught exception: ErrorCall (Data.Text.Array.new: size overflow
    ##        CallStack (from HasCallStack):
    ##          error, called at libraries/text/Data/Text/Array.hs:132:20 in text-1.2.3.0:Data.Text.Array)
    ## Randomized with seed 2114194349
    ## Finished in 0.0017 seconds
    doCheck         = false;
    ## Setup: Encountered missing dependencies:
    ## extra >=1.4.10 && <1.5, lens ==4.14.*
    jailbreak       = true;
  });

  these = overrideCabal super.these (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.5 && <4.11
    jailbreak       = true;
  });

  unliftio-core = overrideCabal super.unliftio-core (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.5 && <4.11
    jailbreak       = true;
  });

  vector-algorithms = overrideCabal super.vector-algorithms (drv: {
    ##     • Ambiguous type variable ‘mv0’
    doCheck         = false;
  });

  wavefront = overrideCabal super.wavefront (drv: {
    ## Setup: Encountered missing dependencies:
    ## base >=4.8 && <4.11
    jailbreak       = true;
  });

  # https://github.com/haskell/HTTP/pull/114
  HTTP = self.HTTP_4000_3_10;
  HTTP_4000_3_10 = dontCheck super.HTTP_4000_3_10;

  # Older versions don't compile.
  haddock-library = self.haddock-library_1_5_0_1;
  haddock-library_1_5_0_1 = dontHaddock (dontCheck super.haddock-library_1_5_0_1);

  # https://github.com/phadej/tree-diff/issues/15
  tree-diff = doJailbreak super.tree-diff;

  # https://github.com/jgm/doctemplates/issues/2
  doctemplates = appendPatch super.doctemplates (pkgs.fetchpatch
    { url = https://github.com/jgm/doctemplates/commit/3f8bb8feb19ed86b881bc09d963026db9d98df21.patch;
      sha256 = "0xmjljh8c90qlzp6wn39iy23pj2j0d4m4r1hxs22zps6qdwk5s6d";
    });

  # https://github.com/bitemyapp/esqueleto/issues/77
  esqueleto = markBrokenVersion "2.5.3" super.esqueleto;

  # https://github.com/haskell-pkg-janitors/haskell-src/issues/5
  haskell-src = markBrokenVersion "1.0.2.0" super.haskell-src;

  # Older versions don't compile.
  hackage-db = super.hackage-db_2_0_1;

  # https://github.com/RazvanRanca/GenericPretty/issues/2
  GenericPretty = appendPatch super.GenericPretty (pkgs.fetchpatch
    { url = https://github.com/RazvanRanca/GenericPretty/pull/3.patch;
      sha256 = "1dpdqsjmy9j9b6md5r9jyhbxnxjd51nmfb5in01j10iqzhj9j51k";
    }
  );

  # https://github.com/haskell/hackage-security/issues/211
  hackage-security = doJailbreak super.hackage-security;

  # https://github.com/pikajude/stylish-cabal/issues/6
  stylish-cabal = dontHaddock super.stylish-cabal;

  # https://github.com/treeowl/boxes/issues/29
  boxes = appendPatch super.boxes (pkgs.fetchpatch
    { url = https://github.com/asr/boxes/commit/f03e16cb8677a9d85687c641fe27a87e6fd94d54.patch;
      sha256 = "179vkn6jimiy64dwyam04x8v981l3pfrq3ig97600vnkns3v8i6a";
    });

  # https://bitbucket.org/IchUndNichtDu/haskell-setlocale/issues/1/please-allow-base-412-from-ghc-841
  setlocale = doJailbreak super.setlocale;

}