mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
flake-modules: drop flake-root
treefmt isn't actually using flake-root to find the flake's root; it does it itself. All we were doing was passing flake-root's default `projectRootFile` to treefmt, which is `"flake.nix"`;
This commit is contained in:
parent
77d4e909f8
commit
ec78d2e1ab
4 changed files with 1 additions and 20 deletions
|
@ -12,7 +12,7 @@
|
|||
formatter = config.treefmt.build.wrapper;
|
||||
|
||||
treefmt.config = {
|
||||
inherit (config.flake-root) projectRootFile;
|
||||
projectRootFile = "flake.nix";
|
||||
package = pkgs.treefmt;
|
||||
|
||||
programs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue