Commit 6cc7a295 authored by sven.panne@aedion.de's avatar sven.panne@aedion.de

Make DESTDIR work again

installPackage is a horror, using --force is probably not the perfect way
to make DESTDIR functionality work again, but given the current state of
affairs, I can't find a quick and clean solution.

MERGE TO STABLE
parent 2069911c
...@@ -85,7 +85,7 @@ doit destdir ipref ibindir ilibdir ilibexecdir idatadir idocdir ...@@ -85,7 +85,7 @@ doit destdir ipref ibindir ilibdir ilibexecdir idatadir idocdir
prog = ConfiguredProgram { prog = ConfiguredProgram {
programId = programName ghcPkgProgram, programId = programName ghcPkgProgram,
programVersion = Nothing, programVersion = Nothing,
programArgs = ["--global-conf", ghcpkgconf], programArgs = ["--force", "--global-conf", ghcpkgconf],
programLocation = UserSpecified ghcpkg programLocation = UserSpecified ghcpkg
} }
progs' = updateProgram prog progs progs' = updateProgram prog progs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment