Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack2nix fails to install #140

Open
idontgetoutmuch opened this issue Oct 18, 2018 · 3 comments
Open

stack2nix fails to install #140

idontgetoutmuch opened this issue Oct 18, 2018 · 3 comments

Comments

@idontgetoutmuch
Copy link

idontgetoutmuch commented Oct 18, 2018

Using nix-env -I stack2nix gives

Warning:
    This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure.
      package stack (stack-1.7.1-pJfC6X4Hzp7NYWygtKpAw) requires hpack-0.28.2-5C48rme3rI462RA6p5ZhXX
      package cabal2nix (cabal2nix-2.11.1-FxtX5VxTN3F1UnbxqHDdYV) requires hpack-0.31.0-6cF2JH9jb5S96X9qvVeFfm
      package hpack (hpack-0.31.0-6cF2JH9jb5S96X9qvVeFfm) requires yaml-0.10.2.0-Llvjvkr9Tnh24jnXPkncPi
      package cabal2nix (cabal2nix-2.11.1-FxtX5VxTN3F1UnbxqHDdYV) requires yaml-0.10.2.0-Llvjvkr9Tnh24jnXPkncPi
      package stack (stack-1.7.1-pJfC6X4Hzp7NYWygtKpAw) requires yaml-0.8.32-Fg1UtlvWJKqJYpoJmcs6py
      package hpack (hpack-0.28.2-5C48rme3rI462RA6p5ZhXX) requires yaml-0.8.32-Fg1UtlvWJKqJYpoJmcs6py
Using Cabal-2.2.0.1 compiled by ghc-8.4
Using compiler: ghc-8.4.3
Using install prefix:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1
Executables installed in:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1/bin
Libraries installed in:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1/lib/ghc-8.4.3/x86_64-osx-ghc-8.4.3/stack2nix-0.2.1-6tXcBtbIslPIKMqxFJP6Ti
Dynamic Libraries installed in:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1/lib/ghc-8.4.3/x86_64-osx-ghc-8.4.3
Private executables installed in:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1/libexec/x86_64-osx-ghc-8.4.3/stack2nix-0.2.1
Data files installed in:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1/share/x86_64-osx-ghc-8.4.3/stack2nix-0.2.1
Documentation installed in:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1/share/doc/x86_64-osx-ghc-8.4.3/stack2nix-0.2.1
Configuration files installed in:
/nix/store/p8b4n47gx7zsm95gly32axdx31jk0fpg-stack2nix-0.2.1/etc
No alex found
Using ar found on system at:
/nix/store/4w56qihlrddav67p7d1vy5qkyayaqw11-cctools-binutils-darwin/bin/ar
No c2hs found
Using cpphs version 1.20.8 found on system at:
/nix/store/v1ir82sxqpwqjwk0jdk3y6mx53c9cs79-cpphs-1.20.8/bin/cpphs
No doctest found
Using gcc version 4.2.1 given by user at:
/nix/store/802bwds6571rvgpr2gnkc6wy1bl47p9l-clang-wrapper-5.0.2/bin/clang
Using ghc version 8.4.3 found on system at:
/nix/store/lr9s1fwapid7fn6bysh091wvr8sgzcma-ghc-8.4.3/bin/ghc
Using ghc-pkg version 8.4.3 found on system at:
/nix/store/lr9s1fwapid7fn6bysh091wvr8sgzcma-ghc-8.4.3/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.20.0 found on system at:
/nix/store/lr9s1fwapid7fn6bysh091wvr8sgzcma-ghc-8.4.3/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/lr9s1fwapid7fn6bysh091wvr8sgzcma-ghc-8.4.3/bin/hpc
Using hsc2hs version 0.68.3 found on system at:
/nix/store/lr9s1fwapid7fn6bysh091wvr8sgzcma-ghc-8.4.3/bin/hsc2hs
No hscolour found
No jhc found
Using ld found on system at:
/nix/store/ky61xm4xhialdbf2mbjlv8njdcz4x4vh-cctools-binutils-darwin-wrapper/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using runghc version 8.4.3 found on system at:
/nix/store/lr9s1fwapid7fn6bysh091wvr8sgzcma-ghc-8.4.3/bin/runghc
Using strip found on system at:
/nix/store/4w56qihlrddav67p7d1vy5qkyayaqw11-cctools-binutils-darwin/bin/strip
Using tar found on system at:
/nix/store/a547r2gzgrdwywdl1mfzj12zch338cnp-gnutar-1.30/bin/tar
No uhc found
*** abort because of serious configure-time warning from Cabal
builder for '/nix/store/09468xd2k4ppng0vnr1wyxz8fpiwnbfm-stack2nix-0.2.1.drv' failed with exit code 1
@domenkozar
Copy link
Contributor

Installed from nixpkgs?

@srghma
Copy link
Contributor

srghma commented Jul 31, 2019

related
#168
NixOS/nixpkgs#63691

@domenkozar
Copy link
Contributor

I'm going to deprecate maintenance of stack2nix in favor of https://github.com/input-output-hk/haskell.nix

If anyone wants to pick this up, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants