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

build fails with stack-2.1 #168

Open
juhp opened this issue Jun 17, 2019 · 1 comment
Open

build fails with stack-2.1 #168

juhp opened this issue Jun 17, 2019 · 1 comment
Labels

Comments

@juhp
Copy link

juhp commented Jun 17, 2019

stack-2.1.1 was released on Hackage.

Building library for stack2nix-0.2.3..
[ 1 of 11] Compiling Paths_stack2nix  ( dist/build/autogen/Paths_stack2nix.hs, dist/build/Paths_stack2nix.o )
[ 2 of 11] Compiling Stack2nix.External.Util ( src/Stack2nix/External/Util.hs, dist/build/Stack2nix/External/Util.o )
[ 3 of 11] Compiling Stack2nix.External.VCS.Git ( src/Stack2nix/External/VCS/Git.hs, dist/build/Stack2nix/External/VCS/Git.o )
[ 4 of 11] Compiling Stack2nix.Hackage ( src/Stack2nix/Hackage.hs, dist/build/Stack2nix/Hackage.o )
[ 5 of 11] Compiling Stack2nix.PP     ( src/Stack2nix/PP.hs, dist/build/Stack2nix/PP.o )
[ 6 of 11] Compiling Stack2nix.Types  ( src/Stack2nix/Types.hs, dist/build/Stack2nix/Types.o )
[ 7 of 11] Compiling Stack2nix.Render ( src/Stack2nix/Render.hs, dist/build/Stack2nix/Render.o )
[ 8 of 11] Compiling Stack2nix.External.Cabal2nix ( src/Stack2nix/External/Cabal2nix.hs, dist/build/Stack2nix/External/Cabal2nix.o )
[ 9 of 11] Compiling Stack2nix.Util   ( src/Stack2nix/Util.hs, dist/build/Stack2nix/Util.o )
[10 of 11] Compiling Stack2nix.External.Stack ( src/Stack2nix/External/Stack.hs, dist/build/Stack2nix/External/Stack.o )

src/Stack2nix/External/Stack.hs:22:66: error:
    Module ‘Stack.Build.Source’ does not export ‘getGhcOptions’
   |
22 | import           Stack.Build.Source                             (getGhcOptions, loadSourceMapFull)
   |                                                                  ^^^^^^^^^^^^^

src/Stack2nix/External/Stack.hs:22:81: error:
    Module ‘Stack.Build.Source’ does not export ‘loadSourceMapFull’
   |
22 | import           Stack.Build.Source                             (getGhcOptions, loadSourceMapFull)
   |                                                                                 ^^^^^^^^^^^^^^^^^

src/Stack2nix/External/Stack.hs:30:66: error:
    Module ‘Stack.Runners’ does not export ‘loadCompilerVersion’
   |
30 | import           Stack.Runners                                  (loadCompilerVersion,
   |                                                                  ^^^^^^^^^^^^^^^^^^^

src/Stack2nix/External/Stack.hs:32:1: error:
    Could not find module ‘Stack.Types.BuildPlan’
    Perhaps you meant Stack.Types.Build (from stack-2.1.1.1)
    Use -v to see a list of the files searched for.
   |
32 | import           Stack.Types.BuildPlan                          (PackageLocation (..),
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Stack2nix/External/Stack.hs:37:1: error:
    Could not find module ‘Stack.Types.FlagName’
    Perhaps you meant
      Stack.Types.Package (from stack-2.1.1.1)
      Stack.Types.PackageName (from stack-2.1.1.1)
    Use -v to see a list of the files searched for.
   |
37 | import           Stack.Types.FlagName                           (toCabalFlagName)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Stack2nix/External/Stack.hs:40:66: error:
    Module ‘Stack.Types.Package’ does not export ‘lpLocation’
   |
40 |                                                                  lpLocation,
   |                                                                  ^^^^^^^^^^

src/Stack2nix/External/Stack.hs:45:1: error:
    Could not find module ‘Stack.Types.PackageIdentifier’
    Use -v to see a list of the files searched for.
   |
45 | import           Stack.Types.PackageIdentifier                  (PackageIdentifier (..),
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

src/Stack2nix/External/Stack.hs:48:66: error:
    Module ‘Stack.Types.PackageName’ does not export ‘PackageName’
   |
48 | import           Stack.Types.PackageName                        (PackageName, parsePackageName)
   |                                                                  ^^^^^^^^^^^

src/Stack2nix/External/Stack.hs:48:79: error:
    Module ‘Stack.Types.PackageName’ does not export ‘parsePackageName’
   |
48 | import           Stack.Types.PackageName                        (PackageName, parsePackageName)
   |                                                                               ^^^^^^^^^^^^^^^^

src/Stack2nix/External/Stack.hs:49:1: error:
    Could not find module ‘Stack.Types.Runner’
    Perhaps you meant
      Stack.Types.Docker (from stack-2.1.1.1)
      Stack.Types.Build (from stack-2.1.1.1)
      Stack.Types.Cache
    Use -v to see a list of the files searched for.
   |
49 | import           Stack.Types.Runner
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@domenkozar
Copy link
Contributor

See #140

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

No branches or pull requests

2 participants