add aarch64 platforms
let
SYSTEMS = [
- "x86_64-linux"
+ "aarch64-darwin"
+ "aarch64-linux"
"x86_64-darwin"
+ "x86_64-linux"
];
RUST_CHANNELS = readRustChannels [
}).cargoHome;
# Additional packages required for some systems to build Nickel
- missingSysPkgs = { system, pkgs }:
- if system == "x86_64-darwin" then
+ missingSysPkgs = { pkgs }:
+ if pkgs.stdenv.isDarwin then
[
pkgs.darwin.apple_sdk.frameworks.Security
pkgs.darwin.libiconv
name = "nickel-${version}";
buildInputs = [ rust ]
- ++ missingSysPkgs {inherit system pkgs;} ++ (
+ ++ missingSysPkgs {inherit pkgs;} ++ (
if isShell then
[ pkgs.nodePackages.makam ]
else
pkgs.binaryen
cargoHome
]
- ++ missingSysPkgs {inherit system pkgs;};
+ ++ missingSysPkgs {inherit pkgs;};
nativeBuildInputs = [pkgs.jq];
