self: super:
let
- checkInputsAreNative = self.lib.hasInfix "nativeCheckInputs"
- (builtins.readFile <nixpkgs/doc/stdenv/stdenv.chapter.md>);
- checkInputsName =
- if checkInputsAreNative then "nativeCheckInputs" else "checkInputs";
-
fallback-git-cache = self.python3Packages.callPackage
({ buildPythonPackage, fetchgit, git, backoff, mypy, }:
buildPythonPackage rec {
hash = "sha256-g4TS/zX3e29Q3ThsCAX2wLLlYbi8fdux5uqAc+b/Oww=";
};
propagatedBuildInputs = [ backoff ];
- "${checkInputsName}" = [ git mypy ];
+ nativeCheckInputs = [ git mypy ];
doCheck = true;
checkPhase = "./test.sh";
}) { };
};
buildInputs = [ makeWrapper ];
propagatedBuildInputs = [ git-cache ];
- "${checkInputsName}" = [ nix_2_3 git mypy ];
+ nativeCheckInputs = [ nix_2_3 git mypy ];
postInstall = ''
wrapProgram "$out/bin/pinch" --prefix PATH : ${nix_2_3}/bin
'';