Resolving dependencies... Configuring dlist-0.8.0.2... Configuring base-compat-0.9.1... Building dlist-0.8.0.2... Building base-compat-0.9.1... Configuring stm-2.4.4.1... Installed dlist-0.8.0.2 Building stm-2.4.4.1... Configuring primitive-0.6.1.0... Installed base-compat-0.9.1 Building primitive-0.6.1.0... Configuring time-locale-compat-0.1.1.3... Installed stm-2.4.4.1 Building time-locale-compat-0.1.1.3... Configuring text-1.2.2.1... Installed time-locale-compat-0.1.1.3 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed primitive-0.6.1.0 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring tagged-0.8.5... Building tagged-0.8.5... Configuring vector-0.11.0.0... Installed tagged-0.8.5 Building vector-0.11.0.0... Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Installed unordered-containers-0.2.7.1 Installed vector-0.11.0.0 Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed aeson-1.0.2.1 Configuring hruby-0.3.4... Failed to install hruby-0.3.4 Build log ( /home/builder/.cabal/logs/hruby-0.3.4.log ): cabal: Entering directory '/tmp/cabal-tmp-24885/hruby-0.3.4' [1 of 1] Compiling Main ( /tmp/cabal-tmp-24885/hruby-0.3.4/dist/setup/setup.hs, /tmp/cabal-tmp-24885/hruby-0.3.4/dist/setup/Main.o ) Linking /tmp/cabal-tmp-24885/hruby-0.3.4/dist/setup/setup ... Configuring hruby-0.3.4... 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 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 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-24885/hruby-0.3.4' cabal: Error: some packages failed to install: hruby-0.3.4 failed during the configure step. The exception was: ExitFailure 1