Skip to content

Commit

Permalink
Make run command backwards-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Feb 18, 2024
1 parent 22d19cf commit bc05acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/run.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
builtinStuff@{ pkgs, tools, isFlakes, pre-commit, git, runCommand, writeText, writeScript, lib, gitignore-nix-src }:

{ src
, settings ? { }
, hooks ? { }
, excludes ? [ ]
, tools ? { }
Expand All @@ -17,7 +18,7 @@ let
{
_module.args.pkgs = pkgs;
_module.args.gitignore-nix-src = gitignore-nix-src;
inherit hooks excludes default_stages;
inherit hooks excludes default_stages settings;
tools = builtinStuff.tools // tools;
package = pre-commit;
} // (if isFlakes
Expand Down

0 comments on commit bc05acf

Please sign in to comment.