Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
e1c7b4d0
Commit
e1c7b4d0
authored
Jun 19, 2018
by
Alexis Williams
Browse files
Fix mystery errors. No idea how I managed to build this earlier.
parent
e60fdc12
Changes
2
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/CmdSdist.hs
View file @
e1c7b4d0
...
...
@@ -211,7 +211,7 @@ packageToSdist verbosity listSources archiveFormat outputFile pkg = do
entries
<-
execWriterT
(
evalStateT
entriesM
[]
)
write
.
GZip
.
compress
.
Tar
.
write
$
entries
notice
verbosity
$
"Wrote tarball sdist to "
++
output
Path
++
"
\n
"
notice
verbosity
$
"Wrote tarball sdist to "
++
output
File
++
"
\n
"
|
archiveFormat
==
ZipFormat
->
die'
verbosity
"'.zip' sdists are not yet supported."
...
...
cabal-install/Distribution/Client/DistDirLayout.hs
View file @
e1c7b4d0
...
...
@@ -26,7 +26,7 @@ import Data.Maybe (fromMaybe)
import
System.FilePath
import
Distribution.Package
(
PackageId
(
..
)
,
ComponentId
,
UnitId
)
(
PackageId
,
ComponentId
,
UnitId
)
import
Distribution.Client.Setup
(
ArchiveFormat
(
..
)
)
import
Distribution.Compiler
...
...
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