input-output-hk / input-output-hk/stack2nix

build fails with stack-2.1

Open
#168 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Nix
Stars
100
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.