mirror of
https://github.com/numtide/treefmt.git
synced 2024-07-14 20:20:29 +03:00
shell.nix: use the right dev shell
This commit is contained in:
parent
25f1ed63f4
commit
0b8e57c5e6
@ -1,2 +1,2 @@
|
||||
{ system ? builtins.currentSystem }:
|
||||
(import ./. { inherit system; }).treefmt
|
||||
(import ./. { inherit system; }).devShell
|
||||
|
@ -53,7 +53,7 @@ pub struct Cli {
|
||||
/// Run as if treefmt was started in <work-dir> instead of the current working directory.
|
||||
pub work_dir: PathBuf,
|
||||
|
||||
#[structopt(long = "tree-root")]
|
||||
#[structopt(long = "tree-root", env = "PRJ_ROOT")]
|
||||
/// Set the path to the tree root directory. Defaults to the folder holding the treefmt.toml file.
|
||||
pub tree_root: Option<PathBuf>,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user