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

@ -17,6 +17,7 @@
# work around 7730 and https://github.com/NixOS/nix/issues/7807
inputs.git-hooks-nix.inputs.flake-compat.follows = "";
inputs.git-hooks-nix.inputs.gitignore.follows = "";
inputs.nixfmt.url = "github:NixOS/nixfmt";
outputs = inputs@{ self, nixpkgs, nixpkgs-regression, ... }:
@ -301,7 +302,7 @@
});
devShells = let
makeShell = import ./packaging/dev-shell.nix { inherit lib devFlake; };
makeShell = import ./packaging/dev-shell.nix { inherit inputs lib devFlake; };
prefixAttrs = prefix: lib.concatMapAttrs (k: v: { "${prefix}-${k}" = v; });
in
forAllSystems (system: