+ progs = withPrograms lbi
+ prog = ConfiguredProgram {
+ programId = programName ghcPkgProgram,
+ programVersion = Nothing,
+ programArgs = ["--force", "--global-conf", ghcpkgconf],
+ programLocation = UserSpecified ghcpkg
+ }
+ progs' = updateProgram prog progs
+ i_reg = i { prefixDirTemplate = toPathTemplate iprefix,
+ binDirTemplate = toPathTemplate ibindir,
+ libDirTemplate = toPathTemplate ilibdir,
+ libexecDirTemplate = toPathTemplate ilibexecdir,
+ dataDirTemplate = toPathTemplate idatadir,
+ docDirTemplate = toPathTemplate idocdir,
+ htmlDirTemplate = toPathTemplate ihtmldir
+ }
+ lbi_reg = lbi { installDirTemplates = i_reg,
+ withPrograms = progs' }