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
GHC
Commits
e081b081
Commit
e081b081
authored
Dec 16, 2016
by
Andrey Mokhov
Browse files
Fix paths in inplace-pkg-config files
parent
6552aff7
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Rules/Data.hs
View file @
e081b081
...
...
@@ -47,10 +47,8 @@ buildPackageData context@Context {..} = do
.
replace
"rts/dist/build"
rtsBuildPath
.
replace
"includes/dist-derivedconstants/header"
generatedPath
)
.
lines
else
do
top
<-
topDirectory
let
oldPath
=
top
-/-
path
</>
"build"
fixFile
conf
$
unlines
.
map
(
replace
oldPath
path
)
.
lines
else
fixFile
conf
$
unlines
.
map
(
replace
(
path
</>
"build"
)
path
)
.
lines
priority
2.0
$
when
(
nonCabalContext
context
)
$
dataFile
%>
generatePackageData
context
...
...
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