update-nix-fetchgit: drop obsolete overrides to fix evaluation

This commit is contained in:
Peter Simons 2021-03-18 10:02:55 +01:00
parent db0e36a58a
commit e6bff67db0

View file

@ -1397,10 +1397,7 @@ self: super: {
# PATH. # PATH.
update-nix-fetchgit = let deps = [ pkgs.git pkgs.nix pkgs.nix-prefetch-git ]; update-nix-fetchgit = let deps = [ pkgs.git pkgs.nix pkgs.nix-prefetch-git ];
in generateOptparseApplicativeCompletion "update-nix-fetchgit" (overrideCabal in generateOptparseApplicativeCompletion "update-nix-fetchgit" (overrideCabal
(addTestToolDepends (super.update-nix-fetchgit.overrideScope (self: super: { (addTestToolDepends super.update-nix-fetchgit deps) (drv: {
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 ]; buildTools = drv.buildTools or [ ] ++ [ pkgs.makeWrapper ];
postInstall = drv.postInstall or "" + '' postInstall = drv.postInstall or "" + ''
wrapProgram "$out/bin/update-nix-fetchgit" --prefix 'PATH' ':' "${ wrapProgram "$out/bin/update-nix-fetchgit" --prefix 'PATH' ':' "${