Skip to content

Commit

Permalink
chore: add pre-commit by flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
linw1995 committed Oct 14, 2024
1 parent 5d1364b commit c244068
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
++ lib.optionals pkgs.stdenv.isDarwin [
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
];
packages = with pkgs; [
pre-commit
];
};
devShells.x86_64-unknown-linux-musl = cross.mkShell (with cross.pkgsMusl; {
nativeBuildInputs = [
Expand Down

0 comments on commit c244068

Please sign in to comment.