aboutsummaryrefslogtreecommitdiff
path: root/nix/toolchain.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/toolchain.nix')
-rw-r--r--nix/toolchain.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nix/toolchain.nix b/nix/toolchain.nix
index 7f5d89d3..d6fe295a 100644
--- a/nix/toolchain.nix
+++ b/nix/toolchain.nix
@@ -14,18 +14,22 @@ let
pkgsList = builtins.map (target: import pkgsSrc {
inherit system;
crossSystem = { config = target; };
+ overlays = [ cargo2nixOverlay ];
}) platforms;
pkgsHost = import pkgsSrc {};
lib = pkgsHost.lib;
kaniko = (import ./kaniko.nix) pkgsHost;
winscp = (import ./winscp.nix) pkgsHost;
+ manifestTool = (import ./manifest-tool.nix) pkgsHost;
in
lib.flatten (builtins.map (pkgs: [
pkgs.rustPlatform.rust.rustc
pkgs.rustPlatform.rust.cargo
+ pkgs.clippy
pkgs.buildPackages.stdenv.cc
]) pkgsList) ++ [
kaniko
winscp
+ manifestTool
]