1
0
Fork 0
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:
Austin Horstman 2025-04-08 11:52:13 -07:00 committed by GitHub
parent fefb6ae1b3
commit 760eed5959
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 48 deletions

View file

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