aboutsummaryrefslogtreecommitdiff
path: root/nix/toolchain.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-08 23:21:00 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-08 23:21:00 +0100
commit57024a21290d6f29aac9d8df0fbe107663b3945e (patch)
tree02774aa9b727c89d99b364320b914ac89f97ee89 /nix/toolchain.nix
parent9e0b1dcf1c342d4efbf46c17ef179ba884b3aa5e (diff)
downloadgarage-57024a21290d6f29aac9d8df0fbe107663b3945e.tar.gz
garage-57024a21290d6f29aac9d8df0fbe107663b3945e.zip
[oxalica-toolchain-only] remove custom toolchains from toolchains.nix
Diffstat (limited to 'nix/toolchain.nix')
-rw-r--r--nix/toolchain.nix22
1 files changed, 1 insertions, 21 deletions
diff --git a/nix/toolchain.nix b/nix/toolchain.nix
index 532db74e..c4fef9ab 100644
--- a/nix/toolchain.nix
+++ b/nix/toolchain.nix
@@ -3,29 +3,9 @@
with import ./common.nix;
let
- platforms = [
- #"x86_64-unknown-linux-musl"
- "i686-unknown-linux-musl"
- #"aarch64-unknown-linux-musl"
- "armv6l-unknown-linux-musleabihf"
- ];
- pkgsList = builtins.map (target:
- import pkgsSrc {
- inherit system;
- 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
- pkgs.rustPlatform.rust.cargo
- pkgs.buildPackages.stdenv.cc
-]) pkgsList) ++ [ kaniko winscp manifestTool ]
+in [ kaniko winscp manifestTool ]