anchor.diff:    # which happens in nix-shell when a non-interactive bash is on PATH
     # PR to master: https://github.com/pcapriotti/optparse-applicative/pull/408
     optparse-applicative = appendPatch super.optparse-applicative (pkgs.fetchpatch {
  -    name = "optparse-applicative-0.15.1-hercules-ci-compgen.diff";
  -    url = "https://github.com/hercules-ci/optparse-applicative/compare/0.15.1...hercules-ci:0.15.1-nixpkgs-compgen.diff";
  -    sha256 = "1bcp6b7gvc8pqbn1n1ybhizkkl5if7hk9ipgl746vk08v0d3xxql";
  -  });
  -  optparse-applicative_0_16_0_0 = appendPatch super.optparse-applicative_0_16_0_0 (pkgs.fetchpatch {
       name = "optparse-applicative-0.15.1-hercules-ci-compgen.diff";
       url = "https://github.com/hercules-ci/optparse-applicative/compare/0.15.1...hercules-ci:0.15.1-nixpkgs-compgen.diff";
       sha256 = "1bcp6b7gvc8pqbn1n1ybhizkkl5if7hk9ipgl746vk08v0d3xxql";
  
positive.code:         }"
        '';
      }));
  
    optparse-generic_1_4_4 = super.optparse-generic_1_4_4.override {
      optparse-applicative = self.optparse-applicative_0_16_0_0;
    };
  
    # Our quickcheck-instances is too old for the newer binary-instances, but
    # quickcheck-instances is only used in the tests of binary-instances.
  
negative.code:   in generateOptparseApplicativeCompletion "update-nix-fetchgit" (overrideCabal
      (addTestToolDepends (super.update-nix-fetchgit.overrideScope (self: super: {
        optparse-generic = self.optparse-generic_1_4_4;
        optparse-applicative = self.optparse-applicative_0_16_1_0;
      })) deps) (drv: {
        buildTools = drv.buildTools or [ ] ++ [ pkgs.makeWrapper ];
        postInstall = drv.postInstall or "" + ''
  