]> git.scottworley.com Git - nix-pin-deps/commitdiff
Adapt to nixpkgs' nativeCheckInputs change
authorScott Worley <scottworley@scottworley.com>
Sat, 22 Jul 2023 15:16:41 +0000 (08:16 -0700)
committerScott Worley <scottworley@scottworley.com>
Sat, 22 Jul 2023 15:16:41 +0000 (08:16 -0700)
nixpkgs commit f39abbc3500451fc00c80fed71b0f6f7bba8b6a4, first released in
23.05, requires that everyone move their checkInputs to nativeCheckInputs.

default.nix

index b3b1fa6cc684a667a74d355139b2eeb88f30e4ec..146224c437d1755b827930ab6899e15f0acfe9a6 100644 (file)
@@ -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"}