Remove the generated pre-commit configuration
Everyone can generate it themselves from flake.nix. And since it is a symlink into /nix/store, if you don't then you don't really have it anyway.
And if it is present, when a downstream library tries to build with this one as a dependency:
Error: cabal: Failed to unpack tahoe-great-black-swamp-0.1.0.0 (which is
required by test:gbs-downloader-test from gbs-downloader-0.1.0.0). The
exception was:
Absolute file name in tar archive:
"/nix/store/h90v0z1a3298v96zskj2pimb5jmy3fhb-pre-commit-config.json"