Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
45babc87
Commit
45babc87
authored
Jul 01, 2018
by
Alexis Williams
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explain and fix missing case error
parent
34a1aee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
cabal-install/Distribution/Client/Targets.hs
cabal-install/Distribution/Client/Targets.hs
+8
-0
No files found.
cabal-install/Distribution/Client/Targets.hs
View file @
45babc87
...
...
@@ -455,6 +455,14 @@ readPackageTarget verbosity = traverse modifyLocation
error
"TODO: readPackageTarget RepoTarballPackage"
-- For repo tarballs this info should be obtained from the index.
RemoteSourceRepoPackage
_srcRepo
_
->
error
"TODO: readPackageTarget RemoteSourceRepoPackage"
-- This can't happen, because it would have errored out already
-- in fetchPackage, via fetchPackageTarget before it gets to this
-- function.
--
-- When that is corrected, this will also need to be fixed.
readTarballPackageTarget
location
tarballFile
tarballOriginalLoc
=
do
(
filename
,
content
)
<-
extractTarballPackageCabalFile
tarballFile
tarballOriginalLoc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment