One of the inputs declared is wget, needed as a fall-back when fetching BoostCompute should the Cmake checksums fail.
See the build log below:
-- Boost version: 1.60.0
-- BoostCompute...
-- getting
https://github.com/boostorg/compute/archive/v0.5.tar.gz-- validating /tmp/nix-build-arrayfire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz
CMake Warning at CMakeModules/build_boost_compute.cmake:47 (MESSAGE):
/tmp/nix-build-arrayfire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz:
Invalid check sum d41d8cd98f00b204e9800998ecf8427e. Expected was
69a52598ac539d3b7f6005a3dd2b6f58
Call Stack (most recent call first):
src/backend/opencl/CMakeLists.txt:91 (INCLUDE)
-- Trying wget
https://github.com/boostorg/compute/archive/v0.5.tar.gz--2016-03-18 17:38:55--
https://github.com/boostorg/compute/archive/v0.5.tar.gzResolving
github.com (
github.com)... failed: Name or service not known.
wget: unable to resolve host address ‘
github.com’
CMake Error at CMakeModules/build_boost_compute.cmake:53 (MESSAGE):
/tmp/nix-build-arrayfire-3.3.1.drv-0/build/third_party/compute-0.5.tar.gz:
Invalid check sum d41d8cd98f00b204e9800998ecf8427e. Expected was
69a52598ac539d3b7f6005a3dd2b6f58
Call Stack (most recent call first):
src/backend/opencl/CMakeLists.txt:91 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/tmp/nix-build-arrayfire-3.3.1.drv-0/build/CMakeFiles/CMakeOutput.log".
phase `configure' failed after 2.8 seconds
builder for `/gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv' failed with exit code 1
@ build-failed /gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv - 1 builder for `/gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/4ik93fkxrjy6acihzz5mzjcjkwc5va38-arrayfire-3.3.1.drv' failed
As you can see in the first part, fetching BoostCompute fails because the specified MD5 hash fails, and as a result, the build system falls back to fetching the same with wget (see second snippet).