Skip to content

Instantly share code, notes, and snippets.

@dmalikov
Created October 18, 2014 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmalikov/38794149b7670f44a252 to your computer and use it in GitHub Desktop.
Save dmalikov/38794149b7670f44a252 to your computer and use it in GitHub Desktop.
nix-shell failure because of cabal warning
>> nix-shell -p myHaskellPackages.dotfiles
these derivations will be built:
/nix/store/7rq3fqv0ia687v70bhxb609fnid340wl-dotfiles-9999.drv
building path(s) `/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999'
building /nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999
unpacking sources
unpacking source archive /nix/store/g761dl7mirwfcawgw4hpknmz2gcd6hcd-biegunka
source root is biegunka
patching sources
configuring
[1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /tmp/nix-build-dotfiles-9999.drv-0/Main.o )
Linking Setup ...
configure flags: --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests --ghc-option=-optl=-Wl,-rpath=/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999/lib/ghc-7.8.3/dotfiles-9999 --ghc-option=-j1
Configuring dotfiles-9999...
Dependency base >=4.6: using base-4.7.0.1
Dependency biegunka >=0.2: using biegunka-0.2
Dependency data-default >=0.5.0: using data-default-0.5.3
Dependency lens >=3.9: using lens-4.4.0.2
Dependency optparse-applicative >=0.5.2: using optparse-applicative-0.11.0.1
Dependency regex-pcre-builtin >=0.94.4.7.8.31: using
regex-pcre-builtin-0.94.4.8.8.35
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package biegunka-0.2 requires optparse-applicative-0.10.0
package dotfiles-9999 requires optparse-applicative-0.11.0.1
/nix/store/xbxwhrir23gdjk7hb3qrdqg0bdwc8pml-ghc-7.8.3-wrapper/bin/ghc --info
Using Cabal-1.18.1.3 compiled by ghc-7.8
Using compiler: ghc-7.8.3
Using install prefix:
/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999
Binaries installed in:
/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999/bin
Libraries installed in:
/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999/lib/ghc-7.8.3/dotfiles-9999
Private binaries installed in:
/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999/libexec
Data files installed in:
/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999/share/x86_64-linux-ghc-7.8.3/dotfiles-9999
Documentation installed in:
/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999/share/doc/x86_64-linux-ghc-7.8.3/dotfiles-9999
Configuration files installed in:
/nix/store/c0k5926bn1gsvwfln6ahncx0awihgb13-dotfiles-9999/etc
No alex found
Using ar found on system at:
/nix/store/ycmsiznf2484vbjwmj57jdy2ncyrj7fj-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.3 found on system at:
/nix/store/12k2cnlgppwzgwar7ipzpr9i6pv27rl0-gcc-wrapper-4.8.3/bin/gcc
Using ghc version 7.8.3 found on system at:
/nix/store/xbxwhrir23gdjk7hb3qrdqg0bdwc8pml-ghc-7.8.3-wrapper/bin/ghc
Using ghc-pkg version 7.8.3 found on system at:
/nix/store/xbxwhrir23gdjk7hb3qrdqg0bdwc8pml-ghc-7.8.3-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.14.3 found on system at:
/nix/store/9pbnc92aal7w3r5yi0scbnkkg8qqvxsc-ghc-7.8.3/bin/haddock
No happy found
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/xbxwhrir23gdjk7hb3qrdqg0bdwc8pml-ghc-7.8.3-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/xbxwhrir23gdjk7hb3qrdqg0bdwc8pml-ghc-7.8.3-wrapper/bin/hsc2hs
Using hscolour version 1.20 found on system at:
/nix/store/sxidv4x329d2sigk35mib90lsh37anwj-haskell-hscolour-ghc7.8.3-1.20.3-shared/bin/HsColour
No hugs found
No jhc found
Using ld found on system at:
/nix/store/12k2cnlgppwzgwar7ipzpr9i6pv27rl0-gcc-wrapper-4.8.3/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/ycmsiznf2484vbjwmj57jdy2ncyrj7fj-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/ycmsiznf2484vbjwmj57jdy2ncyrj7fj-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/vjkl65bpzl39nfskl31x43x4bwipfqg3-gnutar-1.27.1/bin/tar
No uhc found
*** abort because of serious configure-time warning from Cabal
builder for `/nix/store/7rq3fqv0ia687v70bhxb609fnid340wl-dotfiles-9999.drv' failed with exit code 1
error: build of `/nix/store/7rq3fqv0ia687v70bhxb609fnid340wl-dotfiles-9999.drv' failed
/home/m/.nix-profile/bin/nix-shell: failed to build all dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment