From 4f07c88d467216d9692fefc951deb5cd3c4cc722 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Fri, 23 Oct 2015 14:35:04 -0400 Subject: [PATCH] v8-4.5.x: add support for ARM --- pkgs/development/libraries/v8/4.5.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/v8/4.5.nix b/pkgs/development/libraries/v8/4.5.nix index d32a3d02d9e..95ff225c059 100644 --- a/pkgs/development/libraries/v8/4.5.nix +++ b/pkgs/development/libraries/v8/4.5.nix @@ -6,7 +6,13 @@ assert readline != null; let - arch = if stdenv.is64bit then "x64" else "ia32"; + arch = if stdenv.isArm + then if stdenv.is64bit + then"arm64" + else "arm" + else if stdenv.is64bit + then"x64" + else "ia32"; git_url = "https://chromium.googlesource.com"; clangFlag = if stdenv.isDarwin then "1" else "0";