aboutsummaryrefslogtreecommitdiff
path: root/nix/toolchain.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/toolchain.nix')
-rw-r--r--nix/toolchain.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/nix/toolchain.nix b/nix/toolchain.nix
index 7f5d89d3..079fcf13 100644
--- a/nix/toolchain.nix
+++ b/nix/toolchain.nix
@@ -6,19 +6,24 @@ with import ./common.nix;
let
platforms = [
- "x86_64-unknown-linux-musl"
+ #"x86_64-unknown-linux-musl"
"i686-unknown-linux-musl"
- "aarch64-unknown-linux-musl"
+ #"aarch64-unknown-linux-musl"
"armv6l-unknown-linux-musleabihf"
];
pkgsList = builtins.map (target: import pkgsSrc {
inherit system;
- crossSystem = { config = target; };
+ crossSystem = {
+ config = target;
+ isStatic = true;
+ };
+ 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
@@ -27,5 +32,6 @@ in
]) pkgsList) ++ [
kaniko
winscp
+ manifestTool
]