You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No package revision found for: PackageName "ghc" #4572
I am not sure if the following would be considered to be a stack issue or not. It flows from haskell/haskell-ide-engine#1074
The Haskell IDE Engine (HIE) builds with stack 1.9.3 under GHC 8.6.2. Command stack --stack-yaml=stack-8.6.2.yaml ls dependencies includes in its output:
In trying to build with with stack --versionVersion 1.10.0, Git revision 48f4befb67860a24fc8c3310e6d55ace9fd35dfe (dirty) (6868 commits) x86_64 hpack-0.31.1, the command:
stack --stack-yaml=stack-8.6.2.yaml install
yields error:
No package revision found for: PackageName "ghc"
CallStack (from HasCallStack):
error, called at src/Stack\Build\ConstructPlan.hs:434:42 in stack-1.10.0-Gyq3czmxkWV9B1iWoXQn3F:Stack.Build.ConstructPlan
That reference to Stack.Build.ConstructPlan.hs leads to function getHackagePackageVersions.
My own assumption is that either (1) stack should 'know' that package ghc 'comes with' GHC, even if it is not on Hackage; or (2) that all versions of ghc that come with GHC ought to be on Hackage.
Hi @mpilgrem, try the current tip of the master branch — there was a PR last week which addressed how stack handles these packages@qrilka's PR branch (or master once it is merged).
Also from the version you've given, it looks like you've made changes. If this doesn't resolve the problem, please indicate what they are.
Activity
dbaynard commentedon Feb 6, 2019
Hi @mpilgrem, try
the current tip of the@qrilka's PR branch (ormasterbranch — there was a PR last week which addressed how stack handles these packagesmasteronce it is merged).Also from the version you've given, it looks like you've made changes. If this doesn't resolve the problem, please indicate what they are.
mpilgrem commentedon Feb 8, 2019
That resolved the problem.