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 cedb320 commit 2e1c276Copy full SHA for 2e1c276
formatter/flake-module.nix
@@ -18,7 +18,7 @@
18
];
19
20
programs.mypy = {
21
- enable = pkgs.stdenv.buildPlatform.isLinux;
+ enable = pkgs.stdenv.buildPlatform.isUnix;
22
package = pkgs.buildbot.python.pkgs.mypy;
23
directories."." = {
24
modules = [
@@ -39,7 +39,7 @@
39
# the mypy module adds `./buildbot_nix/**/*.py` which does not appear to work
40
# furthermore, saying `directories.""` will lead to `/buildbot_nix/**/*.py` which
41
# is obviously incorrect...
42
- settings.formatter."mypy-" = lib.mkIf pkgs.stdenv.buildPlatform.isLinux {
+ settings.formatter."mypy-" = lib.mkIf pkgs.stdenv.buildPlatform.isUnix {
43
includes = [
44
"buildbot_nix/**/*.py"
45
"buildbot_effects/**/*.py"
0 commit comments