We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb23b79 commit c167450Copy full SHA for c167450
nix/run.nix
@@ -18,7 +18,7 @@ let
18
{
19
_module.args.pkgs = pkgs;
20
_module.args.gitignore-nix-src = gitignore-nix-src;
21
- package = lib.mkDefault (if builtins.hasAttr "prek" pkgs then pkgs.prek else pkgs.pre-commit);
+ package = lib.mkDefault pre-commit;
22
tools = lib.mkDefault (builtinStuff.tools // tools);
23
} // (if isFlakes
24
then { rootSrc = src; }
0 commit comments