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
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue