Skip to content

Commit 2e1c276

Browse files
committed
enable mypy on all unixes
1 parent cedb320 commit 2e1c276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

formatter/flake-module.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
];
1919

2020
programs.mypy = {
21-
enable = pkgs.stdenv.buildPlatform.isLinux;
21+
enable = pkgs.stdenv.buildPlatform.isUnix;
2222
package = pkgs.buildbot.python.pkgs.mypy;
2323
directories."." = {
2424
modules = [
@@ -39,7 +39,7 @@
3939
# the mypy module adds `./buildbot_nix/**/*.py` which does not appear to work
4040
# furthermore, saying `directories.""` will lead to `/buildbot_nix/**/*.py` which
4141
# is obviously incorrect...
42-
settings.formatter."mypy-" = lib.mkIf pkgs.stdenv.buildPlatform.isLinux {
42+
settings.formatter."mypy-" = lib.mkIf pkgs.stdenv.buildPlatform.isUnix {
4343
includes = [
4444
"buildbot_nix/**/*.py"
4545
"buildbot_effects/**/*.py"

0 commit comments

Comments
 (0)