+ progs = withPrograms lbi
+ prog = ConfiguredProgram {
+ programId = programName ghcPkgProgram,
+ programVersion = Nothing,
+ programArgs = ["--global-conf", ghcpkgconf],
+ programLocation = UserSpecified ghcpkg
+ }
+ progs' = updateProgram prog progs
+ i_reg = i { libSubdirTemplate = toPathTemplate "$pkgid" }
+ lbi_reg = lbi { installDirTemplates = i_reg,
+ withPrograms = progs' }