Nix pre-commit

Open-source Nix projects categorized as pre-commit

Nix pre-commit Projects

  • git-hooks.nix

    Seamless integration of https://pre-commit.com git hooks with Nix.

  • Project mention: Fast, Declarative, Reproduble and Composable Developer Environments Using Nix | news.ycombinator.com | 2024-04-12

    > Good luck getting answers on those questions other than "read the source code" and then followed by "no, not that source code, this branch here".

    I experienced a similar situation last week with git-hooks.nix[1], a pre-commit integration for Nix.

    I wanted to run biome[2] checks on my repository during pre-push so I wrote a custom hook because git-hooks.nix has pre-defined integrations with prettier and rome, but not biome.

    Or that's what I thought. I eventually found out that the rome hook is actually referred as "rome" everywhere but calls biome instead[3]. This wasn't documented anywhere, so I opened an issue[4] suggesting to rename the hook to "biome" and keep the former for backwards compatibility reasons.

    As of today, this has been acknowledged by one of the maintainers, whose sole feedback has been to "thumb down" the issue.

    TL;DR: It's not just the documentation, but also the code not doing what you would expect. It also seems there's no means to improve the situation other than just forking the project since there's also clearly some kind of communication problem.

    [1] https://github.com/cachix/git-hooks.nix

  • nix-pre-commit

    Generate pre-commit configurations with your flake.nix

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Nix pre-commit related posts

  • Fast, Declarative, Reproduble and Composable Developer Environments Using Nix

    5 projects | news.ycombinator.com | 12 Apr 2024
  • y|sndr - Hooking up with Git - A nix managed solution to git hook management

    1 project | /r/NixOS | 5 Dec 2021

Index

Project Stars
1 git-hooks.nix 456
2 nix-pre-commit 18

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com