Skip to content

Commit 51c6452

Browse files
authored
Merge pull request #131 from hollymlem/push-xwnnoupxqulu
checks/formatting: use stdenv.hostPlatform
2 parents 7927e8c + 0f4f349 commit 51c6452

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

checks/formatting.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
}:
55

66
pkgs.runCommand "formatting-check" { } ''
7-
${pkgs.lib.getExe self.formatter.${pkgs.system}} --no-cache --fail-on-change ${../.}
7+
${
8+
pkgs.lib.getExe self.formatter.${pkgs.stdenv.hostPlatform.system}
9+
} --no-cache --fail-on-change ${../.}
810
touch $out
911
''

0 commit comments

Comments
 (0)