Skip to content

Commit c167450

Browse files
leiserfgsandydoo
andauthored
Update nix/run.nix
Co-authored-by: sander <[email protected]>
1 parent eb23b79 commit c167450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/run.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ let
1818
{
1919
_module.args.pkgs = pkgs;
2020
_module.args.gitignore-nix-src = gitignore-nix-src;
21-
package = lib.mkDefault (if builtins.hasAttr "prek" pkgs then pkgs.prek else pkgs.pre-commit);
21+
package = lib.mkDefault pre-commit;
2222
tools = lib.mkDefault (builtinStuff.tools // tools);
2323
} // (if isFlakes
2424
then { rootSrc = src; }

0 commit comments

Comments
 (0)