1
0
Fork 0
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:
Robert Hensing 2025-01-24 13:16:36 +01:00
parent 99dbcca5f1
commit ba6425a7d0
5 changed files with 114 additions and 3 deletions

View file

@ -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