Resolving dependencies... Configuring dlist-0.8.0.5... Configuring base-compat-0.10.4... Building dlist-0.8.0.5... Building base-compat-0.10.4... Installed dlist-0.8.0.5 Configuring hashable-1.2.7.0... Building hashable-1.2.7.0... Installed hashable-1.2.7.0 Configuring integer-logarithms-1.0.2.2... Installed base-compat-0.10.4 Configuring primitive-0.6.4.0... Building integer-logarithms-1.0.2.2... Building primitive-0.6.4.0... Installed integer-logarithms-1.0.2.2 Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring stm-2.5.0.0... Building stm-2.5.0.0... Installed stm-2.5.0.0 Configuring tagged-0.8.6... Building tagged-0.8.6... Installed tagged-0.8.6 Configuring th-abstraction-0.2.8.0... Installed primitive-0.6.4.0 Configuring time-locale-compat-0.1.1.5... Building th-abstraction-0.2.8.0... Building time-locale-compat-0.1.1.5... Installed time-locale-compat-0.1.1.5 Configuring unordered-containers-0.2.9.0... Building unordered-containers-0.2.9.0... Installed th-abstraction-0.2.8.0 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Installed uuid-types-1.0.3 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed unordered-containers-0.2.9.0 Configuring scientific-0.3.6.2... Building scientific-0.3.6.2... Installed scientific-0.3.6.2 Configuring attoparsec-0.13.2.2... Building attoparsec-0.13.2.2... Installed attoparsec-0.13.2.2 Installed vector-0.12.0.1 Configuring aeson-1.4.1.0... Building aeson-1.4.1.0... Installed aeson-1.4.1.0 Configuring hruby-0.3.6... Failed to install hruby-0.3.6 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/hruby-0.3.6-CIzOlUxMXKMKkTlC1JGFDz.log ): cabal: Entering directory '/tmp/cabal-tmp-6629/hruby-0.3.6' [1 of 1] Compiling Main ( /tmp/cabal-tmp-6629/hruby-0.3.6/dist/setup/setup.hs, /tmp/cabal-tmp-6629/hruby-0.3.6/dist/setup/Main.o ) Linking /tmp/cabal-tmp-6629/hruby-0.3.6/dist/setup/setup ... Configuring hruby-0.3.6... Warning: Could not find the ruby library. Ensure that it is present on your system (on Debian/Ubuntu, make sure you installed the ruby1.8-dev package). If you know it to be installed, please install hruby in the following way (example for nix): $ cabal install hruby -p --configure-option="--rubyversion=19 --rubylib=ruby --rubyinc=/nix/store/v0w14mdpcy9c0qwvhqa7154qsv53ifqn-ruby-1.9.3-p484/include/ruby-1.9.1 --rubyinc=/nix/store/v0w14mdpcy9c0qwvhqa7154qsv53ifqn-ruby-1.9.3-p484/include/ruby-1.9.1/x86_64-linux' --extra-lib-dirs=$HOME/.nix-profile/lib/" --rubylib : Should be the name of the library passed to the linker (ruby for libruby.so). --rubyinc : There can be several instances of this flag. Should be the path of the various ruby header files. --rubyversion : Mandatory for ruby 2.0 and 2.1, should have the values 20 or 21. setup: Missing dependency on a foreign library: * Missing (or bad) header file: ruby.h * Missing (or bad) C library: ruby This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-6629/hruby-0.3.6' cabal: Error: some packages failed to install: hruby-0.3.6-CIzOlUxMXKMKkTlC1JGFDz failed during the configure step. The exception was: ExitFailure 1