Skip to content
Commit ec46eaad authored by Jean-Philippe Braun's avatar Jean-Philippe Braun Committed by Frederik Rietdijk
Browse files

pre-commit: use buildPythonPackage

Allows to build a python env with pre_commit module:

  python3.withPackages(p: [p.pre-commit])

pre-commit is already converted to an application in `git-and-tools/default.nix`:

  pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;

So that it can still be installed as a standalone application.
parent acfcd44a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment