From: Scott Worley Date: Sat, 22 Jul 2023 15:16:41 +0000 (-0700) Subject: Adapt to nixpkgs' nativeCheckInputs change X-Git-Tag: v1.1.0~3 X-Git-Url: http://git.scottworley.com/nix-pin-deps/commitdiff_plain/9a38ce234bd1fb25907af6c3828c52cff0532661 Adapt to nixpkgs' nativeCheckInputs change nixpkgs commit f39abbc3500451fc00c80fed71b0f6f7bba8b6a4, first released in 23.05, requires that everyone move their checkInputs to nativeCheckInputs. --- diff --git a/default.nix b/default.nix index b3b1fa6..146224c 100644 --- a/default.nix +++ b/default.nix @@ -5,7 +5,7 @@ pkgs.python3Packages.callPackage pname = "nix-pin-deps"; version = "1.0.0"; src = lib.cleanSource ./.; - checkInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ]; + nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ]; doCheck = true; checkPhase = '' ./test.sh ${lib.optionalString lint "lint"}