Resolving dependencies... Starting dlist-1.0 Starting hashable-1.3.1.0 Starting base-orphans-0.8.4 Starting base-compat-0.11.2 Building dlist-1.0 Building hashable-1.3.1.0 Building base-orphans-0.8.4 Building base-compat-0.11.2 Completed hashable-1.3.1.0 Starting indexed-traversable-0.1.1 Completed dlist-1.0 Starting integer-logarithms-1.0.3.1 Building indexed-traversable-0.1.1 Building integer-logarithms-1.0.3.1 Completed base-orphans-0.8.4 Starting primitive-0.7.1.0 Building primitive-0.7.1.0 Completed base-compat-0.11.2 Starting splitmix-0.1.0.3 Completed integer-logarithms-1.0.3.1 Starting tagged-0.8.6.1 Building splitmix-0.1.0.3 Building tagged-0.8.6.1 Completed indexed-traversable-0.1.1 Starting th-abstraction-0.4.2.0 Building th-abstraction-0.4.2.0 Completed splitmix-0.1.0.3 Starting transformers-compat-0.6.6 Building transformers-compat-0.6.6 Completed tagged-0.8.6.1 Starting unordered-containers-0.2.13.0 Building unordered-containers-0.2.13.0 Completed transformers-compat-0.6.6 Starting data-fix-0.3.1 Building data-fix-0.3.1 Completed th-abstraction-0.4.2.0 Starting time-compat-1.9.5 Building time-compat-1.9.5 Completed data-fix-0.3.1 Starting base-compat-batteries-0.11.2 Building base-compat-batteries-0.11.2 Completed primitive-0.7.1.0 Starting random-1.2.0 Completed time-compat-1.9.5 Starting distributive-0.6.2.1 Building random-1.2.0 Building distributive-0.6.2.1 Completed unordered-containers-0.2.13.0 Starting vector-0.12.2.0 Completed base-compat-batteries-0.11.2 Starting scientific-0.3.6.2 Building vector-0.12.2.0 Completed distributive-0.6.2.1 Starting comonad-5.0.8 Building scientific-0.3.6.2 Building comonad-5.0.8 Completed random-1.2.0 Starting uuid-types-1.0.4 Completed scientific-0.3.6.2 Building uuid-types-1.0.4 Starting attoparsec-0.13.2.5 Completed comonad-5.0.8 Starting bifunctors-5.5.10 Building attoparsec-0.13.2.5 Building bifunctors-5.5.10 Completed uuid-types-1.0.4 Completed attoparsec-0.13.2.5 Completed bifunctors-5.5.10 Starting assoc-1.0.2 Building assoc-1.0.2 Completed assoc-1.0.2 Starting these-1.1.1.1 Building these-1.1.1.1 Completed these-1.1.1.1 Starting strict-0.4.0.1 Building strict-0.4.0.1 Completed strict-0.4.0.1 Completed vector-0.12.2.0 Starting aeson-1.5.6.0 Building aeson-1.5.6.0 Completed aeson-1.5.6.0 Starting hruby-0.3.8.1 Failed to install hruby-0.3.8.1 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/hruby-0.3.8.1-I9oQmw9EQDNH469LVte4hm.log ): cabal: Entering directory '/tmp/cabal-tmp-16364/hruby-0.3.8.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-16364/hruby-0.3.8.1/dist/setup/setup.hs, /tmp/cabal-tmp-16364/hruby-0.3.8.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-16364/hruby-0.3.8.1/dist/setup/setup ... Configuring hruby-0.3.8.1... 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-16364/hruby-0.3.8.1' cabal: Error: some packages failed to install: hruby-0.3.8.1-I9oQmw9EQDNH469LVte4hm failed during the configure step. The exception was: ExitFailure 1