@@ -78,32 +78,4 @@ if ! type cabal >/dev/null 2>&1; then
78 nix-env --install cabal-install
78 nix-env --install cabal-install
81−if ! type nodejs >/dev/null 2>&1 && ! type node >/dev/null 2>&1; then
82− info "no nodejs found, trying to install it"
83− case ${THE_DISTRIBUTION_ID} in
85− curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
87− sudo apt-get install -y nodejs
90− curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
92− sudo apt-get install -y nodejs
95− if type brew > /dev/null 2>&1; then
98− curl "https://nodejs.org/dist/latest-v10.x/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest-v10.x/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest-v10.x.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest-v10.x.pkg" -target "/"
102− curl -sL https://rpm.nodesource.com/setup_10.x | sudo bash -
103− sudo yum install -y nodejs
109done_banner "Top level" "build prepare"
81done_banner "Top level" "build prepare"