Skip to content

Commit

Permalink
fix pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Oct 16, 2024
1 parent 46e74e4 commit 3062254
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
};
scripts."devenv-generate-doc-css" = {
description = "Generate CSS for the docs.";
exec = "${lib.getExe pkgs.tailwindcss} build --quiet -i docs/assets/extra.css -o docs/assets/output.css";
exec = "${lib.getExe pkgs.tailwindcss} build -i docs/assets/extra.css -o docs/assets/output.css 2>/dev/null";
};
scripts."devenv-generate-doc-options" = {
description = "Generate option docs.";
Expand Down Expand Up @@ -231,9 +231,6 @@ EOF
generate-doc-css = {
enable = true;
name = "generate-doc-css";
# In CI, the auto-commit action doesn't run in the shell, so it can't reuse our scripts.
# And the following command is curently too slow to be a pre-commit command.
# entry = "devenv shell devenv-generate-doc-css";
entry = config.scripts."devenv-generate-doc-css".exec;
};
};
Expand Down

0 comments on commit 3062254

Please sign in to comment.