Skip to content

Commit 70a9f27

Browse files
committed
disable deno on darwin
1 parent f38cf2f commit 70a9f27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

treefmt/flake-module.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
imports = [
33
inputs.treefmt-nix.flakeModule
44
];
5-
perSystem = { config, ... }: {
5+
perSystem = { config, pkgs, ... }: {
66
treefmt = {
77
projectRootFile = "flake.nix";
88
programs.mdsh.enable = true;
99
programs.nixpkgs-fmt.enable = true;
1010
programs.shellcheck.enable = true;
1111
programs.shfmt.enable = true;
12-
programs.deno.enable = true;
12+
programs.deno.enable = !pkgs.deno.meta.broken;
1313
settings.formatter.shellcheck.options = [ "-s" "bash" ];
1414
};
1515
formatter = config.treefmt.build.wrapper;

0 commit comments

Comments
 (0)