We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7927e8c + 0f4f349 commit 51c6452Copy full SHA for 51c6452
checks/formatting.nix
@@ -4,6 +4,8 @@
4
}:
5
6
pkgs.runCommand "formatting-check" { } ''
7
- ${pkgs.lib.getExe self.formatter.${pkgs.system}} --no-cache --fail-on-change ${../.}
+ ${
8
+ pkgs.lib.getExe self.formatter.${pkgs.stdenv.hostPlatform.system}
9
+ } --no-cache --fail-on-change ${../.}
10
touch $out
11
''
0 commit comments