This repository was archived by the owner on Oct 15, 2022. It is now read-only.
File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 38
38
39
39
buildInputs = [
40
40
pkgs . cargo
41
- pkgs . rustPackages . clippy
42
41
pkgs . rustc
43
42
pkgs . rustfmt
44
43
pkgs . bashInteractive
45
44
pkgs . git
46
45
pkgs . direnv
47
46
pkgs . shellcheck
48
- pkgs . carnix
49
47
pkgs . nix-prefetch-git
50
- pkgs . nixpkgs-fmt
51
48
52
49
# To ensure we always have a compatible nix in our shells.
53
50
# Travis doesn’t know `nix-env` otherwise.
56
53
pkgs . darwin . Security
57
54
pkgs . darwin . apple_sdk . frameworks . CoreServices
58
55
pkgs . darwin . apple_sdk . frameworks . CoreFoundation
56
+ ] ++ pkgs . stdenv . lib . optionals ( ! pkgs . stdenv . isDarwin ) [
57
+ # Cachix is broken on macOS [1] and clippy is not built by Hydra [2].
58
+ # Building clippy and carnix on macOS in CI takes about 25 minutes, so we
59
+ # don't run lints (which require clippy) on macOS.
60
+ #
61
+ # [1] https://github.com/cachix/cachix/issues/228#issuecomment-533634704
62
+ # [2] https://github.com/NixOS/nixpkgs/issues/77358
63
+ pkgs . rustPackages . clippy
64
+ pkgs . carnix
65
+
66
+ # These other tools are also used only for linting, and are thus not
67
+ # required on macOS.
68
+ pkgs . nixpkgs-fmt
59
69
] ;
60
70
61
71
# we manually collect all build inputs,
You can’t perform that action at this time.
0 commit comments