mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
flake.nix: remove treefmt-nix input (#6782)
Removing input until I have time to migrate usage to a dev flake for all the dev dependencies.
This commit is contained in:
parent
fefb6ae1b3
commit
760eed5959
4 changed files with 5 additions and 48 deletions
26
flake.nix
26
flake.nix
|
|
@ -1,20 +1,12 @@
|
|||
{
|
||||
description = "Home Manager for Nix";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
treefmt-nix = {
|
||||
url = "github:numtide/treefmt-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
treefmt-nix,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
|
@ -54,23 +46,9 @@
|
|||
// (
|
||||
let
|
||||
forAllSystems = nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed;
|
||||
|
||||
treefmtEval = forAllSystems (
|
||||
system:
|
||||
treefmt-nix.lib.evalModule nixpkgs.legacyPackages.${system} {
|
||||
# Formatting configuration
|
||||
programs = {
|
||||
nixfmt.enable = true;
|
||||
};
|
||||
}
|
||||
);
|
||||
in
|
||||
{
|
||||
checks = forAllSystems (system: {
|
||||
formatting = treefmtEval.${system}.config.build.check self;
|
||||
});
|
||||
|
||||
formatter = forAllSystems (system: treefmtEval.${system}.config.build.wrapper);
|
||||
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-tree);
|
||||
|
||||
packages = forAllSystems (
|
||||
system:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue