Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
32bdc993
Commit
32bdc993
authored
Oct 02, 2016
by
Edward Z. Yang
Committed by
GitHub
Oct 02, 2016
Browse files
Merge pull request #3925 from ezyang/pr/ghc-8.1-eta-expand
GHC 8.1 compatibility fixes.
parents
a98576fb
effb4ea6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/Utils.hs
View file @
32bdc993
...
...
@@ -1073,24 +1073,24 @@ copyFilesWith doCopy verbosity targetDir srcFiles = withFrozenCallStack $ do
-- anything goes wrong.
--
copyFiles
::
Verbosity
->
FilePath
->
[(
FilePath
,
FilePath
)]
->
IO
()
copyFiles
=
withFrozenCallStack
.
copyFilesWith
copyFileVerbose
copyFiles
v
fp
fs
=
withFrozenCallStack
(
copyFilesWith
copyFileVerbose
v
fp
fs
)
-- | This is like 'copyFiles' but uses 'installOrdinaryFile'.
--
installOrdinaryFiles
::
Verbosity
->
FilePath
->
[(
FilePath
,
FilePath
)]
->
IO
()
installOrdinaryFiles
=
withFrozenCallStack
.
copyFilesWith
installOrdinaryFile
installOrdinaryFiles
v
fp
fs
=
withFrozenCallStack
(
copyFilesWith
installOrdinaryFile
v
fp
fs
)
-- | This is like 'copyFiles' but uses 'installExecutableFile'.
--
installExecutableFiles
::
Verbosity
->
FilePath
->
[(
FilePath
,
FilePath
)]
->
IO
()
installExecutableFiles
=
withFrozenCallStack
.
copyFilesWith
installExecutableFile
installExecutableFiles
v
fp
fs
=
withFrozenCallStack
(
copyFilesWith
installExecutableFile
v
fp
fs
)
-- | This is like 'copyFiles' but uses 'installMaybeExecutableFile'.
--
installMaybeExecutableFiles
::
Verbosity
->
FilePath
->
[(
FilePath
,
FilePath
)]
->
IO
()
installMaybeExecutableFiles
=
withFrozenCallStack
.
copyFilesWith
installMaybeExecutableFile
installMaybeExecutableFiles
v
fp
fs
=
withFrozenCallStack
(
copyFilesWith
installMaybeExecutableFile
v
fp
fs
)
-- | This installs all the files in a directory to a target location,
-- preserving the directory layout. All the files are assumed to be ordinary
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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