Skip to content

Commit

Permalink
chore: remove treefmt
Browse files Browse the repository at this point in the history
  • Loading branch information
uonr committed Aug 11, 2024
1 parent 426115d commit 33a3e31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
23 changes: 1 addition & 22 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
napalm = {
url = "github:nix-community/napalm";
inputs.nixpkgs.follows = "nixpkgs";
Expand All @@ -31,7 +27,6 @@
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.devshell.flakeModule
inputs.treefmt-nix.flakeModule
];

systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
Expand Down Expand Up @@ -337,7 +332,6 @@
packages =
let
common = with pkgs; [
config.treefmt.build.wrapper
rustToolchain
nil
nodejs
Expand Down Expand Up @@ -376,15 +370,6 @@
}
];
};

treefmt = {
projectRootFile = "flake.nix";
programs = {
nixpkgs-fmt.enable = true;
rustfmt.enable = true;
prettier.enable = true;
};
};
};
};
}

0 comments on commit 33a3e31

Please sign in to comment.