Skip to content

Commit

Permalink
Account for .buildinfo in repl when build-type: Configure
Browse files Browse the repository at this point in the history
In `autoconfUserHooks` we were not updating the `preRepl` hook to read
additional build information from /package/@.buildinfo@.

Fixes #9401
  • Loading branch information
alt-romes committed Dec 18, 2023
1 parent 1157461 commit 5ca99a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cabal/src/Distribution/Simple.hs
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ autoconfUserHooks =
simpleUserHooks
{ postConf = defaultPostConf
, preBuild = readHookWithArgs buildVerbosity buildDistPref -- buildCabalFilePath,
, preRepl = readHookWithArgs replVerbosity replDistPref
, preCopy = readHookWithArgs copyVerbosity copyDistPref
, preClean = readHook cleanVerbosity cleanDistPref
, preInst = readHook installVerbosity installDistPref
Expand Down

0 comments on commit 5ca99a1

Please sign in to comment.