We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38cf2f commit 70a9f27Copy full SHA for 70a9f27
treefmt/flake-module.nix
@@ -2,14 +2,14 @@
2
imports = [
3
inputs.treefmt-nix.flakeModule
4
];
5
- perSystem = { config, ... }: {
+ perSystem = { config, pkgs, ... }: {
6
treefmt = {
7
projectRootFile = "flake.nix";
8
programs.mdsh.enable = true;
9
programs.nixpkgs-fmt.enable = true;
10
programs.shellcheck.enable = true;
11
programs.shfmt.enable = true;
12
- programs.deno.enable = true;
+ programs.deno.enable = !pkgs.deno.meta.broken;
13
settings.formatter.shellcheck.options = [ "-s" "bash" ];
14
};
15
formatter = config.treefmt.build.wrapper;
0 commit comments