Choosing a different nodejs for armv5tel.

nodejs 0.12 doesn't build in armv5 or without fpu, it seems.
I tested this change on armv5tel, branch staging.
This commit is contained in:
Lluís Batlle i Rossell
2015-05-03 18:02:55 +02:00
parent 2352fce776
commit 9be8b790f8
2 changed files with 15 additions and 3 deletions

View File

@@ -2,6 +2,10 @@
, pkgconfig, runCommand, which, unstableVersion ? false
}:
# nodejs 0.12 can't be built on armv5tel. Armv6 with FPU, minimum I think.
# Related post: http://zo0ok.com/techfindings/archives/1820
assert stdenv.system != "armv5tel-linux";
let
dtrace = runCommand "dtrace-native" {} ''
mkdir -p $out/bin