mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
dev: Configure nixfmt (rfc style)
This commit is contained in:
parent
99dbcca5f1
commit
ba6425a7d0
5 changed files with 114 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, devFlake }:
|
||||
{ lib, inputs, devFlake }:
|
||||
|
||||
{ pkgs }:
|
||||
|
||||
|
@ -108,6 +108,7 @@ in {
|
|||
modular.pre-commit.settings.package
|
||||
(pkgs.writeScriptBin "pre-commit-hooks-install"
|
||||
modular.pre-commit.settings.installationScript)
|
||||
inputs.nixfmt.packages.${pkgs.hostPlatform.system}.default
|
||||
]
|
||||
# TODO: Remove the darwin check once
|
||||
# https://github.com/NixOS/nixpkgs/pull/291814 is available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue